61 Pstream::initCommunicationSchedule();
70 if(
env(
"FREEFOAM_PSTREAM_CONFIG"))
72 return getEnv(
"FREEFOAM_PSTREAM_CONFIG");
92 if(!instance_.valid())
97 instance_ = loadPstreamInstance<PstreamImpl>
100 "FREEFOAM_PSTREAM_CLASS",
101 dictionaryConstructorTablePtr_
109 static bool didLoad =
false;
114 if(
env(
"FREEFOAM_PSTREAM_LIBRARY"))
116 PstreamLibName =
getEnv(
"FREEFOAM_PSTREAM_LIBRARY");
124 !configName.empty() &&
136 if(!PstreamLibName.empty())
138 if(PstreamImpl::debug)
140 Info<<
"Trying to load Pstream library '" << PstreamLibName <<
"'" <<
endl;
147 "PstreamImpl::loadPstreamLibrary()"
148 ) <<
"Failed to load the library '" << PstreamLibName <<
"'" <<
endl
154 if(PstreamImpl::debug)
158 "PstreamImpl::loadPstreamLibrary()"
159 ) <<
"No Pstream library specified to load" <<
endl;