Go to the source code of this file.
typedef std::unordered_map<std::string, std::map<int, int> >::iterator outer_itr_t |
typedef std::map<int, int>::iterator inner_itr_t |
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().
Definition at line 43 of file ampi.C.
Referenced by AMPI_API_IMPL(), checkBuf(), checkCommunicator(), checkCount(), checkData(), checkRank(), checkTag(), and errorCheck().
CkpvDeclare | ( | CkListString | , | |
msgSizesRanks | ||||
) |
Definition at line 104 of file ampi.C.
References ampiErrhandler(), and comm.
Referenced by AMPI_API_IMPL(), and errorCheck().
Definition at line 110 of file ampi.C.
References ampiErrhandler(), and count.
Referenced by errorCheck().
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().
Definition at line 122 of file ampi.C.
References ampiErrhandler(), and tag.
Referenced by AMPI_API_IMPL(), and errorCheck().
Definition at line 128 of file ampi.C.
References ampiErrhandler(), comm, getAmpiInstance(), rank, and size.
Referenced by errorCheck().
Definition at line 138 of file ampi.C.
References ampiErrhandler(), buf, and count.
Referenced by errorCheck().
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().
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 | |||
) |
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().
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().
CLINKAGE void AMPI_Setup | ( | void | ) |
Definition at line 6 of file compat_ampius.C.
References _ampi_fallback_setup_count.
Referenced by AMPI_Setup_Switch().
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().
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().
CLINKAGE void AMPI_Setup_Switch | ( | void | ) |
Definition at line 839 of file ampi.C.
References AMPI_Setup(), ampiCreateMain(), and FTN_NAME().
Referenced by ampiNodeInit().
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().
FLINKAGE void FTN_NAME | ( | AMPICURRENTSTACKUSAGE | , | |
ampicurrentstackusage | ||||
) |
Definition at line 874 of file ampi.C.
References ampiCurrentStackUsage(), and Converse::CkMyPe().
CLINKAGE void AMPI_threadstart | ( | void * | data | ) |
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().
static void ampiNodeInit | ( | ) | [static] |
Definition at line 991 of file ampi.C.
References _chareTable, _entryTable, _isAnytimeMigration, _isStaticInsertion, CkReduction::addReducer(), AMPI_Setup_Switch(), AMPI_threadstart(), AmpiReducerFunc(), BGConverse::CkMyNode(), funclist, getAmpiBinaryPath(), name, TCharm::nodeInit(), TCHARM_Register_thread_function(), TCHARM_Set_fallback_setup(), traceRegisterUserEvent(), and value.
static void BeginIdle | ( | void * | dummy, | |
double | curWallTime | |||
) | [static] |
Definition at line 1056 of file ampi.C.
References startT.
Referenced by AMPI_Install_idle_timer().
static void EndIdle | ( | void * | dummy, | |
double | curWallTime | |||
) | [static] |
Definition at line 1060 of file ampi.C.
References startT.
Referenced by AMPI_Install_idle_timer().
static void ampiProcInit | ( | ) | [static] |
Definition at line 1066 of file ampi.C.
References argv, CkGetArgv(), Converse::CkMyPe(), CmiGetArgFlag(), CmiGetArgIntDesc(), CmiGetArgString(), CmiGetArgStringDesc(), msgLogFilename, msgLogRanks, msgLogRead, msgLogWrite, ranks, and CkListString::set().
Definition at line 1111 of file ampi.C.
References CkListString::includes(), msgLogRanks, and rank.
Referenced by AMPI_API_IMPL().
PUPfunctionpointer | ( | MPI_MainFn | ) |
Definition at line 1116 of file ampi.C.
References argc, argv, CkGetArgc(), CkGetArgv(), Converse::CkMyPe(), CmiCopyArgs(), p, and PUP::pup().
PUPmarshall | ( | MPI_threadstart_t | ) |
Definition at line 1150 of file ampi.C.
References CthSelf(), CthTraceResume(), pupFromBuf(), and PUP::t.
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().
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().
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().
static void AmmPupUnexpectedMsgs | ( | PUP::er & | p, | |
void ** | msg | |||
) | [static] |
Definition at line 2109 of file ampi.C.
References CkPupMessage(), msg, and p.
static void AmmPupPostedReqs | ( | PUP::er & | p, | |
void ** | msg | |||
) | [static] |
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().
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().
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().
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().
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().
static void clearStatus | ( | MPI_Status | sts[], | |
int | idx | |||
) | [inline, static] |
Definition at line 3281 of file ampi.C.
References clearStatus().
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.
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 | ( | ) |
Definition at line 3876 of file ampi.C.
References p.
Referenced by AMPI_API_IMPL(), AMPI_Iget(), AMPI_Iget_free(), AMPI_Iget_wait(), AMPI_Load_set_value(), AMPI_Migrate(), AMPI_Print(), AMPI_Register_about_to_migrate(), AMPI_Register_just_migrated(), AMPI_Set_migratable(), AMPI_Suspend(), AMPI_Yield(), ampiInit(), checkComm(), errorCheck(), getAmpiInstance(), getDDT(), getReqs(), makeRednMsg(), testRequest(), and GPUReq::wait().
ampi* getAmpiInstance | ( | MPI_Comm | comm | ) |
Definition at line 3884 of file ampi.C.
References getAmpiParent().
Referenced by AMPI_Alltoall_long(), AMPI_Alltoall_medium(), AMPI_Alltoall_short(), AMPI_API_IMPL(), AMPI_GPU_Iinvoke(), AMPI_GPU_Iinvoke_wr(), AMPI_Iget(), AMPI_Iget_free(), AMPI_Iget_wait(), AMPI_Migrate(), AMPI_Resume(), AMPI_Set_start_event(), checkRank(), createCommSelf(), GPUReq::GPUReq(), MPI_Pack_size(), MPICH_Localcopy(), MPID_Datatype_get_extent_macro(), and MPID_Datatype_get_size_macro().
bool isAmpiThread | ( | ) |
Definition at line 3892 of file ampi.C.
Referenced by AMPI_API_IMPL().
void checkComm | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 3900 of file ampi.C.
References getAmpiParent().
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().
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().
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().
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().
Definition at line 3952 of file ampi.C.
References isAmpiThread().
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 | |||
) |
Definition at line 3970 of file ampi.C.
References ampiErrhandler(), and MPI_Init.
Definition at line 3999 of file ampi.C.
References ampiInit(), argv, CkGetArgv(), and CmiGetArgc().
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().
Definition at line 4064 of file ampi.C.
References checkCommunicator(), getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
Definition at line 4093 of file ampi.C.
References checkCommunicator(), and getAmpiInstance().
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().
FLINKAGE void FTN_NAME | ( | MPI_EXIT | , | |
mpi_exit | ||||
) |
Definition at line 4159 of file ampi.C.
References AMPI_Exit().
AMPI_API_IMPL | ( | int | , | |
MPI_Finalize | , | |||
void | ||||
) |
Definition at line 4164 of file ampi.C.
References AMPI_Exit(), Converse::CkMyPe(), getAmpiParent(), and traceSuspend().
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.
AMPI_API_IMPL | ( | int | , | |
MPI_Buffer_attach | , | |||
void * | buffer, | |||
int | size | |||
) |
Definition at line 4237 of file ampi.C.
References ampiErrhandler(), and getAmpiParent().
Definition at line 4252 of file ampi.C.
References getAmpiParent().
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.
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().
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().
Definition at line 4370 of file ampi.C.
References errorCheck(), and getAmpiInstance().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Imrecv | , | |||
void * | buf, | |||
int | count, | |||
MPI_Datatype | datatype, | |||
MPI_Message * | message, | |||
MPI_Request * | request | |||
) |
Definition at line 4417 of file ampi.C.
References AMPI_REQ_COMPLETED, ampiErrhandler(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), getReqs(), handle_MPI_BOTTOM(), AmpiRequestList::insert(), parent(), and AmpiRequest::src.
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Mrecv | , | |||
void * | buf, | |||
int | count, | |||
MPI_Datatype | datatype, | |||
MPI_Message * | message, | |||
MPI_Status * | status | |||
) |
Definition at line 4482 of file ampi.C.
References ampiErrhandler(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), MPI_Status::MPI_CANCEL, MPI_Status::MPI_COMM, MPI_Status::MPI_LENGTH, MPI_Status::MPI_SOURCE, MPI_Status::MPI_TAG, msgLogRead, msgLogWrite, parent(), PUP::PUParray(), record_msglog(), and AmpiRequest::src.
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Barrier | , | |||
MPI_Comm | comm | |||
) |
Definition at line 4666 of file ampi.C.
References checkCommunicator(), getAmpiInstance(), and getAmpiParent().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Ibcast | , | |||
void * | buf, | |||
int | count, | |||
MPI_Datatype | type, | |||
int | root, | |||
MPI_Comm | comm, | |||
MPI_Request * | request | |||
) |
Definition at line 4788 of file ampi.C.
References AMPI_REQ_COMPLETED, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
static CkReductionMsg* makeRednMsg | ( | CkDDT_DataType * | ddt, | |
const void * | inbuf, | |||
int | count, | |||
int | type, | |||
int | rank, | |||
int | size, | |||
MPI_Op | op | |||
) | [static] |
Definition at line 4905 of file ampi.C.
References CkReductionMsg::buildFromTuple(), CkReductionMsg::buildNew(), CkReduction::concat, getAmpiParent(), getBuiltinReducerType(), CkReductionMsg::getData(), CkReductionMsg::getLength(), CkDDT_DataType::getSize(), inbuf, CkReduction::invalid, CkDDT_DataType::isContig(), max(), op, PACK, parent(), sbuf, CkDDT_DataType::serialize(), and type.
Referenced by AMPI_API_IMPL(), and AMPI_Set_start_event().
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().
static void handle_MPI_IN_PLACE | ( | void *& | inbuf, | |
void *& | outbuf | |||
) | [static] |
Definition at line 4987 of file ampi.C.
Referenced by AMPI_API_IMPL().
static void handle_MPI_IN_PLACE_gather | ( | void *& | sendbuf, | |
void * | recvbuf, | |||
int & | sendcount, | |||
MPI_Datatype & | sendtype, | |||
int | recvdispl, | |||
int | recvcount, | |||
MPI_Datatype | recvtype | |||
) | [static] |
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().
static void handle_MPI_IN_PLACE_alltoall | ( | void *& | sendbuf, | |
void * | recvbuf, | |||
int & | sendcount, | |||
MPI_Datatype & | sendtype, | |||
int | recvcount, | |||
MPI_Datatype | recvtype | |||
) | [static] |
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Reduce | , | |||
const void * | inbuf, | |||
void * | outbuf, | |||
int | count, | |||
MPI_Datatype | type, | |||
MPI_Op | op, | |||
int | root, | |||
MPI_Comm | comm | |||
) |
Definition at line 5068 of file ampi.C.
References ampiErrhandler(), copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), makeRednMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
AMPI_API_IMPL | ( | int | , | |
MPI_Allreduce | , | |||
const void * | inbuf, | |||
void * | outbuf, | |||
int | count, | |||
MPI_Datatype | type, | |||
MPI_Op | op, | |||
MPI_Comm | comm | |||
) |
Definition at line 5138 of file ampi.C.
References ampiErrhandler(), copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), makeRednMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 5196 of file ampi.C.
References AMPI_REQ_COMPLETED, ampiErrhandler(), copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), makeRednMsg(), and CkReductionMsg::setCallback().
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().
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.
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 | |||
) |
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.
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 | |||
) |
Definition at line 5349 of file ampi.C.
References ampiErrhandler(), copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), and handle_MPI_IN_PLACE().
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 | |||
) |
Definition at line 5409 of file ampi.C.
References ampiErrhandler(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), handle_MPI_BOTTOM(), and handle_MPI_IN_PLACE().
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 | |||
) |
Definition at line 5480 of file ampi.C.
References getAmpiParent().
AMPI_API_IMPL | ( | int | , | |
MPI_Op_free | , | |||
MPI_Op * | op | |||
) |
Definition at line 5487 of file ampi.C.
References getAmpiParent().
Definition at line 5495 of file ampi.C.
References ampiErrhandler(), getAmpiParent(), and int.
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Start | , | |||
MPI_Request * | request | |||
) |
Definition at line 5534 of file ampi.C.
References ampiErrhandler(), checkRequest(), and getReqs().
AMPI_API_IMPL | ( | int | , | |
MPI_Startall | , | |||
int | count, | |||
MPI_Request * | requests | |||
) |
Definition at line 5547 of file ampi.C.
References ampiErrhandler(), checkRequests(), and getReqs().
AMPI_API_IMPL | ( | int | , | |
MPI_Wait | , | |||
MPI_Request * | request, | |||
MPI_Status * | sts | |||
) |
Definition at line 5782 of file ampi.C.
References _BgInOutOfCoreMode, checkRequest(), clearStatus(), AmpiRequestList::freeNonPersReq(), getAmpiParent(), getDDT(), getReqs(), CkDDT::getSize(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), type, and AmpiRequest::wait().
AMPI_API_IMPL | ( | int | , | |
MPI_Waitall | , | |||
int | count, | |||
MPI_Request | request[], | |||
MPI_Status | sts[] | |||
) |
Definition at line 5848 of file ampi.C.
References AmpiRequest::buf, checkRequests(), clearStatus(), AmpiRequest::count, AmpiRequestList::freeNonPersReq(), getAmpiParent(), getDDT(), CkDDT::getSize(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), AmpiRequest::setBlocked(), AmpiRequest::test(), AmpiRequest::type, and AmpiRequest::wait().
AMPI_API_IMPL | ( | int | , | |
MPI_Waitany | , | |||
int | count, | |||
MPI_Request * | request, | |||
int * | idx, | |||
MPI_Status * | sts | |||
) |
Definition at line 5943 of file ampi.C.
References checkRequests(), clearStatus(), AmpiRequestList::freeNonPersReq(), getAmpiParent(), AmpiRequest::setBlocked(), AmpiRequest::test(), AmpiRequestList::unblockReqs(), and AmpiRequest::wait().
AMPI_API_IMPL | ( | int | , | |
MPI_Waitsome | , | |||
int | incount, | |||
MPI_Request * | array_of_requests, | |||
int * | outcount, | |||
int * | array_of_indices, | |||
MPI_Status * | array_of_statuses | |||
) |
Definition at line 6011 of file ampi.C.
References checkRequests(), clearStatus(), AmpiRequestList::freeNonPersReq(), getAmpiParent(), AmpiRequest::setBlocked(), AmpiRequest::test(), AmpiRequestList::unblockReqs(), and AmpiRequest::wait().
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().
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().
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().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Request_free | , | |||
MPI_Request * | request | |||
) |
Definition at line 6371 of file ampi.C.
References checkRequest(), AmpiRequestList::free(), and getAmpiParent().
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().
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().
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().
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 | |||
) |
Definition at line 6447 of file ampi.C.
References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), and handle_MPI_BOTTOM().
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().
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 | |||
) |
Definition at line 6503 of file ampi.C.
References errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), and handle_MPI_BOTTOM().
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().
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().
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().
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.
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().
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().
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().
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().
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().
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().
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 | |||
) |
Definition at line 6676 of file ampi.C.
References checkData().
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().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Type_extent | , | |||
MPI_Datatype | datatype, | |||
MPI_Aint * | extent | |||
) |
Definition at line 6739 of file ampi.C.
References checkData().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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] |
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().
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().
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().
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().
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 | |||
) |
Definition at line 7409 of file ampi.C.
References errorCheck(), getAmpiInstance(), and handle_MPI_BOTTOM().
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 | |||
) |
Definition at line 7432 of file ampi.C.
References AMPI_REQ_COMPLETED, ampiErrhandler(), copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), makeRednMsg(), and CkReductionMsg::setCallback().
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().
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().
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().
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 | |||
) |
Definition at line 7583 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gather(), makeGatherMsg(), and CkReductionMsg::setCallback().
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().
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 | |||
) |
Definition at line 7675 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getDDT(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gatherv(), makeGathervMsg(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 7725 of file ampi.C.
References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gather(), makeGatherMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 7793 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gather(), makeGatherMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 7866 of file ampi.C.
References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gatherv(), makeGathervMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 7941 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_gatherv(), makeGathervMsg(), msgLogRead, msgLogWrite, PUP::PUParray(), record_msglog(), and CkReductionMsg::setCallback().
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 | |||
) |
Definition at line 8024 of file ampi.C.
References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT_DataType::getExtent(), CkDDT::getSize(), CkDDT_DataType::getType(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
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 | |||
) |
Definition at line 8097 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT_DataType::getExtent(), CkDDT::getSize(), CkDDT_DataType::getType(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), I_SEND, msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
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 | |||
) |
Definition at line 8181 of file ampi.C.
References copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT_DataType::getExtent(), CkDDT::getSize(), CkDDT_DataType::getType(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
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 | |||
) |
Definition at line 8254 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT_DataType::getExtent(), CkDDT::getSize(), CkDDT_DataType::getType(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE(), I_SEND, msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
AMPI_API_IMPL | ( | int | , | |
MPI_Alltoall | , | |||
const void * | sendbuf, | |||
int | sendcount, | |||
MPI_Datatype | sendtype, | |||
void * | recvbuf, | |||
int | recvcount, | |||
MPI_Datatype | recvtype, | |||
MPI_Comm | comm | |||
) |
Definition at line 8340 of file ampi.C.
References copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoall(), I_SEND, min(), and MPI_Waitall.
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 | |||
) |
Definition at line 8461 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), CkDDT::getSize(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoall(), and I_SEND.
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 | |||
) |
Definition at line 8518 of file ampi.C.
References copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoallv(), I_SEND, min(), and MPI_Waitall.
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 | |||
) |
Definition at line 8604 of file ampi.C.
References AMPI_REQ_COMPLETED, copyDatatype(), dst, errorCheck(), getAmpiInstance(), getAmpiParent(), getDDT(), CkDDT::getExtent(), handle_MPI_BOTTOM(), handle_MPI_IN_PLACE_alltoallv(), and I_SEND.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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().
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 | |||
) |
Definition at line 9380 of file ampi.C.
References getAmpiInstance(), getAmpiParent(), msgLogRead, msgLogWrite, PUP::PUParray(), and record_msglog().
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.
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_free | , | |||
MPI_Comm * | comm | |||
) |
Definition at line 9442 of file ampi.C.
References ampiErrhandler(), getAmpiInstance(), and getAmpiParent().
Definition at line 9462 of file ampi.C.
References getAmpiParent().
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_remote_size | , | |||
MPI_Comm | comm, | |||
int * | size | |||
) |
Definition at line 9469 of file ampi.C.
References getAmpiParent().
Definition at line 9476 of file ampi.C.
References getAmpiParent().
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().
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.
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.
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().
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().
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 | |||
) |
Definition at line 9627 of file ampi.C.
References checkData(), CkDDT_DataType::getBaseSize(), getDDT(), CkDDT_DataType::getSize(), CkDDT::getType(), and MPI_Status::MPI_LENGTH.
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.
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.
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.
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().
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.
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Get_version | , | |||
int * | version, | |||
int * | subversion | |||
) |
AMPI_API_IMPL | ( | int | , | |
MPI_Get_processor_name | , | |||
char * | name, | |||
int * | resultlen | |||
) |
Definition at line 9734 of file ampi.C.
References getAmpiParent().
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_class | , | |||
int * | errorclass | |||
) |
AMPI_API_IMPL | ( | int | , | |
MPI_Error_class | , | |||
int | errorcode, | |||
int * | errorclass | |||
) |
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_group | , | |||
MPI_Comm | comm, | |||
MPI_Group * | group | |||
) |
Definition at line 9953 of file ampi.C.
References getAmpiParent().
Definition at line 9960 of file ampi.C.
References getAmpiParent(), and unionOp().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Group_size | , | |||
MPI_Group | group, | |||
int * | size | |||
) |
Definition at line 9993 of file ampi.C.
References getAmpiParent(), and size.
Definition at line 10000 of file ampi.C.
References getAmpiParent().
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().
Definition at line 10018 of file ampi.C.
References compareVecOp(), and getAmpiParent().
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().
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().
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().
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Group_free | , | |||
MPI_Group * | group | |||
) |
Definition at line 10086 of file ampi.C.
References color, getAmpiInstance(), getAmpiParent(), MPI_Comm_group, MPI_Comm_split, and MPI_Group_translate_ranks.
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_create_group | , | |||
MPI_Comm | comm, | |||
MPI_Group | group, | |||
int | tag, | |||
MPI_Comm * | newcomm | |||
) |
Definition at line 10126 of file ampi.C.
References ampiErrhandler(), checkTag(), getAmpiParent(), MPI_Comm_dup, MPI_Comm_free, MPI_Comm_group, MPI_Comm_rank, MPI_Group_free, MPI_Group_size, MPI_Group_translate_ranks, and MPI_Intercomm_merge.
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().
Definition at line 10196 of file ampi.C.
References getAmpiInstance().
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_set_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 | |||
) |
Definition at line 10218 of file ampi.C.
References ampiErrhandler(), and getAmpiParent().
AMPI_API_IMPL | ( | int | , | |
MPI_Comm_free_keyval | , | |||
int * | keyval | |||
) |
Definition at line 10227 of file ampi.C.
References ampiErrhandler(), and getAmpiParent().
Definition at line 10235 of file ampi.C.
References ampiErrhandler(), getAmpiParent(), and ampiCommStruct::getKeyvals().
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().
Definition at line 10255 of file ampi.C.
References ampiErrhandler(), getAmpiParent(), and ampiCommStruct::getKeyvals().
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_Attr_put | , | |||
MPI_Comm | comm, | |||
int | keyval, | |||
void * | attribute_val | |||
) |
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 | |||
) |
Definition at line 10296 of file ampi.C.
References getAmpiInstance().
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().
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 | |||
) |
Definition at line 10337 of file ampi.C.
References c, getAmpiInstance(), getAmpiParent(), ampiCommStruct::getTopology(), MPI_Cart_map, ampiTopology::setdims(), ampiTopology::setnbors(), ampiTopology::setndims(), and ampiTopology::setperiods().
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().
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 | |||
) |
Definition at line 10404 of file ampi.C.
References ampiErrhandler(), ampiTopology::areDestsWeighted(), ampiTopology::areSourcesWeighted(), c, getAmpiInstance(), getAmpiParent(), ampiCommStruct::getTopology(), ampiTopology::setAreDestsWeighted(), ampiTopology::setAreSourcesWeighted(), ampiTopology::setDestinations(), ampiTopology::setDestWeights(), ampiTopology::setInDegree(), ampiTopology::setOutDegree(), ampiTopology::setSources(), and ampiTopology::setSourceWeights().
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 | |||
) |
Definition at line 10457 of file ampi.C.
References ampiErrhandler(), ampiTopology::areSourcesWeighted(), c, data, getAmpiInstance(), getAmpiParent(), ampiCommStruct::getSize(), ampiCommStruct::getTopology(), index, MPI_Isend, MPI_Probe, MPI_Status::MPI_SOURCE, MPI_Waitall, p, ampiTopology::setAreDestsWeighted(), ampiTopology::setAreSourcesWeighted(), ampiTopology::setDestinations(), ampiTopology::setDestWeights(), ampiTopology::setInDegree(), ampiTopology::setOutDegree(), ampiTopology::setSources(), ampiTopology::setSourceWeights(), and status.
Definition at line 10597 of file ampi.C.
References getAmpiParent().
AMPI_API_IMPL | ( | int | , | |
MPI_Cartdim_get | , | |||
MPI_Comm | comm, | |||
int * | ndims | |||
) |
Definition at line 10614 of file ampi.C.
References ampiErrhandler(), and getAmpiParent().
AMPI_API_IMPL | ( | int | , | |
MPI_Cart_get | , | |||
MPI_Comm | comm, | |||
int | maxdims, | |||
int * | dims, | |||
int * | periods, | |||
int * | coords | |||
) |
Definition at line 10628 of file ampi.C.
References ampiErrhandler(), c, getAmpiInstance(), getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiTopology::getperiods(), ampiCommStruct::getTopology(), and int.
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.
Definition at line 10701 of file ampi.C.
References ampiErrhandler(), c, dims, getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiCommStruct::getTopology(), and int.
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().
AMPI_API_IMPL | ( | int | , | |
MPI_Cart_shift | , | |||
MPI_Comm | comm, | |||
int | direction, | |||
int | disp, | |||
int * | rank_source, | |||
int * | rank_dest | |||
) |
Definition at line 10748 of file ampi.C.
References ampiErrhandler(), c, cart_clamp_coord(), coords, dims, getAmpiInstance(), getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiTopology::getperiods(), ampiCommStruct::getTopology(), and periods.
Definition at line 10780 of file ampi.C.
References c, getAmpiParent(), ampiTopology::getindex(), ampiTopology::getnvertices(), ampiCommStruct::getTopology(), and index.
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().
Definition at line 10820 of file ampi.C.
References ampiErrhandler(), c, getAmpiParent(), ampiTopology::getindex(), ampiCommStruct::getTopology(), and index.
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.
AMPI_API_IMPL | ( | int | , | |
MPI_Dist_graph_neighbors_count | , | |||
MPI_Comm | comm, | |||
int * | indegree, | |||
int * | outdegree, | |||
int * | weighted | |||
) |
Definition at line 10881 of file ampi.C.
References ampiErrhandler(), ampiTopology::areSourcesWeighted(), c, getAmpiParent(), ampiTopology::getInDegree(), ampiTopology::getOutDegree(), and ampiCommStruct::getTopology().
AMPI_API_IMPL | ( | int | , | |
MPI_Dist_graph_neighbors | , | |||
MPI_Comm | comm, | |||
int | maxindegree, | |||
int | sources[], | |||
int | sourceweights[], | |||
int | maxoutdegree, | |||
int | destinations[], | |||
int | destweights[] | |||
) |
Definition at line 10901 of file ampi.C.
References ampiErrhandler(), ampiTopology::areSourcesWeighted(), c, getAmpiParent(), ampiTopology::getDestinations(), ampiTopology::getDestWeights(), ampiTopology::getSources(), ampiTopology::getSourceWeights(), ampiCommStruct::getTopology(), and min().
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().
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().
Definition at line 11014 of file ampi.C.
References ampiErrhandler(), PUP::d, and factors().
AMPI_API_IMPL | ( | int | , | |
MPI_Cart_sub | , | |||
MPI_Comm | comm, | |||
const int * | remain_dims, | |||
MPI_Comm * | newcomm | |||
) |
Definition at line 11068 of file ampi.C.
References ampiErrhandler(), c, color, coords, dims, getAmpiInstance(), getAmpiParent(), ampiTopology::getdims(), ampiTopology::getndims(), ampiTopology::getperiods(), ampiCommStruct::getTopology(), periods, ampiTopology::setdims(), ampiTopology::setnbors(), ampiTopology::setndims(), and ampiTopology::setperiods().
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().
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().
CLINKAGE char** AMPI_Get_argv | ( | ) |
Definition at line 11178 of file ampi.C.
References CkGetArgv().
CLINKAGE int AMPI_Get_argc | ( | ) |
Definition at line 11183 of file ampi.C.
References CkGetArgc().
Definition at line 11188 of file ampi.C.
References getAmpiInstance(), getAmpiParent(), MPI_Info_get, MPI_Info_get_nkeys, MPI_Info_get_nthkey(), MPI_Info_get_valuelen(), offset, TCHARM_Async_Migrate(), TCHARM_Migrate(), and value.
CLINKAGE int AMPI_Evacuate | ( | void | ) |
Definition at line 11277 of file ampi.C.
References TCHARM_Evacuate().
Definition at line 11286 of file ampi.C.
References TCHARM_Migrate_to().
Definition at line 11297 of file ampi.C.
References getAmpiParent().
CLINKAGE int AMPI_Load_start_measure | ( | void | ) |
Definition at line 11309 of file ampi.C.
References LBTurnInstrumentOn().
CLINKAGE int AMPI_Load_stop_measure | ( | void | ) |
Definition at line 11317 of file ampi.C.
References LBTurnInstrumentOff().
CLINKAGE int AMPI_Load_reset_measure | ( | void | ) |
Definition at line 11325 of file ampi.C.
References LBClearLoads().
CLINKAGE int AMPI_Load_set_value | ( | double | value | ) |
Definition at line 11333 of file ampi.C.
References getAmpiParent().
CLINKAGE int AMPI_Register_main | ( | MPI_MainFn | mainFn, | |
const char * | name | |||
) |
Definition at line 11346 of file ampi.C.
References ampiCreateMain(), and TCHARM_Element().
FLINKAGE void FTN_NAME | ( | MPI_REGISTER_MAIN | , | |
mpi_register_main | ||||
) |
Definition at line 11357 of file ampi.C.
References ampiCreateMain(), and TCHARM_Element().
Definition at line 11368 of file ampi.C.
References TCHARM_Register().
CLINKAGE int AMPI_Register_about_to_migrate | ( | MPI_MigrateFn | fn | ) |
Definition at line 11376 of file ampi.C.
References getAmpiParent().
CLINKAGE int AMPI_Register_just_migrated | ( | MPI_MigrateFn | fn | ) |
Definition at line 11385 of file ampi.C.
References getAmpiParent().
Definition at line 11394 of file ampi.C.
References TCHARM_Get_userdata().
CLINKAGE int AMPI_Type_is_contiguous | ( | MPI_Datatype | datatype, | |
int * | flag | |||
) |
Definition at line 11402 of file ampi.C.
References getDDT(), and CkDDT::isContig().
CLINKAGE int AMPI_Print | ( | const char * | str | ) |
Definition at line 11410 of file ampi.C.
References getAmpiParent().
CLINKAGE int AMPI_Suspend | ( | void | ) |
Definition at line 11419 of file ampi.C.
References getAmpiParent().
CLINKAGE int AMPI_Yield | ( | void | ) |
Definition at line 11427 of file ampi.C.
References getAmpiParent().
Definition at line 11435 of file ampi.C.
References getAmpiInstance().
CLINKAGE int AMPI_System | ( | const char * | cmd | ) |
Definition at line 11443 of file ampi.C.
References TCHARM_System().
CLINKAGE int AMPI_Trace_begin | ( | void | ) |
Definition at line 11449 of file ampi.C.
References traceBegin().
CLINKAGE int AMPI_Trace_end | ( | void | ) |
Definition at line 11456 of file ampi.C.
References traceEnd().
int AMPI_Install_idle_timer | ( | void | ) |
Definition at line 11462 of file ampi.C.
References BeginIdle(), CcdCallOnConditionKeep(), and EndIdle().
int AMPI_Uninstall_idle_timer | ( | void | ) |
Definition at line 11471 of file ampi.C.
References CcdCancelCallOnConditionKeep().
void startCFnCall | ( | void * | param, | |
void * | msg | |||
) |
Definition at line 11481 of file ampi.C.
References BgSetStartEvent().
Referenced by AMPI_Set_start_event().
Definition at line 11490 of file ampi.C.
References Converse::CkMyPe(), getAmpiInstance(), makeRednMsg(), CkReductionMsg::setCallback(), and startCFnCall().
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().
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().
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().
CLINKAGE int AMPI_GPU_Invoke_wr | ( | hapiWorkRequest * | to_call | ) |
CLINKAGE int AMPI_GPU_Invoke | ( | cudaStream_t | stream | ) |
Definition at line 11620 of file ampi.C.
References AMPI_GPU_Iinvoke(), and MPI_Wait.
const char* const CmiCommitID |
mpi_comm_worlds mpi_worlds [static] |
int MPI_COMM_UNIVERSE[MPI_MAX_COMM_WORLDS] |
int AMPI_RDMA_THRESHOLD = AMPI_RDMA_THRESHOLD_DEFAULT |
int AMPI_SMP_RDMA_THRESHOLD = AMPI_SMP_RDMA_THRESHOLD_DEFAULT |
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 [static] |
char* ampi_binary_path |
double startT = 0.0 [static] |
Definition at line 1054 of file ampi.C.
Referenced by BeginIdle(), CldBalance(), CldLoadResponseHandler(), CldStillIdle(), EndIdle(), CentralLB::findSimResults(), LrtsInitCpuTopo(), ReleasePostedMessages(), and CentralLB::simulationRead().
int beginHandle [static] |
CProxy_ampiWorlds ampiWorldsGroup [static] |
bool atexit_called = false [static] |