- Timestamp:
- 10/17/19 10:22:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/interface/c/oasis_cinterface.cpp
r1650 r1745 22 22 fxios_oasis_enddef() ; 23 23 } 24 24 #ifdef _usingEP 25 25 void oasis_get_localcomm(MPI_Comm& comm) 26 26 { … … 46 46 //comm_client_server=MPI_Comm_f2c(f_comm) ; 47 47 } 48 49 #else 50 51 void oasis_get_localcomm(MPI_Comm& comm) 52 { 53 MPI_Fint f_comm ; 54 55 fxios_oasis_get_localcomm(&f_comm) ; 56 //comm=MPI_Comm_f2c(f_comm) ; 57 } 58 59 void oasis_get_intracomm(MPI_Comm& comm_client_server,const std::string& server_id) 60 { 61 MPI_Fint f_comm ; 62 63 fxios_oasis_get_intracomm(&f_comm,server_id.data(),server_id.size()) ; 64 //comm_client_server=MPI_Comm_f2c(f_comm) ; 65 } 66 67 void oasis_get_intercomm(MPI_Comm& comm_client_server,const std::string& server_id) 68 { 69 MPI_Fint f_comm ; 70 71 fxios_oasis_get_intercomm(&f_comm,server_id.data(),server_id.size()) ; 72 //comm_client_server=MPI_Comm_f2c(f_comm) ; 73 } 74 75 76 77 #endif 48 78 }
Note: See TracChangeset
for help on using the changeset viewer.