Ignore:
Timestamp:
05/28/18 09:54:32 (4 years ago)
Author:
yushan
Message:

save dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/ep_rank.cpp

    r1381 r1500  
    1212  { 
    1313 
    14     if(comm.is_ep) 
     14    if(comm->is_ep) 
    1515    { 
    1616      Debug("Calling EP_Comm_rank\n"); 
    1717 
    18       if(comm.is_intercomm) 
     18      if(comm->is_intercomm) 
    1919      { 
    20         *rank = comm.ep_comm_ptr->intercomm->size_rank_info[0].first; 
     20        *rank = comm->ep_comm_ptr->intercomm->size_rank_info[0].first; 
    2121        return 0; 
    2222      } 
    2323      else 
    2424      { 
    25         *rank = comm.ep_comm_ptr->size_rank_info[0].first; 
     25        *rank = comm->ep_comm_ptr->size_rank_info[0].first; 
    2626        return 0; 
    2727      } 
     
    3131    if(comm != MPI_COMM_NULL) 
    3232    { 
    33       ::MPI_Comm mpi_comm = to_mpi_comm(comm.mpi_comm); 
     33      ::MPI_Comm mpi_comm = to_mpi_comm(comm->mpi_comm); 
    3434      ::MPI_Comm_rank(mpi_comm, rank); 
    3535      return 0; 
Note: See TracChangeset for help on using the changeset viewer.