Changeset 956
- Timestamp:
- 09/30/16 15:28:00 (7 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.cpp
r719 r956 77 77 initialize() ; 78 78 79 isClient =true;79 isClient = true; 80 80 81 81 CClient::initialize(codeId,localComm,returnComm) ; 82 82 if (CClient::getRank()==0) globalRegistry = new CRegistry(returnComm) ; 83 83 84 if (usingServer) isServer=false; 85 else isServer=true; 84 // If there are no server processes then we are in attached mode 85 // and the clients are also servers 86 isServer = !usingServer; 86 87 87 88 if (printLogs2Files) … … 129 130 { 130 131 initServer(); 131 isClient =true;132 isServer =false;132 isClient = false; 133 isServer = true; 133 134 134 135 // Initialize all aspects MPI -
XIOS/trunk/src/server.cpp
r925 r956 185 185 contextEventLoop() ; 186 186 if (finished && contextList.empty()) stop=true ; 187 if (! CXios::isServer)eventScheduler->checkEvent() ;187 eventScheduler->checkEvent() ; 188 188 } 189 189 CTimer::get("XIOS server").suspend() ;
Note: See TracChangeset
for help on using the changeset viewer.