Ignore:
Timestamp:
06/04/18 19:25:08 (6 years ago)
Author:
yushan
Message:

save dev. TO DO : test with xios

File:
1 edited

Legend:

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

    r1482 r1520  
    406406  CContext* context = CContext::getCurrent(); 
    407407  CContextClient* client=context->client; 
    408   int mykey; 
    409   ep_lib::MPI_Comm_rank(client->intraComm, &mykey); 
    410  
    411   ep_lib::MPI_Comm poleComme; 
    412   //ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, 0, &poleComme); 
    413   ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, mykey, &poleComme); 
    414   if (!poleComme.is_null()) 
     408  //int mykey; 
     409  //ep_lib::MPI_Comm_rank(client->intraComm, &mykey); 
     410 
     411  ep_lib::MPI_Comm poleComme = MPI_COMM_NULL; 
     412  ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, 0, &poleComme); 
     413  //ep_lib::MPI_Comm_split(client->intraComm, interMapValuePole.empty() ? 0 : 1, mykey, &poleComme); 
     414  //if (!poleComme.is_null()) 
     415  if (poleComme!=MPI_COMM_NULL) 
    415416  { 
    416417    int nbClientPole; 
Note: See TracChangeset for help on using the changeset viewer.