Ignore:
Timestamp:
11/21/17 10:47:57 (6 years ago)
Author:
yushan
Message:

dev_omp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/transformation/domain_algorithm_interpolate.cpp

    r1334 r1338  
    405405  CContext* context = CContext::getCurrent(); 
    406406  CContextClient* client=context->client; 
     407  int mykey; 
     408  ep_lib::MPI_Comm_rank(client->intraComm, &mykey); 
    407409 
    408410  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); 
    410413  if (!poleComme.is_null()) 
    411414  { 
     
    423426    std::vector<int> displ(nbClientPole,0); 
    424427    ep_lib::MPI_Allgather(&nbWeight,1,MPI_INT,&recvCount[0],1,MPI_INT,poleComme) ; 
    425  
    426428    displ[0]=0; 
    427429    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.