PPL Logo

libs/ck-libs/ampi/ampi.C File Reference

Go to the source code of this file.

Data Structures

class  AmpiComplex
class  AmpiDoubleComplex
class  AmpiLongDoubleComplex
struct  FloatInt
struct  DoubleInt
struct  LongInt
struct  IntInt
struct  ShortInt
struct  LongdoubleInt
struct  FloatFloat
struct  DoubleDouble
class  Builtin_kvs
class  ampiWorlds
 This group is used to broadcast the MPI_COMM_UNIVERSE communicators. More...
class  ckptClientStruct
class  ampiSplitKey

Typedefs

typedef std::unordered_map
< std::string, std::map< int,
int > >::iterator 
outer_itr_t
typedef std::map< int, int >
::iterator 
inner_itr_t

Functions

static CkDDTgetDDT ()
int ampiErrhandler (const char *func, int errcode) noexcept
 CkpvDeclare (CkListString, msgSizesRanks)
int checkCommunicator (const char *func, MPI_Comm comm) noexcept
int checkCount (const char *func, int count) noexcept
int checkData (const char *func, MPI_Datatype data) noexcept
int checkTag (const char *func, int tag) noexcept
int checkRank (const char *func, int rank, MPI_Comm comm) noexcept
int checkBuf (const char *func, const void *buf, int count) noexcept
int errorCheck (const char *func, MPI_Comm comm, bool ifComm, int count, bool ifCount, MPI_Datatype data, bool ifData, int tag, bool ifTag, int rank, bool ifRank, const void *buf1, bool ifBuf1, const void *buf2=nullptr, bool ifBuf2=false) noexcept
void MPI_MAX_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_MIN_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_SUM_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_PROD_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_REPLACE_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_NO_OP_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_LAND_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_BAND_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_LOR_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_BOR_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_LXOR_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_BXOR_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_MAXLOC_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
void MPI_MINLOC_USER_FN (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype)
CkReductionMsgAmpiReducerFunc (int nMsg, CkReductionMsg **msgs) noexcept
static CkReduction::reducerType getBuiltinReducerType (MPI_Datatype type, MPI_Op op) noexcept
CLINKAGE void AMPI_Setup (void)
FLINKAGE void FTN_NAME (AMPI_SETUP, ampi_setup)
void ampiCreateMain (MPI_MainFn mainFn, const char *name, int nameLen)
CLINKAGE void AMPI_Setup_Switch (void)
 CtvDeclare (ampiParent *, ampiPtr)
 CtvDeclare (bool, ampiInitDone)
 CtvDeclare (void *, stackBottom)
 CtvDeclare (bool, ampiFinalized)
 CkpvDeclare (Builtin_kvs, bikvs)
 CkpvDeclare (int, ampiThreadLevel)
 CkpvDeclare (AmpiMsgPool, msgPool)
CLINKAGE long ampiCurrentStackUsage (void)
FLINKAGE void FTN_NAME (AMPICURRENTSTACKUSAGE, ampicurrentstackusage)
CLINKAGE void AMPI_threadstart (void *data)
 CsvExtern (funcmap *, tcharm_funcmap)
static void getAmpiBinaryPath ()
static void ampiNodeInit ()
static void BeginIdle (void *dummy, double curWallTime) noexcept
static void EndIdle (void *dummy, double curWallTime) noexcept
static void ampiProcInit ()
static int record_msglog (int rank) noexcept
 PUPfunctionpointer (MPI_MainFn)
 PUPmarshall (MPI_threadstart_t)
static void createCommSelf ()
static ampi * ampiInit (char **argv) noexcept
static void checkpointClient (void *param, void *msg) noexcept
static void AmmPupUnexpectedMsgs (PUP::er &p, void **msg) noexcept
static void AmmPupPostedReqs (PUP::er &p, void **msg) noexcept
CLINKAGE int compareAmpiSplitKey (const void *a_, const void *b_)
const ampiCommStructuniverseComm2CommStruct (MPI_Comm universeNo) noexcept
static AmpiRequestListgetReqs ()
static AmpiMsg * rdma2AmpiMsg (char *buf, int size, CMK_REFNUM_TYPE seq, int tag, int srcRank, int ssendReq) noexcept
void handle_MPI_BOTTOM (void *&buf, MPI_Datatype type) noexcept
void handle_MPI_BOTTOM (void *&buf1, MPI_Datatype type1, void *&buf2, MPI_Datatype type2) noexcept
static void clearStatus (MPI_Status *sts) noexcept
static void clearStatus (MPI_Status sts[], int idx) noexcept
static bool handle_MPI_PROC_NULL (int src, MPI_Comm comm, MPI_Status *sts) noexcept
int MPI_comm_null_copy_fn (MPI_Comm comm, int keyval, void *extra_state, void *attr_in, void *attr_out, int *flag)
int MPI_comm_dup_fn (MPI_Comm comm, int keyval, void *extra_state, void *attr_in, void *attr_out, int *flag)
int MPI_comm_null_delete_fn (MPI_Comm comm, int keyval, void *attr, void *extra_state)
int MPI_type_null_copy_fn (MPI_Datatype type, int keyval, void *extra_state, void *attr_in, void *attr_out, int *flag)
int MPI_type_dup_fn (MPI_Datatype type, int keyval, void *extra_state, void *attr_in, void *attr_out, int *flag)
int MPI_type_null_delete_fn (MPI_Datatype type, int keyval, void *attr, void *extra_state)
ampiParent * getAmpiParent ()
ampi * getAmpiInstance (MPI_Comm comm) noexcept
bool isAmpiThread ()
void checkComm (MPI_Comm comm) noexcept
void checkRequest (MPI_Request req) noexcept
void checkRequests (int n, MPI_Request *reqs) noexcept
int testRequest (MPI_Request *reqIdx, int *flag, MPI_Status *sts) noexcept
int testRequestNoFree (MPI_Request *reqIdx, int *flag, MPI_Status *sts) noexcept
 AMPI_API_IMPL (int, MPI_Is_thread_main, int *flag)
 AMPI_API_IMPL (int, MPI_Query_thread, int *provided)
 AMPI_API_IMPL (int, MPI_Init_thread, int *p_argc, char ***p_argv, int required, int *provided)
 AMPI_API_IMPL (int, MPI_Init, int *p_argc, char ***p_argv)
 AMPI_API_IMPL (int, MPI_Initialized, int *isInit)
 AMPI_API_IMPL (int, MPI_Finalized, int *isFinalized)
 AMPI_API_IMPL (int, MPI_Comm_rank, MPI_Comm comm, int *rank)
 AMPI_API_IMPL (int, MPI_Comm_size, MPI_Comm comm, int *size)
 AMPI_API_IMPL (int, MPI_Comm_compare, MPI_Comm comm1, MPI_Comm comm2, int *result)
