source: XIOS/dev/branch_yushan_merged/extern/src_ep_dev/ep_lib_fortran.hpp @ 1134

Last change on this file since 1134 was 1134, checked in by yushan, 7 years ago

branch merged with trunk r1130

File size: 471 bytes
Line 
1#ifndef EP_LIB_FORTRAN_HPP_INCLUDED
2#define EP_LIB_FORTRAN_HPP_INCLUDED
3
4#include "ep_type.hpp"
5
6namespace ep_lib
7{
8 
9  // #ifdef _intelmpi
10 
11  // MPI_Fint MPI_Comm_c2f(MPI_Comm comm);
12  // MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
13 
14  // #elif _openmpi
15 
16  // int MPI_Comm_c2f(MPI_Comm comm);
17  // ep_lib::MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
18 
19  // #endif
20
21  int EP_Comm_c2f(MPI_Comm comm);
22  MPI_Comm EP_Comm_f2c(int comm);
23}
24
25
26#endif // EP_LIB_FORTRAN_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.