Ignore:
Timestamp:
06/04/18 19:25:08 (3 years ago)
Author:
yushan
Message:

save dev. TO DO : test with xios

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_lib.hpp

    r1368 r1520  
    44#include "ep_type.hpp" 
    55#include "ep_lib_intercomm.hpp" 
     6#include "ep_lib_intracomm.hpp" 
    67#include "ep_lib_local.hpp" 
    78#include "ep_lib_collective.hpp" 
    89#include "ep_tag.hpp" 
    910#include "ep_lib_fortran.hpp" 
     11#include "ep_lib_win.hpp" 
     12#include "ep_lib_mpi.hpp" 
     13//#include "ep_mpi.hpp" 
     14 
    1015 
    1116namespace ep_lib 
     
    3338 
    3439  int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); 
    35  
    36   // #ifdef _openmpi 
    37   // int MPI_Comm_create_endpoints(void* mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints 
    38   // #elif _intelmpi 
    39   // int MPI_Comm_create_endpoints(int mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints 
    40   // #endif 
    4140   
    42   int MPI_Comm_create_endpoints(void* base_comm_ptr, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from EP to create endpoints 
     41  int MPI_Comm_remote_size(MPI_Comm comm, int *size); 
    4342 
    4443  int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); 
     
    4746  int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); 
    4847 
    49   int tag_combine(int real_tag, int src, int dest); 
    50   int get_ep_rank(MPI_Comm comm, int ep_rank_loc, int mpi_rank); 
    51   int get_ep_rank_intercomm(MPI_Comm comm, int ep_rank_loc, int mpi_rank); 
    52  
    53   int Message_Check(MPI_Comm comm); 
    54   int Request_Check(); 
    5548 
    5649  int MPI_Recv  (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status); 
     
    7467  int MPI_Alloc_mem(unsigned long size, MPI_Info info, void *baseptr); 
    7568 
     69  int MPI_Comm_test_inter(MPI_Comm comm, int *flag); 
     70 
    7671 
    7772  void check_sum_send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, int type); 
     
    8176  bool valid_op(MPI_Op op); 
    8277 
     78  int tag_combine(int real_tag, int src, int dest); 
     79  int get_ep_rank(MPI_Comm comm, int ep_rank_loc, int mpi_rank); 
     80 
     81  int Message_Check(MPI_Comm comm); 
     82 
     83  int Request_Check(); 
     84 
     85  int test_sendrecv(MPI_Comm comm); 
     86 
     87 
    8388} 
    8489 
Note: See TracChangeset for help on using the changeset viewer.