19 #ifndef OMPI_MCA_COMMON_PORTALS_H
20 #define OMPI_MCA_COMMON_PORTALS_H
26 #include <p3nal_utcp.h>
27 #include <p3rt/p3rt.h>
28 #include <p3api/debug.h>
30 #define OMPI_BTL_PORTALS_SEND_TABLE_ID 0
31 #define OMPI_BTL_PORTALS_RDMA_TABLE_ID 1
33 #define OMPI_MTL_PORTALS_SEND_TABLE_ID 2
34 #define OMPI_MTL_PORTALS_READ_TABLE_ID 3
35 #define OMPI_MTL_PORTALS_ACK_TABLE_ID 4
37 #elif (OMPI_PORTALS_CRAYXT3 || OMPI_PORTALS_CRAYXT3_MODEX)
38 #include <portals/portals3.h>
39 #define PTL_EQ_HANDLER_NONE NULL
41 #define PTL_NO_ACK_REQ PTL_NOACK_REQ
43 #define OMPI_BTL_PORTALS_SEND_TABLE_ID 30
44 #define OMPI_BTL_PORTALS_RDMA_TABLE_ID 31
46 #define OMPI_MTL_PORTALS_SEND_TABLE_ID 32
47 #define OMPI_MTL_PORTALS_READ_TABLE_ID 33
48 #define OMPI_MTL_PORTALS_ACK_TABLE_ID 34
52 #error "Unknown Portals library configuration"
69 char* ompi_common_portals_nodeid(
void);
82 int ompi_common_portals_register_mca(
void);
99 int ompi_common_portals_initialize(ptl_handle_ni_t *ni_handle,
bool *accel);
116 int ompi_common_portals_ni_initialize(ptl_handle_ni_t *ni_handle,
bool *accel);
132 int ompi_common_portals_get_procs(
size_t nprocs,
134 ptl_process_id_t *portals_procs);
146 int ompi_common_portals_ni_finalize(
void);
157 int ompi_common_portals_finalize(
void);
160 int ompi_common_portals_error_ptl_to_ompi(
int ptl_error);
Process identification structure interface.
Remote Open MPI process structure.
Definition: proc.h:56