Changeset 523 for XIOS/trunk/src/cxios.cpp
- Timestamp:
- 12/01/14 16:21:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.cpp
r512 r523 25 25 double CXios::bufferServerFactorSize=1.0 ; 26 26 double CXios::defaultBufferServerFactorSize=1.0 ; 27 bool CXios::printInfo2File; 28 bool CXios::isServerSide; 27 bool CXios::printLogs2Files; 29 28 bool CXios::isOptPerformance = true; 30 29 … … 47 46 info.setLevel(getin<int>("info_level",0)) ; 48 47 report.setLevel(getin<int>("info_level",50)); 49 print Info2File=getin<bool>("print_file",false);48 printLogs2Files=getin<bool>("print_file",false); 50 49 51 50 StdString bufMemory("memory"); … … 77 76 CClient::initialize(codeId,localComm,returnComm) ; 78 77 79 if (usingServer) isServer Side = isServer=false;80 else isServer Side = isServer=true;78 if (usingServer) isServer=false; 79 else isServer=true; 81 80 82 if (printInfo2File) 81 if (printLogs2Files) 82 { 83 83 CClient::openInfoStream(clientFile); 84 CClient::openErrorStream(clientFile); 85 } 84 86 else 87 { 85 88 CClient::openInfoStream(); 89 CClient::openErrorStream(); 90 } 86 91 } 87 92 … … 114 119 isServer=false ; 115 120 116 isServerSide = true;117 118 121 // Initialize all aspects MPI 119 122 CServer::initialize(); 120 123 121 if (printInfo2File) 124 if (printLogs2Files) 125 { 122 126 CServer::openInfoStream(serverFile); 127 CServer::openErrorStream(serverFile); 128 } 123 129 else 130 { 124 131 CServer::openInfoStream(); 132 CServer::openErrorStream(); 133 } 125 134 126 135 // Enter the loop to listen message from Client
Note: See TracChangeset
for help on using the changeset viewer.