CLINKAGE void ampiMarkAtexit ()
CLINKAGE void AMPI_Exit (int exitCode)
FLINKAGE void FTN_NAME (MPI_EXIT, mpi_exit)
 AMPI_API_IMPL (int, MPI_Finalize, void)
 AMPI_API_IMPL (int, MPI_Send, const void *msg, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Bsend, const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Buffer_attach, void *buffer, int size)
 AMPI_API_IMPL (int, MPI_Buffer_detach, void *buffer, int *size)
 AMPI_API_IMPL (int, MPI_Rsend, const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ssend, const void *msg, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Issend, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Recv, void *msg, int count, MPI_Datatype type, int src, int tag, MPI_Comm comm, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Probe, int src, int tag, MPI_Comm comm, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Iprobe, int src, int tag, MPI_Comm comm, int *flag, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Improbe, int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Imrecv, void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Mprobe, int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Mrecv, void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Sendrecv, const void *sbuf, int scount, MPI_Datatype stype, int dest, int stag, void *rbuf, int rcount, MPI_Datatype rtype, int src, int rtag, MPI_Comm comm, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Sendrecv_replace, void *buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 AMPI_API_IMPL (int, MPI_Barrier, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ibarrier, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Bcast, void *buf, int count, MPI_Datatype type, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ibcast, void *buf, int count, MPI_Datatype type, int root, MPI_Comm comm, MPI_Request *request)
static CkReductionMsgmakeRednMsg (CkDDT_DataType *ddt, const void *inbuf, int count, int type, int rank, int size, MPI_Op op) noexcept
static int copyDatatype (MPI_Datatype sendtype, int sendcount, MPI_Datatype recvtype, int recvcount, const void *inbuf, void *outbuf) noexcept
static void handle_MPI_IN_PLACE (void *&inbuf, void *&outbuf) noexcept
static void handle_MPI_IN_PLACE_gather (void *&sendbuf, void *recvbuf, int &sendcount, MPI_Datatype &sendtype, int recvdispl, int recvcount, MPI_Datatype recvtype) noexcept
static void handle_MPI_IN_PLACE_gatherv (void *&sendbuf, void *recvbuf, int &sendcount, MPI_Datatype &sendtype, const int recvdispls[], const int recvcounts[], int rank, MPI_Datatype recvtype) noexcept
static void handle_MPI_IN_PLACE_alltoall (void *&sendbuf, void *recvbuf, int &sendcount, MPI_Datatype &sendtype, int recvcount, MPI_Datatype recvtype) noexcept
static void handle_MPI_IN_PLACE_alltoallv (void *&sendbuf, void *recvbuf, int *&sendcounts, MPI_Datatype &sendtype, int *&sdispls, const int *recvcounts, MPI_Datatype recvtype, const int *rdispls) noexcept
static void handle_MPI_IN_PLACE_alltoallw (void *&sendbuf, void *recvbuf, int *&sendcounts, MPI_Datatype *&sendtypes, int *&sdispls, const int *recvcounts, const MPI_Datatype *recvtypes, const int *rdispls) noexcept
 AMPI_API_IMPL (int, MPI_Reduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type, MPI_Op op, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Allreduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type, MPI_Op op, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iallreduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type, MPI_Op op, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Reduce_local, const void *inbuf, void *outbuf, int count, MPI_Datatype type, MPI_Op op)
 AMPI_API_IMPL (int, MPI_Reduce_scatter_block, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ireduce_scatter_block, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Reduce_scatter, const void *sendbuf, void *recvbuf, const int *recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ireduce_scatter, const void *sendbuf, void *recvbuf, const int *recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Scan, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iscan, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Exscan, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iexscan, const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Op_create, MPI_User_function *function, int commute, MPI_Op *op)
 AMPI_API_IMPL (int, MPI_Op_free, MPI_Op *op)
 AMPI_API_IMPL (int, MPI_Op_commutative, MPI_Op op, int *commute)
 AMPI_API_IMPL (double, MPI_Wtime, void)
 AMPI_API_IMPL (double, MPI_Wtick, void)
 AMPI_API_IMPL (int, MPI_Start, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Startall, int count, MPI_Request *requests)
 AMPI_API_IMPL (int, MPI_Wait, MPI_Request *request, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Waitall, int count, MPI_Request request[], MPI_Status sts[])
 AMPI_API_IMPL (int, MPI_Waitany, int count, MPI_Request *request, int *idx, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Waitsome, int incount, MPI_Request *array_of_requests, int *outcount, int *array_of_indices, MPI_Status *array_of_statuses)
 AMPI_API_IMPL (int, MPI_Request_get_status, MPI_Request request, int *flag, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Test, MPI_Request *request, int *flag, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Testany, int count, MPI_Request *request, int *index, int *flag, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Testall, int count, MPI_Request *request, int *flag, MPI_Status *sts)
 AMPI_API_IMPL (int, MPI_Testsome, int incount, MPI_Request *array_of_requests, int *outcount, int *array_of_indices, MPI_Status *array_of_statuses)
 AMPI_API_IMPL (int, MPI_Request_free, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Grequest_start, MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Grequest_complete, MPI_Request request)
 AMPI_API_IMPL (int, MPI_Cancel, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Test_cancelled, const MPI_Status *status, int *flag)
 AMPI_API_IMPL (int, MPI_Status_set_cancelled, MPI_Status *status, int flag)
 AMPI_API_IMPL (int, MPI_Recv_init, void *buf, int count, MPI_Datatype type, int src, int tag, MPI_Comm comm, MPI_Request *req)
 AMPI_API_IMPL (int, MPI_Send_init, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *req)
 AMPI_API_IMPL (int, MPI_Rsend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *req)
 AMPI_API_IMPL (int, MPI_Bsend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *req)
 AMPI_API_IMPL (int, MPI_Ssend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *req)
 AMPI_API_IMPL (int, MPI_Type_contiguous, int count, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_vector, int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_hvector, int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_hvector, int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_indexed, int count, const int *arrBlength, const int *arrDisp, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_hindexed, int count, const int *arrBlength, const MPI_Aint *arrDisp, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_hindexed, int count, int *arrBlength, MPI_Aint *arrDisp, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_indexed_block, int count, int Blength, const int *arr, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_hindexed_block, int count, int Blength, const MPI_Aint *arr, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_struct, int count, const int *arrBlength, const MPI_Aint *arrDisp, const MPI_Datatype *oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_struct, int count, int *arrBlength, MPI_Aint *arrDisp, MPI_Datatype *oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_commit, MPI_Datatype *datatype)
 AMPI_API_IMPL (int, MPI_Type_free, MPI_Datatype *datatype)
 AMPI_API_IMPL (int, MPI_Type_get_extent, MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent)
 AMPI_API_IMPL (int, MPI_Type_get_extent_x, MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent)
 AMPI_API_IMPL (int, MPI_Type_extent, MPI_Datatype datatype, MPI_Aint *extent)
 AMPI_API_IMPL (int, MPI_Type_get_true_extent, MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent)
 AMPI_API_IMPL (int, MPI_Type_get_true_extent_x, MPI_Datatype datatype, MPI_Count *true_lb, MPI_Count *true_extent)
 AMPI_API_IMPL (int, MPI_Type_size, MPI_Datatype datatype, int *size)
 AMPI_API_IMPL (int, MPI_Type_size_x, MPI_Datatype datatype, MPI_Count *size)
 AMPI_API_IMPL (int, MPI_Type_set_name, MPI_Datatype datatype, const char *name)
 AMPI_API_IMPL (int, MPI_Type_get_name, MPI_Datatype datatype, char *name, int *resultlen)
 AMPI_API_IMPL (int, MPI_Type_create_resized, MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_dup, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_set_attr, MPI_Datatype datatype, int keyval, void *attribute_val)
 AMPI_API_IMPL (int, MPI_Type_get_attr, MPI_Datatype datatype, int keyval, void *attribute_val, int *flag)
 AMPI_API_IMPL (int, MPI_Type_delete_attr, MPI_Datatype datatype, int keyval)
 AMPI_API_IMPL (int, MPI_Type_create_keyval, MPI_Type_copy_attr_function *copy_fn, MPI_Type_delete_attr_function *delete_fn, int *keyval, void *extra_state)
 AMPI_API_IMPL (int, MPI_Type_free_keyval, int *keyval)
static int MPIOI_Type_block (const int array_of_gsizes[], int dim, int ndims, int nprocs, int rank, int darg, int order, MPI_Aint orig_extent, MPI_Datatype type_old, MPI_Datatype *type_new, MPI_Aint *st_offset)
static int MPIOI_Type_cyclic (const int array_of_gsizes[], int dim, int ndims, int nprocs, int rank, int darg, int order, MPI_Aint orig_extent, MPI_Datatype type_old, MPI_Datatype *type_new, MPI_Aint *st_offset)
 AMPI_API_IMPL (int, MPI_Type_create_darray, int size, int rank, int ndims, const int array_of_gsizes[], const int array_of_distribs[], const int array_of_dargs[], const int array_of_psizes[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Type_create_subarray, int ndims, const int array_of_sizes[], const int array_of_subsizes[], const int array_of_starts[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
 AMPI_API_IMPL (int, MPI_Isend, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Ibsend, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Irsend, const void *buf, int count, MPI_Datatype type, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Irecv, void *buf, int count, MPI_Datatype type, int src, int tag, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Ireduce, const void *sendbuf, void *recvbuf, int count, MPI_Datatype type, MPI_Op op, int root, MPI_Comm comm, MPI_Request *request)
static CkReductionMsgmakeGatherMsg (const void *inbuf, int count, MPI_Datatype type, int rank, int size) noexcept
static CkReductionMsgmakeGathervMsg (const void *inbuf, int count, MPI_Datatype type, int rank, int size) noexcept
 AMPI_API_IMPL (int, MPI_Allgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iallgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Allgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iallgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Gather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Igather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Gatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Igatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Scatter, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iscatter, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Scatterv, const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Iscatterv, const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Alltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ialltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Alltoallv, const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ialltoallv, void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Alltoallw, const void *sendbuf, const int *sendcounts, const int *sdispls, const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts, const int *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ialltoallw, const void *sendbuf, const int *sendcounts, const int *sdispls, const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts, const int *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Neighbor_alltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ineighbor_alltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Neighbor_alltoallv, const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ineighbor_alltoallv, const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Neighbor_alltoallw, const void *sendbuf, const int *sendcounts, const MPI_Aint *sdispls, const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts, const MPI_Aint *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ineighbor_alltoallw, const void *sendbuf, const int *sendcounts, const MPI_Aint *sdispls, const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts, const MPI_Aint *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Neighbor_allgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ineighbor_allgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Neighbor_allgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Ineighbor_allgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Comm_dup, MPI_Comm comm, MPI_Comm *newcomm)
 AMPI_API_IMPL (int, MPI_Comm_idup, MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Comm_dup_with_info, MPI_Comm comm, MPI_Info info, MPI_Comm *dest)
 AMPI_API_IMPL (int, MPI_Comm_idup_with_info, MPI_Comm comm, MPI_Info info, MPI_Comm *dest, MPI_Request *request)
 AMPI_API_IMPL (int, MPI_Comm_split, MPI_Comm src, int color, int key, MPI_Comm *dest)
 AMPI_API_IMPL (int, MPI_Comm_split_type, MPI_Comm src, int split_type, int key, MPI_Info info, MPI_Comm *dest)
 AMPI_API_IMPL (int, MPI_Comm_free, MPI_Comm *comm)
 AMPI_API_IMPL (int, MPI_Comm_test_inter, MPI_Comm comm, int *flag)
 AMPI_API_IMPL (int, MPI_Comm_remote_size, MPI_Comm comm, int *size)
 AMPI_API_IMPL (int, MPI_Comm_remote_group, MPI_Comm comm, MPI_Group *group)
 AMPI_API_IMPL (int, MPI_Intercomm_create, MPI_Comm localComm, int localLeader, MPI_Comm peerComm, int remoteLeader, int tag, MPI_Comm *newintercomm)
 AMPI_API_IMPL (int, MPI_Intercomm_merge, MPI_Comm intercomm, int high, MPI_Comm *newintracomm)
 AMPI_API_IMPL (int, MPI_Abort, MPI_Comm comm, int errorcode)
 AMPI_API_IMPL (int, MPI_Get_count, const MPI_Status *sts, MPI_Datatype dtype, int *count)
 AMPI_API_IMPL (int, MPI_Type_lb, MPI_Datatype dtype, MPI_Aint *displacement)
 AMPI_API_IMPL (int, MPI_Type_ub, MPI_Datatype dtype, MPI_Aint *displacement)
 AMPI_API_IMPL (int, MPI_Get_address, const void *location, MPI_Aint *address)
 AMPI_API_IMPL (int, MPI_Address, void *location, MPI_Aint *address)
 AMPI_API_IMPL (int, MPI_Status_set_elements, MPI_Status *sts, MPI_Datatype dtype, int count)
 AMPI_API_IMPL (int, MPI_Status_set_elements_x, MPI_Status *sts, MPI_Datatype dtype, MPI_Count count)
 AMPI_API_IMPL (int, MPI_Get_elements, const MPI_Status *sts, MPI_Datatype dtype, int *count)
 AMPI_API_IMPL (int, MPI_Get_elements_x, const MPI_Status *sts, MPI_Datatype dtype, MPI_Count *count)
 AMPI_API_IMPL (int, MPI_Pack, const void *inbuf, int incount, MPI_Datatype dtype, void *outbuf, int outsize, int *position, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Unpack, const void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype dtype, MPI_Comm comm)
 AMPI_API_IMPL (int, MPI_Pack_size, int incount, MPI_Datatype datatype, MPI_Comm comm, int *sz)
 AMPI_API_IMPL (int, MPI_Get_version, int *version, int *subversion)
 AMPI_API_IMPL (int, MPI_Get_library_version, char *version, int *resultlen)
 AMPI_API_IMPL (int, MPI_Get_processor_name, char *name, int *resultlen)
void error_handler (MPI_Comm *, int *,...)
void error_handler (MPI_Comm *, int *)
 AMPI_API_IMPL (int, MPI_Comm_call_errhandler, MPI_Comm comm, int errorcode)
 AMPI_API_IMPL (int, MPI_Comm_create_errhandler, MPI_Comm_errhandler_fn *function, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Comm_set_errhandler, MPI_Comm comm, MPI_Errhandler errhandler)
 AMPI_API_IMPL (int, MPI_Comm_get_errhandler, MPI_Comm comm, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Comm_free_errhandler, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Errhandler_create, MPI_Handler_function *function, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Errhandler_set, MPI_Comm comm, MPI_Errhandler errhandler)
 AMPI_API_IMPL (int, MPI_Errhandler_get, MPI_Comm comm, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Errhandler_free, MPI_Errhandler *errhandler)
 AMPI_API_IMPL (int, MPI_Add_error_code, int errorclass, int *errorcode)
 AMPI_API_IMPL (int, MPI_Add_error_class, int *errorclass)
 AMPI_API_IMPL (int, MPI_Add_error_string, int errorcode, const char *errorstring)
 AMPI_API_IMPL (int, MPI_Error_class, int errorcode, int *errorclass)
 AMPI_API_IMPL (int, MPI_Error_string, int errorcode, char *errorstring, int *resultlen)
 AMPI_API_IMPL (int, MPI_Comm_group, MPI_Comm comm, MPI_Group *group)
 AMPI_API_IMPL (int, MPI_Group_union, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_intersection, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_difference, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_size, MPI_Group group, int *size)
 AMPI_API_IMPL (int, MPI_Group_rank, MPI_Group group, int *rank)
 AMPI_API_IMPL (int, MPI_Group_translate_ranks, MPI_Group group1, int n, const int *ranks1, MPI_Group group2, int *ranks2)
 AMPI_API_IMPL (int, MPI_Group_compare, MPI_Group group1, MPI_Group group2, int *result)
 AMPI_API_IMPL (int, MPI_Group_incl, MPI_Group group, int n, const int *ranks, MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_excl, MPI_Group group, int n, const int *ranks, MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_range_incl, MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_range_excl, MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
 AMPI_API_IMPL (int, MPI_Group_free, MPI_Group *group)
 AMPI_API_IMPL (int, MPI_Comm_create, MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm)
 AMPI_API_IMPL (int, MPI_Comm_create_group, MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm)
 AMPI_API_IMPL (int, MPI_Comm_set_name, MPI_Comm comm, const char *comm_name)
 AMPI_API_IMPL (int, MPI_Comm_get_name, MPI_Comm comm, char *comm_name, int *resultlen)
 AMPI_API_IMPL (int, MPI_Comm_set_info, MPI_Comm comm, MPI_Info info)
 AMPI_API_IMPL (int, MPI_Comm_get_info, MPI_Comm comm, MPI_Info *info)
 AMPI_API_IMPL (int, MPI_Comm_create_keyval, MPI_Comm_copy_attr_function *copy_fn, MPI_Comm_delete_attr_function *delete_fn, int *keyval, void *extra_state)
 AMPI_API_IMPL (int, MPI_Comm_free_keyval, int *keyval)
 AMPI_API_IMPL (int, MPI_Comm_set_attr, MPI_Comm comm, int keyval, void *attribute_val)
 AMPI_API_IMPL (int, MPI_Comm_get_attr, MPI_Comm comm, int keyval, void *attribute_val, int *flag)
 AMPI_API_IMPL (int, MPI_Comm_delete_attr, MPI_Comm comm, int keyval)
 AMPI_API_IMPL (int, MPI_Keyval_create, MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state)
 AMPI_API_IMPL (int, MPI_Keyval_free, int *keyval)
 AMPI_API_IMPL (int, MPI_Attr_put, MPI_Comm comm, int keyval, void *attribute_val)
 AMPI_API_IMPL (int, MPI_Attr_get, MPI_Comm comm, int keyval, void *attribute_val, int *flag)
 AMPI_API_IMPL (int, MPI_Attr_delete, MPI_Comm comm, int keyval)
 AMPI_API_IMPL (int, MPI_Cart_map, MPI_Comm comm, int ndims, const int *dims, const int *periods, int *newrank)
 AMPI_API_IMPL (int, MPI_Graph_map, MPI_Comm comm, int nnodes, const int *index, const int *edges, int *newrank)
 AMPI_API_IMPL (int, MPI_Cart_create, MPI_Comm comm_old, int ndims, const int *dims, const int *periods, int reorder, MPI_Comm *comm_cart)
 AMPI_API_IMPL (int, MPI_Graph_create, MPI_Comm comm_old, int nnodes, const int *index, const int *edges, int reorder, MPI_Comm *comm_graph)
 AMPI_API_IMPL (int, MPI_Dist_graph_create_adjacent, MPI_Comm comm_old, int indegree, const int sources[], const int sourceweights[], int outdegree, const int destinations[], const int destweights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph)
 AMPI_API_IMPL (int, MPI_Dist_graph_create, MPI_Comm comm_old, int n, const int sources[], const int degrees[], const int destinations[], const int weights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph)
 AMPI_API_IMPL (int, MPI_Topo_test, MPI_Comm comm, int *status)
 AMPI_API_IMPL (int, MPI_Cartdim_get, MPI_Comm comm, int *ndims)
 AMPI_API_IMPL (int, MPI_Cart_get, MPI_Comm comm, int maxdims, int *dims, int *periods, int *coords)
 AMPI_API_IMPL (int, MPI_Cart_rank, MPI_Comm comm, const int *coords, int *rank)
 AMPI_API_IMPL (int, MPI_Cart_coords, MPI_Comm comm, int rank, int maxdims, int *coords)
static void cart_clamp_coord (MPI_Comm comm, const vector< int > &dims, const vector< int > &periodicity, int *coords, int direction, int displacement, int *rank_out)
 AMPI_API_IMPL (int, MPI_Cart_shift, MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest)
 AMPI_API_IMPL (int, MPI_Graphdims_get, MPI_Comm comm, int *nnodes, int *nedges)
 AMPI_API_IMPL (int, MPI_Graph_get, MPI_Comm comm, int maxindex, int maxedges, int *index, int *edges)
 AMPI_API_IMPL (int, MPI_Graph_neighbors_count, MPI_Comm comm, int rank, int *nneighbors)
 AMPI_API_IMPL (int, MPI_Graph_neighbors, MPI_Comm comm, int rank, int maxneighbors, int *neighbors)
 AMPI_API_IMPL (int, MPI_Dist_graph_neighbors_count, MPI_Comm comm, int *indegree, int *outdegree, int *weighted)
 AMPI_API_IMPL (int, MPI_Dist_graph_neighbors, MPI_Comm comm, int maxindegree, int sources[], int sourceweights[], int maxoutdegree, int destinations[], int destweights[])
int integerRoot (int n, int d) noexcept
 Return the integer "d'th root of n"-- the largest integer r such that r^d <= n.
bool factors (int n, int d, int *dims, int m) noexcept
 Factorize "n" into "d" factors, stored in "dims[0..d-1]".
 AMPI_API_IMPL (int, MPI_Dims_create, int nnodes, int ndims, int *dims)
 AMPI_API_IMPL (int, MPI_Cart_sub, MPI_Comm comm, const int *remain_dims, MPI_Comm *newcomm)
 AMPI_API_IMPL (int, MPI_Type_get_envelope, MPI_Datatype datatype, int *ni, int *na, int *nd, int *combiner)
 AMPI_API_IMPL (int, MPI_Type_get_contents, MPI_Datatype datatype, int ni, int na, int nd, int i[], MPI_Aint a[], MPI_Datatype d[])
 AMPI_API_IMPL (int, MPI_Pcontrol, const int level,...)
CLINKAGE int AMPI_Init_universe (int *unicomm)
CLINKAGE char ** AMPI_Get_argv ()
CLINKAGE int AMPI_Get_argc ()
CLINKAGE int AMPI_Migrate (MPI_Info hints)
CLINKAGE int AMPI_Evacuate (void)
CLINKAGE int AMPI_Migrate_to_pe (int dest)
CLINKAGE int AMPI_Set_migratable (int mig)
CLINKAGE int AMPI_Load_start_measure (void)
CLINKAGE int AMPI_Load_stop_measure (void)
CLINKAGE int AMPI_Load_reset_measure (void)
CLINKAGE int AMPI_Load_set_value (double value)
void _registerampif (void)
CLINKAGE int AMPI_Register_main (MPI_MainFn mainFn, const char *name)
FLINKAGE void FTN_NAME (MPI_REGISTER_MAIN, mpi_register_main)
CLINKAGE int AMPI_Register_pup (MPI_PupFn fn, void *data, int *idx)
CLINKAGE int AMPI_Register_about_to_migrate (MPI_MigrateFn fn)
CLINKAGE int AMPI_Register_just_migrated (MPI_MigrateFn fn)
CLINKAGE int AMPI_Get_pup_data (int idx, void *data)
CLINKAGE int AMPI_Type_is_contiguous (MPI_Datatype datatype, int *flag)
CLINKAGE int AMPI_Print (const char *str)
CLINKAGE int AMPI_Suspend (void)
CLINKAGE int AMPI_Yield (void)
CLINKAGE int AMPI_Resume (int dest, MPI_Comm comm)
CLINKAGE int AMPI_System (const char *cmd)
CLINKAGE int AMPI_Trace_begin (void)
CLINKAGE int AMPI_Trace_end (void)
int AMPI_Install_idle_timer (void)
int AMPI_Uninstall_idle_timer (void)
void startCFnCall (void *param, void *msg)
CLINKAGE int AMPI_Set_start_event (MPI_Comm comm)
CLINKAGE int AMPI_Set_end_event (void)
void AMPI_GPU_complete (void *request, void *dummy) noexcept
CLINKAGE int AMPI_GPU_Iinvoke_wr (hapiWorkRequest *to_call, MPI_Request *request)
CLINKAGE int AMPI_GPU_Iinvoke (cudaStream_t stream, MPI_Request *request)
CLINKAGE int AMPI_GPU_Invoke_wr (hapiWorkRequest *to_call)
CLINKAGE int AMPI_GPU_Invoke (cudaStream_t stream)

Variables

const char *const CmiCommitID
static mpi_comm_worlds mpi_worlds
int _mpi_nworlds
int MPI_COMM_UNIVERSE [MPI_MAX_COMM_WORLDS]
CkReduction::reducerType AmpiReducer
int _ampi_fallback_setup_count = -1
int AMPI_RDMA_THRESHOLD = AMPI_RDMA_THRESHOLD_DEFAULT
int AMPI_SMP_RDMA_THRESHOLD = AMPI_SMP_RDMA_THRESHOLD_DEFAULT
static bool nodeinit_has_been_called = false
static int AMPI_threadstart_idx = -1
static const std::array< const
CkDDT_DataType
*, AMPI_MAX_PREDEFINED_TYPE+1 > 
ampiPredefinedTypes = CkDDT::createPredefinedTypes()
static constexpr std::array
< MPI_User_function
*, AMPI_MAX_PREDEFINED_OP+1 > 
ampiPredefinedOps
char * ampi_binary_path
static double totalidle = 0.0
static double startT = 0.0
static int beginHandle
static int endHandle
static CProxy_ampiWorlds ampiWorldsGroup
static bool atexit_called = false


Typedef Documentation

typedef std::unordered_map<std::string, std::map<int, int> >::iterator outer_itr_t

Definition at line 83 of file ampi.C.

typedef std::map<int, int>::iterator inner_itr_t

Definition at line 84 of file ampi.C.


Function Documentation

static CkDDT* getDDT (  )  [static]

Definition at line 37 of file ampi.C.

References getAmpiParent().

Referenced by AMPI_API_IMPL(), AMPI_Type_is_contiguous(), copyDatatype(), errorCheck(), getBuiltinReducerType(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gather(), handle_MPI_IN_PLACE_gatherv(), makeGatherMsg(), and makeGathervMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

int ampiErrhandler ( const char *  func,
int  errcode 
)

Definition at line 43 of file ampi.C.

Referenced by AMPI_API_IMPL(), checkBuf(), checkCommunicator(), checkCount(), checkData(), checkRank(), checkTag(), and errorCheck().

Here is the caller graph for this function:

CkpvDeclare ( CkListString  ,
msgSizesRanks   
)

int checkCommunicator ( const char *  func,
MPI_Comm  comm 
) [inline]

Definition at line 104 of file ampi.C.

References ampiErrhandler(), and comm.

Referenced by AMPI_API_IMPL(), and errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int checkCount ( const char *  func,
int  count 
) [inline]

Definition at line 110 of file ampi.C.

References ampiErrhandler(), and count.

Referenced by errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int checkData ( const char *  func,
MPI_Datatype  data 
) [inline]

Definition at line 116 of file ampi.C.

References ampiErrhandler(), and data.

Referenced by AMPI_API_IMPL(), and errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int checkTag ( const char *  func,
int  tag 
) [inline]

Definition at line 122 of file ampi.C.

References ampiErrhandler(), and tag.

Referenced by AMPI_API_IMPL(), and errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int checkRank ( const char *  func,
int  rank,
MPI_Comm  comm 
) [inline]

Definition at line 128 of file ampi.C.

References ampiErrhandler(), comm, getAmpiInstance(), rank, and size.

Referenced by errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int checkBuf ( const char *  func,
const void *  buf,
int  count 
) [inline]

Definition at line 138 of file ampi.C.

References ampiErrhandler(), buf, and count.

Referenced by errorCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

int errorCheck ( const char *  func,
MPI_Comm  comm,
bool  ifComm,
int  count,
bool  ifCount,
MPI_Datatype  data,
bool  ifData,
int  tag,
bool  ifTag,
int  rank,
bool  ifRank,
const void *  buf1,
bool  ifBuf1,
const void *  buf2 = nullptr,
bool  ifBuf2 = false 
)

Definition at line 144 of file ampi.C.

References ampiErrhandler(), checkBuf(), checkCommunicator(), checkCount(), checkData(), checkRank(), checkTag(), getAmpiParent(), and getDDT().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

void MPI_MAX_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 366 of file ampi.C.

void MPI_MIN_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 373 of file ampi.C.

void MPI_SUM_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 380 of file ampi.C.

void MPI_PROD_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 387 of file ampi.C.

void MPI_REPLACE_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 394 of file ampi.C.

void MPI_NO_OP_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 401 of file ampi.C.

void MPI_LAND_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 405 of file ampi.C.

void MPI_BAND_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 412 of file ampi.C.

void MPI_LOR_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 419 of file ampi.C.

void MPI_BOR_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 426 of file ampi.C.

void MPI_LXOR_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 433 of file ampi.C.

void MPI_BXOR_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 440 of file ampi.C.

void MPI_MAXLOC_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 451 of file ampi.C.

References ckerr, endl(), and idx.

Here is the call graph for this function:

void MPI_MINLOC_USER_FN ( void *  invec,
void *  inoutvec,
int len,
MPI_Datatype datatype 
)

Definition at line 525 of file ampi.C.

References ckerr, endl(), and idx.

Here is the call graph for this function:

CkReductionMsg* AmpiReducerFunc ( int  nMsg,
CkReductionMsg **  msgs 
)

Definition at line 618 of file ampi.C.

References CkReductionMsg::buildNew(), AmpiOpHeader::dtype, dtype, AmpiOpHeader::func, CkReductionMsg::getData(), AmpiOpHeader::len, len, and AmpiOpHeader::szdata.

Referenced by ampiNodeInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static CkReduction::reducerType getBuiltinReducerType ( MPI_Datatype  type,
MPI_Op  op 
) [static]

Definition at line 637 of file ampi.C.

References CkReduction::bitvec_and_bool, CkReduction::bitvec_and_int, CkReduction::bitvec_or_bool, CkReduction::bitvec_or_int, CkReduction::bitvec_xor_bool, CkReduction::bitvec_xor_int, getDDT(), CkReduction::invalid, CkReduction::logical_and_bool, CkReduction::logical_and_int, CkReduction::logical_or_bool, CkReduction::logical_or_int, CkReduction::logical_xor_bool, CkReduction::logical_xor_int, CkReduction::max_char, CkReduction::max_double, CkReduction::max_float, CkReduction::max_int, CkReduction::max_long, CkReduction::max_long_long, CkReduction::max_short, CkReduction::max_uchar, CkReduction::max_uint, CkReduction::max_ulong, CkReduction::max_ulong_long, CkReduction::max_ushort, CkReduction::min_char, CkReduction::min_double, CkReduction::min_float, CkReduction::min_int, CkReduction::min_long, CkReduction::min_long_long, CkReduction::min_short, CkReduction::min_uchar, CkReduction::min_uint, CkReduction::min_ulong, CkReduction::min_ulong_long, CkReduction::min_ushort, op, CkReduction::product_char, CkReduction::product_double, CkReduction::product_float, CkReduction::product_int, CkReduction::product_long, CkReduction::product_long_long, CkReduction::product_short, CkReduction::product_uchar, CkReduction::product_uint, CkReduction::product_ulong, CkReduction::product_ulong_long, CkReduction::product_ushort, CkReduction::sum_char, CkReduction::sum_double, CkReduction::sum_float, CkReduction::sum_int, CkReduction::sum_long, CkReduction::sum_long_long, CkReduction::sum_short, CkReduction::sum_uchar, CkReduction::sum_uint, CkReduction::sum_ulong, CkReduction::sum_ulong_long, CkReduction::sum_ushort, and type.

Referenced by makeRednMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

CLINKAGE void AMPI_Setup ( void   ) 

Definition at line 6 of file compat_ampius.C.

References _ampi_fallback_setup_count.

Referenced by AMPI_Setup_Switch().

Here is the caller graph for this function:

FLINKAGE void FTN_NAME ( AMPI_SETUP  ,
ampi_setup   
)

Definition at line 820 of file ampi.C.

References AMPI_Main_c(), AMPI_Main_cpp(), and FTN_NAME().

Here is the call graph for this function:

void ampiCreateMain ( MPI_MainFn  mainFn,
const char *  name,
int  nameLen 
)

Definition at line 1164 of file ampi.C.

References PUP::b, memBuf::getData(), memBuf::getSize(), pupIntoBuf(), PUP::s, TCHARM_Create_data(), and TCHARM_Get_num_chunks().

Referenced by AMPI_Register_main(), AMPI_Setup_Switch(), and FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

CLINKAGE void AMPI_Setup_Switch ( void   ) 

Definition at line 839 of file ampi.C.

References AMPI_Setup(), ampiCreateMain(), and FTN_NAME().

Referenced by ampiNodeInit().

Here is the call graph for this function:

Here is the caller graph for this function:

CtvDeclare ( ampiParent *  ,
ampiPtr   
)

CtvDeclare ( bool  ,
ampiInitDone   
)

CtvDeclare ( void *  ,
stackBottom   
)

CtvDeclare ( bool  ,
ampiFinalized   
)

CkpvDeclare ( Builtin_kvs  ,
bikvs   
)

CkpvDeclare ( int  ,
ampiThreadLevel   
)

CkpvDeclare ( AmpiMsgPool  ,
msgPool   
)

CLINKAGE long ampiCurrentStackUsage ( void   ) 

Definition at line 861 of file ampi.C.

Referenced by FTN_NAME().

Here is the caller graph for this function:

FLINKAGE void FTN_NAME ( AMPICURRENTSTACKUSAGE  ,
ampicurrentstackusage   
)

Definition at line 874 of file ampi.C.

References ampiCurrentStackUsage(), and Converse::CkMyPe().

Here is the call graph for this function:

CLINKAGE void AMPI_threadstart ( void *  data  ) 

Referenced by ampiNodeInit().

Here is the caller graph for this function:

CsvExtern ( funcmap ,
tcharm_funcmap   
)

static void getAmpiBinaryPath (  )  [static]

Definition at line 930 of file ampi.C.

References free(), malloc(), n, readlink(), and realloc().

Referenced by ampiNodeInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void ampiNodeInit (  )  [static]

static void BeginIdle ( void *  dummy,
double  curWallTime 
) [static]

Definition at line 1056 of file ampi.C.

References startT.

Referenced by AMPI_Install_idle_timer().

Here is the caller graph for this function:

static void EndIdle ( void *  dummy,
double  curWallTime 
) [static]

Definition at line 1060 of file ampi.C.

References startT.

Referenced by AMPI_Install_idle_timer().

Here is the caller graph for this function:

static void ampiProcInit (  )  [static]

static int record_msglog ( int  rank  )  [inline, static]

Definition at line 1111 of file ampi.C.

References CkListString::includes(), msgLogRanks, and rank.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

PUPfunctionpointer ( MPI_MainFn   ) 

Definition at line 1116 of file ampi.C.

References argc, argv, CkGetArgc(), CkGetArgv(), Converse::CkMyPe(), CmiCopyArgs(), p, and PUP::pup().

Here is the call graph for this function:

PUPmarshall ( MPI_threadstart_t   ) 

Definition at line 1150 of file ampi.C.

References CthSelf(), CthTraceResume(), pupFromBuf(), and PUP::t.

Here is the call graph for this function:

static void createCommSelf (  )  [static]

Definition at line 1182 of file ampi.C.

References getAmpiInstance(), MPI_Comm_group, MPI_Comm_set_name, MPI_Group_incl, and ranks.

Referenced by ampiInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static ampi* ampiInit ( char **  argv  )  [static]

Definition at line 1202 of file ampi.C.

References barrier, cb, Converse::CkMyPe(), createCommSelf(), TCharm::get(), getAmpiParent(), PUP::m, parent(), TCharm::semaGet(), CkArrayOptions::setSectionAutoDelegate(), TCHARM_Attach_start(), and TCHARM_Element().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

static void checkpointClient ( void *  param,
void *  msg 
) [static]

Definition at line 1616 of file ampi.C.

References ckptClientStruct::ampiPtr, ckptClientStruct::dname, and param.

Referenced by ArmciVirtualProcessor::startCheckpoint().

Here is the caller graph for this function:

static void AmmPupUnexpectedMsgs ( PUP::er p,
void **  msg 
) [static]

Definition at line 2109 of file ampi.C.

References CkPupMessage(), msg, and p.

Here is the call graph for this function:

static void AmmPupPostedReqs ( PUP::er p,
void **  msg 
) [static]

Definition at line 2114 of file ampi.C.

References msg, and p.

CLINKAGE int compareAmpiSplitKey ( const void *  a_,
const void *  b_ 
)

Definition at line 2236 of file ampi.C.

References PUP::a, PUP::b, ampiSplitKey::color, ampiSplitKey::key, and ampiSplitKey::rank.

const ampiCommStruct& universeComm2CommStruct ( MPI_Comm  universeNo  ) 

Definition at line 2615 of file ampi.C.

Referenced by final::comm2CommStruct().

Here is the caller graph for this function:

static AmpiRequestList & getReqs (  )  [inline, static]

Definition at line 2775 of file ampi.C.

References free(), and getAmpiParent().

Referenced by AMPI_API_IMPL(), checkRequest(), checkRequests(), and testRequestNoFree().

Here is the call graph for this function:

Here is the caller graph for this function:

static AmpiMsg* rdma2AmpiMsg ( char *  buf,
int  size,
CMK_REFNUM_TYPE  seq,
int  tag,
int  srcRank,
int  ssendReq 
) [inline, static]

Definition at line 2843 of file ampi.C.

References buf, msg, and size.

void handle_MPI_BOTTOM ( void *&  buf,
MPI_Datatype  type 
)

Definition at line 2922 of file ampi.C.

References getDDT(), CkDDT_DataType::getLB(), CkDDT::getType(), CkDDT_DataType::setAbsolute(), and type.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

void handle_MPI_BOTTOM ( void *&  buf1,
MPI_Datatype  type1,
void *&  buf2,
MPI_Datatype  type2 
)

Definition at line 2930 of file ampi.C.

References getDDT(), CkDDT_DataType::getLB(), CkDDT::getType(), and CkDDT_DataType::setAbsolute().

Here is the call graph for this function:

static void clearStatus ( MPI_Status sts  )  [inline, static]

Definition at line 3270 of file ampi.C.

Referenced by AMPI_API_IMPL(), clearStatus(), handle_MPI_PROC_NULL(), testRequest(), and testRequestNoFree().

Here is the caller graph for this function:

static void clearStatus ( MPI_Status  sts[],
int  idx 
) [inline, static]

Definition at line 3281 of file ampi.C.

References clearStatus().

Here is the call graph for this function:

static bool handle_MPI_PROC_NULL ( int  src,
MPI_Comm  comm,
MPI_Status sts 
) [inline, static]

Definition at line 3287 of file ampi.C.

References clearStatus(), and src.

Here is the call graph for this function:

int MPI_comm_null_copy_fn ( MPI_Comm  comm,
int  keyval,
void *  extra_state,
void *  attr_in,
void *  attr_out,
int flag 
)

Definition at line 3684 of file ampi.C.

int MPI_comm_dup_fn ( MPI_Comm  comm,
int  keyval,
void *  extra_state,
void *  attr_in,
void *  attr_out,
int flag 
)

Definition at line 3690 of file ampi.C.

int MPI_comm_null_delete_fn ( MPI_Comm  comm,
int  keyval,
void *  attr,
void *  extra_state 
)

Definition at line 3697 of file ampi.C.

int MPI_type_null_copy_fn ( MPI_Datatype  type,
int  keyval,
void *  extra_state,
void *  attr_in,
void *  attr_out,
int flag 
)

Definition at line 3701 of file ampi.C.

int MPI_type_dup_fn ( MPI_Datatype  type,
int  keyval,
void *  extra_state,
void *  attr_in,
void *  attr_out,
int flag 
)

Definition at line 3707 of file ampi.C.

int MPI_type_null_delete_fn ( MPI_Datatype  type,
int  keyval,
void *  attr,
void *  extra_state 
)

Definition at line 3714 of file ampi.C.

ampiParent* getAmpiParent (  ) 

ampi* getAmpiInstance ( MPI_Comm  comm  ) 

bool isAmpiThread (  ) 

Definition at line 3892 of file ampi.C.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

void checkComm ( MPI_Comm  comm  )  [inline]

Definition at line 3900 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

void checkRequest ( MPI_Request  req  )  [inline]

Definition at line 3906 of file ampi.C.

References AmpiRequestList::checkRequest(), and getReqs().

Referenced by AMPI_API_IMPL(), testRequest(), and testRequestNoFree().

Here is the call graph for this function:

Here is the caller graph for this function:

void checkRequests ( int  n,
MPI_Request reqs 
) [inline]

Definition at line 3912 of file ampi.C.

References AmpiRequestList::checkRequest(), and getReqs().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

int testRequest ( MPI_Request reqIdx,
int flag,
MPI_Status sts 
)

Definition at line 3920 of file ampi.C.

References checkRequest(), clearStatus(), AmpiRequestList::freeNonPersReq(), getAmpiParent(), AmpiRequest::test(), and AmpiRequest::wait().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

int testRequestNoFree ( MPI_Request reqIdx,
int flag,
MPI_Status sts 
)

Definition at line 3937 of file ampi.C.

References checkRequest(), clearStatus(), getReqs(), AmpiRequest::test(), and AmpiRequest::wait().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Is_thread_main  ,
int flag 
)

Definition at line 3952 of file ampi.C.

References isAmpiThread().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Query_thread  ,
int provided 
)

Definition at line 3963 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Init_thread  ,
int p_argc,
char ***  p_argv,
int  required,
int provided 
)

Definition at line 3970 of file ampi.C.

References ampiErrhandler(), and MPI_Init.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Init  ,
int p_argc,
char ***  p_argv 
)

Definition at line 3999 of file ampi.C.

References ampiInit(), argv, CkGetArgv(), and CmiGetArgc().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Initialized  ,
int isInit 
)

Definition at line 4017 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Finalized  ,
int isFinalized 
)

