Last change
on this file since 1063 was
1053,
checked in by yushan, 7 years ago
|
ep_lib namespace specified when netcdf involved
|
File size:
450 bytes
|
Line | |
---|
1 | #ifndef EP_LIB_FORTRAN_HPP_INCLUDED |
---|
2 | #define EP_LIB_FORTRAN_HPP_INCLUDED |
---|
3 | |
---|
4 | #include "ep_type.hpp" |
---|
5 | |
---|
6 | namespace 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.