Ignore:
Timestamp:
12/04/17 17:12:00 (4 years ago)
Author:
yushan
Message:

omp dev : unify MPI_Comm type

File:
1 edited

Legend:

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

    r1134 r1354  
    22#include <mpi.h> 
    33#include "ep_declaration.hpp" 
     4#include "ep_mpi.hpp" 
    45 
    56namespace ep_lib 
     
    3031    if(comm != MPI_COMM_NULL) 
    3132    { 
    32       ::MPI_Comm mpi_comm = static_cast< ::MPI_Comm > (comm.mpi_comm); 
     33      ::MPI_Comm mpi_comm = to_mpi_comm(comm.mpi_comm); 
    3334      ::MPI_Comm_rank(mpi_comm, rank); 
    3435      return 0; 
Note: See TracChangeset for help on using the changeset viewer.