Definition at line 4029 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_rank  ,
MPI_Comm  comm,
int rank 
)

Definition at line 4036 of file ampi.C.

References checkCommunicator(), getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_size  ,
MPI_Comm  comm,
int size 
)

Definition at line 4064 of file ampi.C.

References checkCommunicator(), getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_compare  ,
MPI_Comm  comm1,
MPI_Comm  comm2,
int result 
)

Definition at line 4093 of file ampi.C.

References checkCommunicator(), and getAmpiInstance().

Here is the call graph for this function:

CLINKAGE void ampiMarkAtexit (  ) 

Definition at line 4141 of file ampi.C.

CLINKAGE void AMPI_Exit ( int  exitCode  ) 

Definition at line 4147 of file ampi.C.

References TCHARM_Done().

Referenced by AMPI_API_IMPL(), and FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

FLINKAGE void FTN_NAME ( MPI_EXIT  ,
mpi_exit   
)

Definition at line 4159 of file ampi.C.

References AMPI_Exit().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Finalize  ,
void   
)

Definition at line 4164 of file ampi.C.

References AMPI_Exit(), Converse::CkMyPe(), getAmpiParent(), and traceSuspend().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Send  ,
const void *  msg,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm 
)

Definition at line 4202 of file ampi.C.

References errorCheck(), getAmpiInstance(), handle_MPI_BOTTOM(), and msgLogRead.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Bsend  ,
const void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

