Go to the source code of this file.
Typedefs | |
typedef int | MPI_Comm |
Functions | |
void | LrtsDrainResources () |
void | _initCharm (int unused_argc, char **argv) |
This is the main charm setup routine. | |
void | _sendReadonlies () |
void | CommunicationServerThread (int sleepTime) |
void | StartInteropScheduler () |
void | StopInteropScheduler () |
void | StartCharmScheduler () |
void | StopCharmScheduler () |
void | LibCkExit (void) |
void | _libExitHandler (envelope *env) |
void | CharmBeginInit (int argc, char **argv) |
void | CharmFinishInit () |
void | CharmInit (int argc, char **argv) |
void | CharmLibInit (MPI_Comm userComm, int argc, char **argv) |
void | CharmLibExit () |
Variables | |
int | _libExitHandlerIdx |
static bool | _libExitStarted = false |
std::atomic< int > | ckExitComplete |
std::atomic< int > | _cleanUp |
MPI_Comm | charmComm |
bool | _ringexit |
int | _ringtoken |
int | CharmLibInterOperate |
int | userDrivenMode |
Definition at line 18 of file mpi-interoperate.C.
void LrtsDrainResources | ( | void | ) |
Definition at line 21 of file conv-interoperate.C.
Referenced by _libExitHandler(), CommunicationServer(), ConverseExit(), SendMsgBuf(), and StartInteropScheduler().
void CommunicationServerThread | ( | int | sleepTime | ) |
Definition at line 32 of file conv-interoperate.C.
Referenced by call_startfn(), CharmLibExit(), ConverseRunPE(), SendMsgBuf(), and StartInteropScheduler().
void StartInteropScheduler | ( | ) |
Definition at line 37 of file conv-interoperate.C.
Referenced by call_startfn(), CharmFinishInit(), CharmLibInit(), and StartCharmScheduler().
void StartCharmScheduler | ( | ) |
Definition at line 34 of file mpi-interoperate.C.
References CmiNodeAllBarrier(), and StartInteropScheduler().
void StopCharmScheduler | ( | ) |
Definition at line 39 of file mpi-interoperate.C.
References StopInteropScheduler().
Referenced by _libExitHandler().
void LibCkExit | ( | void | ) |
Definition at line 44 of file mpi-interoperate.C.
References _allocEnv(), _libExitHandlerIdx, Converse::CkMyPe(), Converse::CmiSyncSendAndFree(), envelope::getTotalsize(), envelope::setSrcPe(), and StartExitMsg.
Referenced by CkCallback::send().
void CharmBeginInit | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 112 of file mpi-interoperate.C.
References _initCharm(), CharmLibInterOperate, CmiAbort(), ConverseInit(), and userDrivenMode.
Referenced by CharmInit().
void CharmFinishInit | ( | ) |
Definition at line 128 of file mpi-interoperate.C.
References _sendReadonlies(), Converse::CkMyPe(), and StartInteropScheduler().
Referenced by CharmInit().
void CharmInit | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 138 of file mpi-interoperate.C.
References CharmBeginInit(), and CharmFinishInit().
Definition at line 147 of file mpi-interoperate.C.
References _initCharm(), charmComm, CharmLibInterOperate, CmiAbort(), ConverseInit(), MPI_Comm_dup, StartInteropScheduler(), and userDrivenMode.
void CharmLibExit | ( | ) |
Definition at line 173 of file mpi-interoperate.C.
References _cleanUp, CkExit(), ckExitComplete, Converse::CkMyPe(), CmiMyRank(), CmiNodeAllBarrier(), CommunicationServerThread(), and CsdScheduler().
bool _libExitStarted = false [static] |
std::atomic<int> ckExitComplete |
Referenced by call_startfn(), CharmLibExit(), and CommunicationServer().
Referenced by call_startfn(), and CharmLibExit().
Definition at line 75 of file machine.C.
Referenced by CharmLibInit(), createCtrlMsgIrecvBufs(), MPISendOneMsg(), MPISendOrRecvOneBuffer(), PumpMsgs(), PumpMsgsBlocking(), recvViaCtrlMsg(), SendMsgBuf(), and sendViaCtrlMsg().