Changeset 1060 for XIOS/dev/branch_yushan/src/client.cpp
- Timestamp:
- 02/23/17 15:51:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/client.cpp
r1053 r1060 24 24 StdOFStream CClient::m_errorStream; 25 25 26 void CClient::initialize(const string& codeId, MPI_Comm& localComm,MPI_Comm& returnComm)26 void CClient::initialize(const string& codeId, MPI_Comm& localComm, MPI_Comm& returnComm) 27 27 { 28 28 int initialized ; … … 161 161 162 162 if (!CXios::isServer) 163 { 164 165 166 163 { 167 164 int size,rank,globalRank ; 168 165 size_t message_size ; … … 191 188 delete [] buff ; 192 189 193 printf("====== Client: begin context_init \n");190 //printf("====== Client: begin context_init \n"); 194 191 195 192 … … 197 194 info(10)<<"Register new Context : "<<id<<endl ; 198 195 199 cout<<"Register new Context : "<<id<<endl ;196 //cout<<"Register new Context : "<<id<<endl ; 200 197 201 198 202 MPI_Comm inter ;203 MPI_Intercomm_merge(contextInterComm,0,&inter) ;204 MPI_Barrier(inter) ;199 // MPI_Comm inter ; 200 // MPI_Intercomm_merge(contextInterComm,0,&inter) ; 201 // MPI_Barrier(inter) ; 205 202 206 203 207 204 context->initClient(contextComm,contextInterComm) ; 208 205 209 printf("====== Client: context_init OK\n");206 //printf("====== Client: context_init OK\n"); 210 207 211 208 contextInterComms.push_back(contextInterComm); 212 MPI_Comm_free(&inter);209 // MPI_Comm_free(&inter); 213 210 } 214 211 else … … 252 249 for (std::list<MPI_Comm>::iterator it = contextInterComms.begin(); it != contextInterComms.end(); it++) 253 250 MPI_Comm_free(&(*it)); 251 254 252 MPI_Comm_free(&interComm); 255 253 MPI_Comm_free(&intraComm);
Note: See TracChangeset
for help on using the changeset viewer.