Definition at line 4228 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Buffer_attach  ,
void *  buffer,
int  size 
)

Definition at line 4237 of file ampi.C.

References ampiErrhandler(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Buffer_detach  ,
void *  buffer,
int size 
)

Definition at line 4252 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Rsend  ,
const void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

Definition at line 4259 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Ssend  ,
const void *  msg,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm 
)

Definition at line 4267 of file ampi.C.

References errorCheck(), getAmpiInstance(), handle_MPI_BOTTOM(), and msgLogRead.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Issend  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 4292 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), I_SEND, msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Recv  ,
void *  msg,
int  count,
MPI_Datatype  type,
int  src,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)

Definition at line 4332 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Probe  ,
int  src,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)

Definition at line 4370 of file ampi.C.

References errorCheck(), and getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Iprobe  ,
int  src,
int  tag,
MPI_Comm  comm,
int flag,
MPI_Status status 
)

Definition at line 4385 of file ampi.C.

References errorCheck(), and getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Improbe  ,
int  source,
int  tag,
MPI_Comm  comm,
int flag,
MPI_Message message,
MPI_Status status 
)

Definition at line 4400 of file ampi.C.

References errorCheck(), and getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Imrecv  ,
void *  buf,
int  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Mprobe  ,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Message message,
MPI_Status status 
)

