Changeset 1338 for XIOS/dev/branch_openmp/src/transformation
- Timestamp:
- 11/21/17 10:47:57 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/transformation/domain_algorithm_interpolate.cpp
r1334 r1338 405 405 CContext* context = CContext::getCurrent(); 406 406 CContextClient* client=context->client; 407 int mykey; 408 ep_lib::MPI_Comm_rank(client->intraComm, &mykey); 407 409 408 410 ep_lib::MPI_Comm poleComme; 409 ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, 0, &poleComme); 411 //ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, 0, &poleComme); 412 ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, mykey, &poleComme); 410 413 if (!poleComme.is_null()) 411 414 { … … 423 426 std::vector<int> displ(nbClientPole,0); 424 427 ep_lib::MPI_Allgather(&nbWeight,1,MPI_INT,&recvCount[0],1,MPI_INT,poleComme) ; 425 426 428 displ[0]=0; 427 429 for(int n=1;n<nbClientPole;++n) displ[n]=displ[n-1]+recvCount[n-1] ;
Note: See TracChangeset
for help on using the changeset viewer.