Ignore:
Timestamp:
10/17/19 10:22:09 (5 years ago)
Author:
yushan
Message:

Generic_testcase: build flag --omp to enable EP with intelmpi. --omp2 to enable EP with openmpi. tested on Irene with compiler=intel17, mpi=intelmpi&openmpi, with and without EP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/interface/c/oasis_cinterface.cpp

    r1650 r1745  
    2222    fxios_oasis_enddef() ; 
    2323  } 
    24  
     24#ifdef _usingEP 
    2525  void oasis_get_localcomm(MPI_Comm& comm) 
    2626  { 
     
    4646    //comm_client_server=MPI_Comm_f2c(f_comm) ; 
    4747  } 
     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 
    4878} 
Note: See TracChangeset for help on using the changeset viewer.