Definition at line 4465 of file ampi.C.

References errorCheck(), and getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Mrecv  ,
void *  buf,
int  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Status status 
)

AMPI_API_IMPL ( int  ,
MPI_Sendrecv  ,
const void *  sbuf,
int  scount,
MPI_Datatype  stype,
int  dest,
int  stag,
void *  rbuf,
int  rcount,
MPI_Datatype  rtype,
int  src,
int  rtag,
MPI_Comm  comm,
MPI_Status sts 
)

Definition at line 4571 of file ampi.C.

References errorCheck(), getAmpiInstance(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Sendrecv_replace  ,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  sendtag,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)

Definition at line 4624 of file ampi.C.

References errorCheck(), getAmpiInstance(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Barrier  ,
MPI_Comm  comm 
)

Definition at line 4666 of file ampi.C.

References checkCommunicator(), getAmpiInstance(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ibarrier  ,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 4706 of file ampi.C.

References AMPI_REQ_COMPLETED, checkCommunicator(), getAmpiInstance(), getAmpiParent(), and getDDT().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Bcast  ,
void *  buf,
int  count,
MPI_Datatype  type,
int  root,
MPI_Comm  comm 
)

Definition at line 4739 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ibcast  ,
void *  buf,
int  count,
MPI_Datatype  type,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

static CkReductionMsg* makeRednMsg ( CkDDT_DataType ddt,
const void *  inbuf,
int  count,
int  type,
int  rank,
int  size,
MPI_Op  op 
) [static]

static int copyDatatype ( MPI_Datatype  sendtype,
int  sendcount,
MPI_Datatype  recvtype,
int  recvcount,
const void *  inbuf,
void *  outbuf 
) [static]

Definition at line 4960 of file ampi.C.

References getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), inbuf, CkDDT_DataType::isContig(), outbuf, PACK, recvcount, recvtype, sendcount, sendtype, CkDDT_DataType::serialize(), and UNPACK.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE ( void *&  inbuf,
void *&  outbuf 
) [static]

Definition at line 4987 of file ampi.C.

References inbuf, and outbuf.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE_gather ( void *&  sendbuf,
void *  recvbuf,
int sendcount,
MPI_Datatype sendtype,
int  recvdispl,
int  recvcount,
MPI_Datatype  recvtype 
) [static]

Definition at line 4994 of file ampi.C.

References getDDT(), CkDDT::getExtent(), recvbuf, recvcount, recvtype, sendbuf, sendcount, and sendtype.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE_gatherv ( void *&  sendbuf,
void *  recvbuf,
int sendcount,
MPI_Datatype sendtype,
const int  recvdispls[],
const int  recvcounts[],
int  rank,
MPI_Datatype  recvtype 
) [static]

Definition at line 5009 of file ampi.C.

References getDDT(), CkDDT::getExtent(), recvbuf, recvcounts, recvtype, sendbuf, sendcount, and sendtype.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE_alltoall ( void *&  sendbuf,
void *  recvbuf,
int sendcount,
MPI_Datatype sendtype,
int  recvcount,
MPI_Datatype  recvtype 
) [static]

Definition at line 5026 of file ampi.C.

References recvbuf, recvcount, recvtype, sendbuf, sendcount, and sendtype.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE_alltoallv ( void *&  sendbuf,
void *  recvbuf,
int *&  sendcounts,
MPI_Datatype sendtype,
int *&  sdispls,
const int recvcounts,
MPI_Datatype  recvtype,
const int rdispls 
) [static]

Definition at line 5038 of file ampi.C.

References rdispls, recvbuf, recvcounts, recvtype, sdispls, sendbuf, sendcounts, and sendtype.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

static void handle_MPI_IN_PLACE_alltoallw ( void *&  sendbuf,
void *  recvbuf,
int *&  sendcounts,
MPI_Datatype *&  sendtypes,
int *&  sdispls,
const int recvcounts,
const MPI_Datatype recvtypes,
const int rdispls 
) [static]

Definition at line 5052 of file ampi.C.

References rdispls, recvbuf, recvcounts, recvtypes, sdispls, sendbuf, sendcounts, and sendtypes.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Reduce  ,
const void *  inbuf,
void *  outbuf,
int  count,
MPI_Datatype  type,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Allreduce  ,
const void *  inbuf,
void *  outbuf,
int  count,
MPI_Datatype  type,
MPI_Op  op,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Iallreduce  ,
const void *  inbuf,
void *  outbuf,
int  count,
MPI_Datatype  type,
MPI_Op  op,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Reduce_local  ,
const void *  inbuf,
void *  outbuf,
int  count,
MPI_Datatype  type,
MPI_Op  op 
)

Definition at line 5235 of file ampi.C.

References ampiErrhandler(), errorCheck(), getAmpiParent(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Reduce_scatter_block  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm 
)

Definition at line 5256 of file ampi.C.

References ampiErrhandler(), copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), MPI_Reduce, and MPI_Scatter.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ireduce_scatter_block  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 5288 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Reduce_scatter  ,
const void *  sendbuf,
void *  recvbuf,
const int recvcounts,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm 
)

Definition at line 5299 of file ampi.C.

References ampiErrhandler(), copyDatatype(), displs, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), MPI_Reduce, and MPI_Scatterv.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ireduce_scatter  ,
const void *  sendbuf,
void *  recvbuf,
const int recvcounts,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 5339 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Scan  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm 
)

Definition at line 5349 of file ampi.C.

References ampiErrhandler(), copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), and handle_MPI_IN_PLACE().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Iscan  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 5399 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Exscan  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm 
)

Definition at line 5409 of file ampi.C.

References ampiErrhandler(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), and handle_MPI_IN_PLACE().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Iexscan  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 5470 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Op_create  ,
MPI_User_function function,
int  commute,
MPI_Op op 
)

Definition at line 5480 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Op_free  ,
MPI_Op op 
)

Definition at line 5487 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Op_commutative  ,
MPI_Op  op,
int commute 
)

Definition at line 5495 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and int.

Here is the call graph for this function:

AMPI_API_IMPL ( double  ,
MPI_Wtime  ,
void   
)

Definition at line 5504 of file ampi.C.

References getAmpiParent(), msgLogRead, msgLogWrite, record_msglog(), and TCHARM_Wall_timer().

Here is the call graph for this function:

AMPI_API_IMPL ( double  ,
MPI_Wtick  ,
void   
)

Definition at line 5528 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Start  ,
MPI_Request request 
)

Definition at line 5534 of file ampi.C.

References ampiErrhandler(), checkRequest(), and getReqs().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Startall  ,
int  count,
MPI_Request requests 
)

Definition at line 5547 of file ampi.C.

References ampiErrhandler(), checkRequests(), and getReqs().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Wait  ,
MPI_Request request,
MPI_Status sts 
)

AMPI_API_IMPL ( int  ,
MPI_Waitall  ,
int  count,
MPI_Request  request[],
MPI_Status  sts[] 
)

AMPI_API_IMPL ( int  ,
MPI_Waitany  ,
int  count,
MPI_Request request,
int idx,
MPI_Status sts 
)

AMPI_API_IMPL ( int  ,
MPI_Waitsome  ,
int  incount,
MPI_Request array_of_requests,
int outcount,
int array_of_indices,
MPI_Status array_of_statuses 
)

AMPI_API_IMPL ( int  ,
MPI_Request_get_status  ,
MPI_Request  request,
int flag,
MPI_Status sts 
)

Definition at line 6231 of file ampi.C.

References getAmpiParent(), and testRequestNoFree().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Test  ,
MPI_Request request,
int flag,
MPI_Status sts 
)

Definition at line 6240 of file ampi.C.

References getAmpiParent(), and testRequest().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Testany  ,
int  count,
MPI_Request request,
int index,
int flag,
MPI_Status sts 
)

Definition at line 6249 of file ampi.C.

References checkRequests(), clearStatus(), getAmpiParent(), and testRequest().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Testall  ,
int  count,
MPI_Request request,
int flag,
MPI_Status sts 
)

Definition at line 6289 of file ampi.C.

References checkRequests(), clearStatus(), AmpiRequestList::freeNonPersReq(), getAmpiParent(), and AmpiRequest::wait().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Testsome  ,
int  incount,
MPI_Request array_of_requests,
int outcount,
int array_of_indices,
MPI_Status array_of_statuses 
)

Definition at line 6331 of file ampi.C.

References checkRequests(), clearStatus(), getAmpiParent(), and testRequest().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Request_free  ,
MPI_Request request 
)

Definition at line 6371 of file ampi.C.

References checkRequest(), AmpiRequestList::free(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Grequest_start  ,
MPI_Grequest_query_function query_fn,
MPI_Grequest_free_function free_fn,
MPI_Grequest_cancel_function cancel_fn,
void *  extra_state,
MPI_Request request 
)

Definition at line 6383 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Grequest_complete  ,
MPI_Request  request 
)

Definition at line 6395 of file ampi.C.

References AMPI_G_REQ, ampiErrhandler(), getAmpiParent(), and getReqs().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cancel  ,
MPI_Request request 
)

Definition at line 6415 of file ampi.C.

References AMPI_G_REQ, AMPI_I_REQ, ampiErrhandler(), AmpiRequest::cancel(), checkRequest(), getReqs(), and AmpiRequest::getType().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Test_cancelled  ,
const MPI_Status status,
int flag 
)

Definition at line 6431 of file ampi.C.

References MPI_Status::MPI_CANCEL.

AMPI_API_IMPL ( int  ,
MPI_Status_set_cancelled  ,
MPI_Status status,
int  flag 
)

Definition at line 6440 of file ampi.C.

References MPI_Status::MPI_CANCEL.

AMPI_API_IMPL ( int  ,
MPI_Recv_init  ,
void *  buf,
int  count,
MPI_Datatype  type,
int  src,
int  tag,
MPI_Comm  comm,
MPI_Request req 
)

Definition at line 6447 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Send_init  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request req 
)

Definition at line 6468 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Rsend_init  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request req 
)

Definition at line 6489 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Bsend_init  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request req 
)

Definition at line 6496 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Ssend_init  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request req 
)

Definition at line 6503 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_contiguous  ,
int  count,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6525 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newContiguous().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_vector  ,
int  count,
int  blocklength,
int  stride,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6539 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newVector().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_hvector  ,
int  count,
int  blocklength,
MPI_Aint  stride,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6554 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newHVector().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_hvector  ,
int  count,
int  blocklength,
MPI_Aint  stride,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6569 of file ampi.C.

