Changeset 1519
- Timestamp:
- 06/04/18 10:43:19 (6 years ago)
- Location:
- XIOS/dev/XIOS_DEV_CMIP6/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/cxios.cpp
r1377 r1519 57 57 usingServer2=getin<bool>("using_server2",false) ; 58 58 ratioServer2=getin<int>("ratio_server2",50); 59 nbPoolsServer2=getin<int>("number_pools_server2", 1);59 nbPoolsServer2=getin<int>("number_pools_server2",0); 60 60 info.setLevel(getin<int>("info_level",0)) ; 61 61 report.setLevel(getin<int>("info_level",50)); -
XIOS/dev/XIOS_DEV_CMIP6/src/server.cpp
r1377 r1519 38 38 * \fn void CServer::initialize(void) 39 39 * Creates intraComm for each possible type of servers (classical, primary or secondary). 40 * (For now the assumption is that there is one proc per secondary server pool.)41 40 * Creates interComm and stores them into the following lists: 42 41 * classical server -- interCommLeft … … 110 109 else 111 110 { 111 if (CXios::nbPoolsServer2 == 0) CXios::nbPoolsServer2 = reqNbProc; 112 112 int firstSndSrvRank = srvRanks.size()*(100.-CXios::ratioServer2)/100. ; 113 113 int poolLeader = firstSndSrvRank; 114 114 //*********** (1) Comment out the line below to set one process per pool 115 //sndServerGlobalRanks.push_back(srvRanks[poolLeader]);115 sndServerGlobalRanks.push_back(srvRanks[poolLeader]); 116 116 int nbPools = CXios::nbPoolsServer2; 117 117 if ( nbPools > reqNbProc || nbPools < 1) … … 139 139 } 140 140 //*********** (2) Comment out the two lines below to set one process per pool 141 //if (poolLeader < srvRanks.size())142 //sndServerGlobalRanks.push_back(srvRanks[poolLeader]);141 if (poolLeader < srvRanks.size()) 142 sndServerGlobalRanks.push_back(srvRanks[poolLeader]); 143 143 //*********** (3) Uncomment the line below to set one process per pool 144 sndServerGlobalRanks.push_back(srvRanks[i]);144 // sndServerGlobalRanks.push_back(srvRanks[i]); 145 145 } 146 146 else
Note: See TracChangeset
for help on using the changeset viewer.