References checkData(), and MPI_Type_create_hvector.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_indexed  ,
int  count,
const int arrBlength,
const int arrDisp,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6583 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newIndexed().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_hindexed  ,
int  count,
const int arrBlength,
const MPI_Aint arrDisp,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6602 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newHIndexed().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_hindexed  ,
int  count,
int arrBlength,
MPI_Aint arrDisp,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6617 of file ampi.C.

References checkData().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_indexed_block  ,
int  count,
int  Blength,
const int arr,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6631 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newIndexedBlock().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_hindexed_block  ,
int  count,
int  Blength,
const MPI_Aint arr,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6646 of file ampi.C.

References checkData(), getDDT(), and CkDDT::newHIndexedBlock().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_struct  ,
int  count,
const int arrBlength,
const MPI_Aint arrDisp,
const MPI_Datatype oldtype,
MPI_Datatype newtype 
)

Definition at line 6661 of file ampi.C.

References getDDT(), and CkDDT::newStruct().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_struct  ,
int  count,
int arrBlength,
MPI_Aint arrDisp,
MPI_Datatype oldtype,
MPI_Datatype newtype 
)

Definition at line 6669 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Type_commit  ,
MPI_Datatype datatype 
)

Definition at line 6676 of file ampi.C.

References checkData().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_free  ,
MPI_Datatype datatype 
)

Definition at line 6689 of file ampi.C.

References ampiErrhandler(), checkData(), CkDDT::freeType(), and getDDT().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_extent  ,
MPI_Datatype  datatype,
MPI_Aint lb,
MPI_Aint extent 
)

Definition at line 6709 of file ampi.C.

References checkData(), getDDT(), CkDDT::getExtent(), and CkDDT::getLB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_extent_x  ,
MPI_Datatype  datatype,
MPI_Count lb,
MPI_Count extent 
)

Definition at line 6724 of file ampi.C.

References checkData(), getDDT(), CkDDT::getExtent(), and CkDDT::getLB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_extent  ,
MPI_Datatype  datatype,
MPI_Aint extent 
)

Definition at line 6739 of file ampi.C.

References checkData().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_true_extent  ,
MPI_Datatype  datatype,
MPI_Aint true_lb,
MPI_Aint true_extent 
)

Definition at line 6753 of file ampi.C.

References checkData(), getDDT(), CkDDT::getTrueExtent(), and CkDDT::getTrueLB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_true_extent_x  ,
MPI_Datatype  datatype,
MPI_Count true_lb,
MPI_Count true_extent 
)

Definition at line 6768 of file ampi.C.

References checkData(), getDDT(), CkDDT::getTrueExtent(), and CkDDT::getTrueLB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_size  ,
MPI_Datatype  datatype,
int size 
)

Definition at line 6783 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getSize().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_size_x  ,
MPI_Datatype  datatype,
MPI_Count size 
)

Definition at line 6797 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getSize().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_set_name  ,
MPI_Datatype  datatype,
const char *  name 
)

Definition at line 6811 of file ampi.C.

References checkData(), getDDT(), and CkDDT::setName().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_name  ,
MPI_Datatype  datatype,
char *  name,
int resultlen 
)

Definition at line 6825 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getName().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_resized  ,
MPI_Datatype  oldtype,
MPI_Aint  lb,
MPI_Aint  extent,
MPI_Datatype newtype 
)

Definition at line 6839 of file ampi.C.

References checkData(), CkDDT::createResized(), and getDDT().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_dup  ,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 6854 of file ampi.C.

References checkData(), CkDDT::createDup(), and getDDT().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_set_attr  ,
MPI_Datatype  datatype,
int  keyval,
void *  attribute_val 
)

Definition at line 6868 of file ampi.C.

References ampiErrhandler(), checkData(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_attr  ,
MPI_Datatype  datatype,
int  keyval,
void *  attribute_val,
int flag 
)

Definition at line 6884 of file ampi.C.

References ampiErrhandler(), checkData(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_delete_attr  ,
MPI_Datatype  datatype,
int  keyval 
)

Definition at line 6901 of file ampi.C.

References ampiErrhandler(), checkData(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_keyval  ,
MPI_Type_copy_attr_function copy_fn,
MPI_Type_delete_attr_function delete_fn,
int keyval,
void *  extra_state 
)

Definition at line 6917 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Type_free_keyval  ,
int keyval 
)

Definition at line 6925 of file ampi.C.

References MPI_Comm_free_keyval.

static int MPIOI_Type_block ( const int  array_of_gsizes[],
int  dim,
int  ndims,
int  nprocs,
int  rank,
int  darg,
int  order,
MPI_Aint  orig_extent,
MPI_Datatype  type_old,
MPI_Datatype type_new,
MPI_Aint st_offset 
) [static]

Definition at line 6931 of file ampi.C.

References min(), MPI_Type_contiguous, and stride.

Referenced by ADIO_Type_create_darray(), AMPI_API_IMPL(), and Type_convert_darray().

Here is the call graph for this function:

Here is the caller graph for this function:

static int MPIOI_Type_cyclic ( const int  array_of_gsizes[],
int  dim,
int  ndims,
int  nprocs,
int  rank,
int  darg,
int  order,
MPI_Aint  orig_extent,
MPI_Datatype  type_old,
MPI_Datatype type_new,
MPI_Aint st_offset 
) [static]

Definition at line 6993 of file ampi.C.

References min(), MPI_Type_free, MPI_Type_struct, and stride.

Referenced by ADIO_Type_create_darray(), AMPI_API_IMPL(), and Type_convert_darray().

Here is the call graph for this function:

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_darray  ,
int  size,
int  rank,
int  ndims,
const int  array_of_gsizes[],
const int  array_of_distribs[],
const int  array_of_dargs[],
const int  array_of_psizes[],
int  order,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 7081 of file ampi.C.

References coords, free(), malloc(), MPI_Type_free, MPI_Type_struct, MPIOI_Type_block(), and MPIOI_Type_cyclic().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_create_subarray  ,
int  ndims,
const int  array_of_sizes[],
const int  array_of_subsizes[],
const int  array_of_starts[],
int  order,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)

Definition at line 7209 of file ampi.C.

References MPI_Type_contiguous, MPI_Type_free, and MPI_Type_struct.

AMPI_API_IMPL ( int  ,
MPI_Isend  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 7298 of file ampi.C.

References errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), I_SEND, msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ibsend  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 7335 of file ampi.C.

References MPI_Isend.

AMPI_API_IMPL ( int  ,
MPI_Irsend  ,
const void *  buf,
int  count,
MPI_Datatype  type,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 7342 of file ampi.C.

References MPI_Isend.

AMPI_API_IMPL ( int  ,
MPI_Irecv  ,
void *  buf,
int  count,
MPI_Datatype  type,
int  src,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 7409 of file ampi.C.

References errorCheck(), getAmpiInstance(), and handle_MPI_BOTTOM().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ireduce  ,
const void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  type,
MPI_Op  op,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

static CkReductionMsg* makeGatherMsg ( const void *  inbuf,
int  count,
MPI_Datatype  type,
int  rank,
int  size 
) [static]

Definition at line 7480 of file ampi.C.

References CkReductionMsg::buildFromTuple(), CkReduction::concat, getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), inbuf, CkDDT_DataType::isContig(), max(), PACK, sbuf, and CkDDT_DataType::serialize().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

static CkReductionMsg* makeGathervMsg ( const void *  inbuf,
int  count,
MPI_Datatype  type,
int  rank,
int  size 
) [static]

Definition at line 7509 of file ampi.C.

References CkReductionMsg::buildFromTuple(), CkReduction::concat, getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), inbuf, CkDDT_DataType::isContig(), max(), PACK, sbuf, and CkDDT_DataType::serialize().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Allgather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 7539 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gather(), makeGatherMsg(), and CkReductionMsg::setCallback().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Iallgather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Allgatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 7631 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gatherv(), makeGathervMsg(), and CkReductionMsg::setCallback().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Iallgatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Gather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Igather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Gatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Igatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Scatter  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Iscatter  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Scatterv  ,
const void *  sendbuf,
const int sendcounts,
const int displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Iscatterv  ,
const void *  sendbuf,
const int sendcounts,
const int displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Alltoall  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Ialltoall  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Alltoallv  ,
const void *  sendbuf,
const int sendcounts,
const int sdispls,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int rdispls,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

AMPI_API_IMPL ( int  ,
MPI_Ialltoallv  ,
void *  sendbuf,
int sendcounts,
int sdispls,
MPI_Datatype  sendtype,
void *  recvbuf,
int recvcounts,
int rdispls,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

AMPI_API_IMPL ( int  ,
MPI_Alltoallw  ,
const void *  sendbuf,
const int sendcounts,
const int sdispls,
const MPI_Datatype sendtypes,
void *  recvbuf,
const int recvcounts,
const int rdispls,
const MPI_Datatype recvtypes,
MPI_Comm  comm 
)

Definition at line 8664 of file ampi.C.

References copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoallw(), I_SEND, min(), and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ialltoallw  ,
const void *  sendbuf,
const int sendcounts,
const int sdispls,
const MPI_Datatype sendtypes,
void *  recvbuf,
const int recvcounts,
const int rdispls,
const MPI_Datatype recvtypes,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 8753 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoallw(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Neighbor_alltoall  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 8816 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), I_SEND, and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ineighbor_alltoall  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 8865 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Neighbor_alltoallv  ,
const void *  sendbuf,
const int sendcounts,
const int sdispls,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int rdispls,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 8921 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), I_SEND, and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ineighbor_alltoallv  ,
const void *  sendbuf,
const int sendcounts,
const int sdispls,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int rdispls,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 8970 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Neighbor_alltoallw  ,
const void *  sendbuf,
const int sendcounts,
const MPI_Aint sdispls,
const MPI_Datatype sendtypes,
void *  recvbuf,
const int recvcounts,
const MPI_Aint rdispls,
const MPI_Datatype recvtypes,
MPI_Comm  comm 
)

Definition at line 9027 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), I_SEND, and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ineighbor_alltoallw  ,
const void *  sendbuf,
const int sendcounts,
const MPI_Aint sdispls,
const MPI_Datatype sendtypes,
void *  recvbuf,
const int recvcounts,
const MPI_Aint rdispls,
const MPI_Datatype recvtypes,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 9074 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), handle_MPI_BOTTOM(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Neighbor_allgather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 9129 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), I_SEND, and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ineighbor_allgather  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 9177 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Neighbor_allgatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 9232 of file ampi.C.

References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), I_SEND, and MPI_Waitall.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Ineighbor_allgatherv  ,
const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
const int recvcounts,
const int displs,
MPI_Datatype  recvtype,
MPI_Comm  comm,
MPI_Request request 
)

Definition at line 9278 of file ampi.C.

References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), and I_SEND.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_dup  ,
MPI_Comm  comm,
MPI_Comm newcomm 
)

Definition at line 9333 of file ampi.C.

References ampiErrhandler(), getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_idup  ,
MPI_Comm  comm,
MPI_Comm newcomm,
MPI_Request request 
)

Definition at line 9356 of file ampi.C.

References MPI_Comm_dup.

AMPI_API_IMPL ( int  ,
MPI_Comm_dup_with_info  ,
MPI_Comm  comm,
MPI_Info  info,
MPI_Comm dest 
)

Definition at line 9364 of file ampi.C.

References MPI_Comm_dup, and MPI_Comm_set_info.

AMPI_API_IMPL ( int  ,
MPI_Comm_idup_with_info  ,
MPI_Comm  comm,
MPI_Info  info,
MPI_Comm dest,
MPI_Request request 
)

Definition at line 9372 of file ampi.C.

References MPI_Comm_dup_with_info.

AMPI_API_IMPL ( int  ,
MPI_Comm_split  ,
MPI_Comm  src,
int  color,
int  key,
MPI_Comm dest 
)

Definition at line 9380 of file ampi.C.

References getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_split_type  ,
MPI_Comm  src,
int  split_type,
int  key,
MPI_Info  info,
MPI_Comm dest 
)

Definition at line 9417 of file ampi.C.

References BGConverse::CkMyNode(), Converse::CkMyPe(), CmiPhysicalNodeID(), color, and MPI_Comm_split.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_free  ,
MPI_Comm comm 
)

Definition at line 9442 of file ampi.C.

References ampiErrhandler(), getAmpiInstance(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_test_inter  ,
MPI_Comm  comm,
int flag 
)

Definition at line 9462 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_remote_size  ,
MPI_Comm  comm,
int size 
)

Definition at line 9469 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_remote_group  ,
MPI_Comm  comm,
MPI_Group group 
)

Definition at line 9476 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Intercomm_create  ,
MPI_Comm  localComm,
int  localLeader,
MPI_Comm  peerComm,
int  remoteLeader,
int  tag,
MPI_Comm newintercomm 
)

Definition at line 9483 of file ampi.C.

References ampiErrhandler(), getAmpiInstance(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Intercomm_merge  ,
MPI_Comm  intercomm,
int  high,
MPI_Comm newintracomm 
)

Definition at line 9528 of file ampi.C.

References ampiErrhandler(), getAmpiInstance(), getAmpiParent(), I_SEND, and MPI_Wait.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Abort  ,
MPI_Comm  comm,
int  errorcode 
)

Definition at line 9562 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Get_count  ,
const MPI_Status sts,
MPI_Datatype  dtype,
int count 
)

Definition at line 9569 of file ampi.C.

References getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_lb  ,
MPI_Datatype  dtype,
MPI_Aint displacement 
)

Definition at line 9586 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getLB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_ub  ,
MPI_Datatype  dtype,
MPI_Aint displacement 
)

Definition at line 9600 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getUB().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Get_address  ,
const void *  location,
MPI_Aint address 
)

Definition at line 9614 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Address  ,
void *  location,
MPI_Aint address 
)

Definition at line 9621 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Status_set_elements  ,
MPI_Status sts,
MPI_Datatype  dtype,
int  count 
)

Definition at line 9627 of file ampi.C.

References checkData(), CkDDT_DataType::getBaseSize(), getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Status_set_elements_x  ,
MPI_Status sts,
MPI_Datatype  dtype,
MPI_Count  count 
)

Definition at line 9646 of file ampi.C.

References checkData(), CkDDT_DataType::getBaseSize(), getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Get_elements  ,
const MPI_Status sts,
MPI_Datatype  dtype,
int count 
)

Definition at line 9665 of file ampi.C.

References checkData(), getDDT(), CkDDT_DataType::getNumBasicElements(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Get_elements_x  ,
const MPI_Status sts,
MPI_Datatype  dtype,
MPI_Count count 
)

Definition at line 9679 of file ampi.C.

References getDDT(), CkDDT_DataType::getNumBasicElements(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Pack  ,
const void *  inbuf,
int  incount,
MPI_Datatype  dtype,
void *  outbuf,
int  outsize,
int position,
MPI_Comm  comm 
)

Definition at line 9686 of file ampi.C.

References getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), PACK, and CkDDT_DataType::serialize().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Unpack  ,
const void *  inbuf,
int  insize,
int position,
void *  outbuf,
int  outcount,
MPI_Datatype  dtype,
MPI_Comm  comm 
)

Definition at line 9697 of file ampi.C.

References getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), CkDDT_DataType::serialize(), and UNPACK.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Pack_size  ,
int  incount,
MPI_Datatype  datatype,
MPI_Comm  comm,
int sz 
)

Definition at line 9708 of file ampi.C.

References getDDT(), CkDDT_DataType::getSize(), and CkDDT::getType().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Get_version  ,
int version,
int subversion 
)

Definition at line 9716 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Get_library_version  ,
char *  version,
int resultlen 
)

Definition at line 9724 of file ampi.C.

References CmiCommitID.

AMPI_API_IMPL ( int  ,
MPI_Get_processor_name  ,
char *  name,
int resultlen 
)

Definition at line 9734 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

void error_handler ( MPI_Comm ,
int ,
  ... 
)

void error_handler ( MPI_Comm ,
int  
)

AMPI_API_IMPL ( int  ,
MPI_Comm_call_errhandler  ,
MPI_Comm  comm,
int  errorcode 
)

Definition at line 9750 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_create_errhandler  ,
MPI_Comm_errhandler_fn function,
MPI_Errhandler errhandler 
)

Definition at line 9756 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_set_errhandler  ,
MPI_Comm  comm,
MPI_Errhandler  errhandler 
)

Definition at line 9762 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_get_errhandler  ,
MPI_Comm  comm,
MPI_Errhandler errhandler 
)

Definition at line 9768 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_free_errhandler  ,
MPI_Errhandler errhandler 
)

Definition at line 9774 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Errhandler_create  ,
MPI_Handler_function function,
MPI_Errhandler errhandler 
)

Definition at line 9781 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Errhandler_set  ,
MPI_Comm  comm,
MPI_Errhandler  errhandler 
)

Definition at line 9787 of file ampi.C.

References MPI_Comm_set_errhandler.

AMPI_API_IMPL ( int  ,
MPI_Errhandler_get  ,
MPI_Comm  comm,
MPI_Errhandler errhandler 
)

Definition at line 9793 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Errhandler_free  ,
MPI_Errhandler errhandler 
)

Definition at line 9799 of file ampi.C.

References MPI_Comm_free_errhandler.

AMPI_API_IMPL ( int  ,
MPI_Add_error_code  ,
int  errorclass,
int errorcode 
)

Definition at line 9805 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Add_error_class  ,
int errorclass 
)

Definition at line 9811 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Add_error_string  ,
int  errorcode,
const char *  errorstring 
)

Definition at line 9817 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Error_class  ,
int  errorcode,
int errorclass 
)

Definition at line 9823 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Error_string  ,
int  errorcode,
char *  errorstring,
int resultlen 
)

Definition at line 9830 of file ampi.C.

References r.

AMPI_API_IMPL ( int  ,
MPI_Comm_group  ,
MPI_Comm  comm,
MPI_Group group 
)

Definition at line 9953 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_union  ,
MPI_Group  group1,
MPI_Group  group2,
MPI_Group newgroup 
)

Definition at line 9960 of file ampi.C.

References getAmpiParent(), and unionOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_intersection  ,
MPI_Group  group1,
MPI_Group  group2,
MPI_Group newgroup 
)

Definition at line 9971 of file ampi.C.

References getAmpiParent(), and intersectOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_difference  ,
MPI_Group  group1,
MPI_Group  group2,
MPI_Group newgroup 
)

Definition at line 9982 of file ampi.C.

References diffOp(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_size  ,
MPI_Group  group,
int size 
)

Definition at line 9993 of file ampi.C.

References getAmpiParent(), and size.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_rank  ,
MPI_Group  group,
int rank 
)

Definition at line 10000 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_translate_ranks  ,
MPI_Group  group1,
int  n,
const int ranks1,
MPI_Group  group2,
int ranks2 
)

Definition at line 10007 of file ampi.C.

References getAmpiParent(), and translateRanksOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_compare  ,
MPI_Group  group1,
MPI_Group  group2,
int result 
)

Definition at line 10018 of file ampi.C.

References compareVecOp(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_incl  ,
MPI_Group  group,
int  n,
const int ranks,
MPI_Group newgroup 
)

Definition at line 10028 of file ampi.C.

References getAmpiParent(), and inclOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_excl  ,
MPI_Group  group,
int  n,
const int ranks,
MPI_Group newgroup 
)

Definition at line 10038 of file ampi.C.

References exclOp(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_range_incl  ,
MPI_Group  group,
int  n,
int  ranges[][3],
MPI_Group newgroup 
)

Definition at line 10048 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and rangeInclOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_range_excl  ,
MPI_Group  group,
int  n,
int  ranges[][3],
MPI_Group newgroup 
)

Definition at line 10064 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and rangeExclOp().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Group_free  ,
MPI_Group group 
)

Definition at line 10080 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_create  ,
MPI_Comm  comm,
MPI_Group  group,
MPI_Comm newcomm 
)

Definition at line 10086 of file ampi.C.

References color, getAmpiInstance(), getAmpiParent(), MPI_Comm_group, MPI_Comm_split, and MPI_Group_translate_ranks.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_create_group  ,
MPI_Comm  comm,
MPI_Group  group,
int  tag,
MPI_Comm newcomm 
)

AMPI_API_IMPL ( int  ,
MPI_Comm_set_name  ,
MPI_Comm  comm,
const char *  comm_name 
)

Definition at line 10189 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_get_name  ,
MPI_Comm  comm,
char *  comm_name,
int resultlen 
)

Definition at line 10196 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_set_info  ,
MPI_Comm  comm,
MPI_Info  info 
)

Definition at line 10203 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_get_info  ,
MPI_Comm  comm,
MPI_Info info 
)

Definition at line 10210 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Comm_create_keyval  ,
MPI_Comm_copy_attr_function copy_fn,
MPI_Comm_delete_attr_function delete_fn,
int keyval,
void *  extra_state 
)

Definition at line 10218 of file ampi.C.

References ampiErrhandler(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_free_keyval  ,
int keyval 
)

Definition at line 10227 of file ampi.C.

References ampiErrhandler(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_set_attr  ,
MPI_Comm  comm,
int  keyval,
void *  attribute_val 
)

Definition at line 10235 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and ampiCommStruct::getKeyvals().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_get_attr  ,
MPI_Comm  comm,
int  keyval,
void *  attribute_val,
int flag 
)

Definition at line 10245 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and ampiCommStruct::getKeyvals().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Comm_delete_attr  ,
MPI_Comm  comm,
int  keyval 
)

Definition at line 10255 of file ampi.C.

References ampiErrhandler(), getAmpiParent(), and ampiCommStruct::getKeyvals().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Keyval_create  ,
MPI_Copy_function copy_fn,
MPI_Delete_function delete_fn,
int keyval,
void *  extra_state 
)

Definition at line 10265 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Keyval_free  ,
int keyval 
)

Definition at line 10272 of file ampi.C.

References MPI_Comm_free_keyval.

AMPI_API_IMPL ( int  ,
MPI_Attr_put  ,
MPI_Comm  comm,
int  keyval,
void *  attribute_val 
)

Definition at line 10278 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Attr_get  ,
MPI_Comm  comm,
int  keyval,
void *  attribute_val,
int flag 
)

Definition at line 10284 of file ampi.C.

References MPI_Comm_get_attr.

AMPI_API_IMPL ( int  ,
MPI_Attr_delete  ,
MPI_Comm  comm,
int  keyval 
)

Definition at line 10290 of file ampi.C.

AMPI_API_IMPL ( int  ,
MPI_Cart_map  ,
MPI_Comm  comm,
int  ndims,
const int dims,
const int periods,
int newrank 
)

Definition at line 10296 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Graph_map  ,
MPI_Comm  comm,
int  nnodes,
const int index,
const int edges,
int newrank 
)

Definition at line 10322 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cart_create  ,
MPI_Comm  comm_old,
int  ndims,
const int dims,
const int periods,
int  reorder,
MPI_Comm comm_cart 
)

AMPI_API_IMPL ( int  ,
MPI_Graph_create  ,
MPI_Comm  comm_old,
int  nnodes,
const int index,
const int edges,
int  reorder,
MPI_Comm comm_graph 
)

Definition at line 10371 of file ampi.C.

References getAmpiInstance(), getAmpiParent(), ampiTopology::setedges(), ampiTopology::setindex(), ampiTopology::setnbors(), and ampiTopology::setnvertices().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Dist_graph_create_adjacent  ,
MPI_Comm  comm_old,
int  indegree,
const int  sources[],
const int  sourceweights[],
int  outdegree,
const int  destinations[],
const int  destweights[],
MPI_Info  info,
int  reorder,
MPI_Comm comm_dist_graph 
)

AMPI_API_IMPL ( int  ,
MPI_Dist_graph_create  ,
MPI_Comm  comm_old,
int  n,
const int  sources[],
const int  degrees[],
const int  destinations[],
const int  weights[],
MPI_Info  info,
int  reorder,
MPI_Comm comm_dist_graph 
)

AMPI_API_IMPL ( int  ,
MPI_Topo_test  ,
MPI_Comm  comm,
int status 
)

Definition at line 10597 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cartdim_get  ,
MPI_Comm  comm,
int ndims 
)

Definition at line 10614 of file ampi.C.

References ampiErrhandler(), and getAmpiParent().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cart_get  ,
MPI_Comm  comm,
int  maxdims,
int dims,
int periods,
int coords 
)

AMPI_API_IMPL ( int  ,
MPI_Cart_rank  ,
MPI_Comm  comm,
const int coords,
int rank 
)

Definition at line 10661 of file ampi.C.

References ampiErrhandler(), c, dims, getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiTopology::getperiods(), ampiCommStruct::getTopology(), periods, and r.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cart_coords  ,
MPI_Comm  comm,
int  rank,
int  maxdims,
int coords 
)

Definition at line 10701 of file ampi.C.

References ampiErrhandler(), c, dims, getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiCommStruct::getTopology(), and int.

Here is the call graph for this function:

static void cart_clamp_coord ( MPI_Comm  comm,
const vector< int > &  dims,
const vector< int > &  periodicity,
int coords,
int  direction,
int  displacement,
int rank_out 
) [static]

Definition at line 10726 of file ampi.C.

References MPI_Cart_rank.

Referenced by AMPI_API_IMPL().

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cart_shift  ,
MPI_Comm  comm,
int  direction,
int  disp,
int rank_source,
int rank_dest 
)

AMPI_API_IMPL ( int  ,
MPI_Graphdims_get  ,
MPI_Comm  comm,
int nnodes,
int nedges 
)

Definition at line 10780 of file ampi.C.

References c, getAmpiParent(), ampiTopology::getindex(), ampiTopology::getnvertices(), ampiCommStruct::getTopology(), and index.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Graph_get  ,
MPI_Comm  comm,
int  maxindex,
int  maxedges,
int index,
int edges 
)

Definition at line 10793 of file ampi.C.

References ampiErrhandler(), c, getAmpiParent(), ampiTopology::getedges(), ampiTopology::getindex(), and ampiCommStruct::getTopology().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Graph_neighbors_count  ,
MPI_Comm  comm,
int  rank,
int nneighbors 
)

Definition at line 10820 of file ampi.C.

References ampiErrhandler(), c, getAmpiParent(), ampiTopology::getindex(), ampiCommStruct::getTopology(), and index.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Graph_neighbors  ,
MPI_Comm  comm,
int  rank,
int  maxneighbors,
int neighbors 
)

Definition at line 10846 of file ampi.C.

References ampiErrhandler(), c, edges, getAmpiParent(), ampiTopology::getedges(), ampiTopology::getindex(), ampiCommStruct::getTopology(), and index.

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Dist_graph_neighbors_count  ,
MPI_Comm  comm,
int indegree,
int outdegree,
int weighted 
)

AMPI_API_IMPL ( int  ,
MPI_Dist_graph_neighbors  ,
MPI_Comm  comm,
int  maxindegree,
int  sources[],
int  sourceweights[],
int  maxoutdegree,
int  destinations[],
int  destweights[] 
)

int integerRoot ( int  n,
int  d 
)

Return the integer "d'th root of n"-- the largest integer r such that r^d <= n.

Definition at line 10979 of file ampi.C.

References PUP::d, and cg3d::epsilon.

Referenced by factors().

Here is the caller graph for this function:

bool factors ( int  n,
int  d,
int dims,
int  m 
)

Factorize "n" into "d" factors, stored in "dims[0..d-1]".

All the factors must be greater than or equal to m. The factors are chosen so that they are all as near together as possible (technically, chosen so that the increasing-size ordering is lexicagraphically as large as possible).

Definition at line 10992 of file ampi.C.

References PUP::d, dims, integerRoot(), and PUP::m.

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Dims_create  ,
int  nnodes,
int  ndims,
int dims 
)

Definition at line 11014 of file ampi.C.

References ampiErrhandler(), PUP::d, and factors().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Cart_sub  ,
MPI_Comm  comm,
const int remain_dims,
MPI_Comm newcomm 
)

AMPI_API_IMPL ( int  ,
MPI_Type_get_envelope  ,
MPI_Datatype  datatype,
int ni,
int na,
int nd,
int combiner 
)

Definition at line 11132 of file ampi.C.

References checkData(), getDDT(), and CkDDT::getEnvelope().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Type_get_contents  ,
MPI_Datatype  datatype,
int  ni,
int  na,
int  nd,
int  i[],
MPI_Aint  a[],
MPI_Datatype  d[] 
)

Definition at line 11146 of file ampi.C.

References checkData(), CkDDT::getContents(), and getDDT().

Here is the call graph for this function:

AMPI_API_IMPL ( int  ,
MPI_Pcontrol  ,
const int  level,
  ... 
)

Definition at line 11160 of file ampi.C.

CLINKAGE int AMPI_Init_universe ( int unicomm  ) 

Definition at line 11169 of file ampi.C.

CLINKAGE char** AMPI_Get_argv (  ) 

Definition at line 11178 of file ampi.C.

References CkGetArgv().

Here is the call graph for this function:

CLINKAGE int AMPI_Get_argc (  ) 

Definition at line 11183 of file ampi.C.

References CkGetArgc().

Here is the call graph for this function:

CLINKAGE int AMPI_Migrate ( MPI_Info  hints  ) 

CLINKAGE int AMPI_Evacuate ( void   ) 

Definition at line 11277 of file ampi.C.

References TCHARM_Evacuate().

Here is the call graph for this function:

CLINKAGE int AMPI_Migrate_to_pe ( int  dest  ) 

Definition at line 11286 of file ampi.C.

References TCHARM_Migrate_to().

Here is the call graph for this function:

CLINKAGE int AMPI_Set_migratable ( int  mig  ) 

Definition at line 11297 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Load_start_measure ( void   ) 

Definition at line 11309 of file ampi.C.

References LBTurnInstrumentOn().

Here is the call graph for this function:

CLINKAGE int AMPI_Load_stop_measure ( void   ) 

Definition at line 11317 of file ampi.C.

References LBTurnInstrumentOff().

Here is the call graph for this function:

CLINKAGE int AMPI_Load_reset_measure ( void   ) 

Definition at line 11325 of file ampi.C.

References LBClearLoads().

Here is the call graph for this function:

CLINKAGE int AMPI_Load_set_value ( double  value  ) 

Definition at line 11333 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

void _registerampif ( void   ) 

Definition at line 11341 of file ampi.C.

CLINKAGE int AMPI_Register_main ( MPI_MainFn  mainFn,
const char *  name 
)

Definition at line 11346 of file ampi.C.

References ampiCreateMain(), and TCHARM_Element().

Here is the call graph for this function:

FLINKAGE void FTN_NAME ( MPI_REGISTER_MAIN  ,
mpi_register_main   
)

Definition at line 11357 of file ampi.C.

References ampiCreateMain(), and TCHARM_Element().

Here is the call graph for this function:

CLINKAGE int AMPI_Register_pup ( MPI_PupFn  fn,
void *  data,
int idx 
)

Definition at line 11368 of file ampi.C.

References TCHARM_Register().

Here is the call graph for this function:

CLINKAGE int AMPI_Register_about_to_migrate ( MPI_MigrateFn  fn  ) 

Definition at line 11376 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Register_just_migrated ( MPI_MigrateFn  fn  ) 

Definition at line 11385 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Get_pup_data ( int  idx,
void *  data 
)

Definition at line 11394 of file ampi.C.

References TCHARM_Get_userdata().

Here is the call graph for this function:

CLINKAGE int AMPI_Type_is_contiguous ( MPI_Datatype  datatype,
int flag 
)

Definition at line 11402 of file ampi.C.

References getDDT(), and CkDDT::isContig().

Here is the call graph for this function:

CLINKAGE int AMPI_Print ( const char *  str  ) 

Definition at line 11410 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Suspend ( void   ) 

Definition at line 11419 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Yield ( void   ) 

Definition at line 11427 of file ampi.C.

References getAmpiParent().

Here is the call graph for this function:

CLINKAGE int AMPI_Resume ( int  dest,
MPI_Comm  comm 
)

Definition at line 11435 of file ampi.C.

References getAmpiInstance().

Here is the call graph for this function:

CLINKAGE int AMPI_System ( const char *  cmd  ) 

Definition at line 11443 of file ampi.C.

References TCHARM_System().

Here is the call graph for this function:

CLINKAGE int AMPI_Trace_begin ( void   ) 

Definition at line 11449 of file ampi.C.

References traceBegin().

Here is the call graph for this function:

CLINKAGE int AMPI_Trace_end ( void   ) 

Definition at line 11456 of file ampi.C.

References traceEnd().

Here is the call graph for this function:

int AMPI_Install_idle_timer ( void   ) 

Definition at line 11462 of file ampi.C.

References BeginIdle(), CcdCallOnConditionKeep(), and EndIdle().

Here is the call graph for this function:

int AMPI_Uninstall_idle_timer ( void   ) 

Definition at line 11471 of file ampi.C.

References CcdCancelCallOnConditionKeep().

Here is the call graph for this function:

void startCFnCall ( void *  param,
void *  msg 
)

Definition at line 11481 of file ampi.C.

References BgSetStartEvent().

Referenced by AMPI_Set_start_event().

Here is the call graph for this function:

Here is the caller graph for this function:

CLINKAGE int AMPI_Set_start_event ( MPI_Comm  comm  ) 

Definition at line 11490 of file ampi.C.

References Converse::CkMyPe(), getAmpiInstance(), makeRednMsg(), CkReductionMsg::setCallback(), and startCFnCall().

Here is the call graph for this function:

CLINKAGE int AMPI_Set_end_event ( void   ) 

Definition at line 11516 of file ampi.C.

void AMPI_GPU_complete ( void *  request,
void *  dummy 
)

Definition at line 11565 of file ampi.C.

References AmpiRequest::buf, and GPUReq::setComplete().

Referenced by AMPI_GPU_Iinvoke(), and AMPI_GPU_Iinvoke_wr().

Here is the call graph for this function:

Here is the caller graph for this function:

CLINKAGE int AMPI_GPU_Iinvoke_wr ( hapiWorkRequest *  to_call,
MPI_Request request 
)

Definition at line 11575 of file ampi.C.

References AMPI_GPU_complete(), getAmpiInstance(), and GPUReq::GPUReq().

Here is the call graph for this function:

CLINKAGE int AMPI_GPU_Iinvoke ( cudaStream_t  stream,
MPI_Request request 
)

Definition at line 11593 of file ampi.C.

References AMPI_GPU_complete(), getAmpiInstance(), and GPUReq::GPUReq().

Referenced by AMPI_GPU_Invoke().

Here is the call graph for this function:

Here is the caller graph for this function:

CLINKAGE int AMPI_GPU_Invoke_wr ( hapiWorkRequest *  to_call  ) 

Definition at line 11608 of file ampi.C.

References AMPI_GPU_Iinvoke_wr, and MPI_Wait.

CLINKAGE int AMPI_GPU_Invoke ( cudaStream_t  stream  ) 

Definition at line 11620 of file ampi.C.

References AMPI_GPU_Iinvoke(), and MPI_Wait.

Here is the call graph for this function:


Variable Documentation

const char* const CmiCommitID

mpi_comm_worlds mpi_worlds [static]

Definition at line 191 of file ampi.C.

Definition at line 193 of file ampi.C.

int MPI_COMM_UNIVERSE[MPI_MAX_COMM_WORLDS]

Definition at line 194 of file ampi.C.

Definition at line 615 of file ampi.C.

Definition at line 818 of file ampi.C.

Referenced by AMPI_Setup(), and FTN_NAME().

int AMPI_RDMA_THRESHOLD = AMPI_RDMA_THRESHOLD_DEFAULT

Definition at line 849 of file ampi.C.

int AMPI_SMP_RDMA_THRESHOLD = AMPI_SMP_RDMA_THRESHOLD_DEFAULT

Definition at line 850 of file ampi.C.

bool nodeinit_has_been_called = false [static]

Definition at line 851 of file ampi.C.

int AMPI_threadstart_idx = -1 [static]

Definition at line 881 of file ampi.C.

const std::array<const CkDDT_DataType *, AMPI_MAX_PREDEFINED_TYPE+1> ampiPredefinedTypes = CkDDT::createPredefinedTypes() [static]

Definition at line 888 of file ampi.C.

constexpr std::array<MPI_User_function*, AMPI_MAX_PREDEFINED_OP+1> ampiPredefinedOps [static]

Definition at line 928 of file ampi.C.

Referenced by main().

double totalidle = 0.0 [static]

Definition at line 1054 of file ampi.C.

double startT = 0.0 [static]

int beginHandle [static]

Definition at line 1055 of file ampi.C.

int endHandle [static]

Definition at line 1055 of file ampi.C.

CProxy_ampiWorlds ampiWorldsGroup [static]

Definition at line 1179 of file ampi.C.

bool atexit_called = false [static]

Definition at line 4138 of file ampi.C.


Generated on Mon Sep 21 08:03:52 2020 for Charm++ by  doxygen 1.5.5