
#include <ampiimpl.h>


Definition at line 998 of file ampiimpl.h.
| ampiParent::ampiParent | ( | MPI_Comm | worldNo_, | |
| CProxy_TCharm | threads_ | |||
| ) |
Definition at line 868 of file ampi.C.
References CmiFalse, init(), myDDT, myDDTsto, prepareCtv(), TCharm::semaPut(), thread, and worldPtr.
| ampiParent::ampiParent | ( | CkMigrateMessage * | msg | ) |
| ampiParent::~ampiParent | ( | ) |
| void ampiParent::prepareCtv | ( | void | ) | [private] |
Definition at line 925 of file ampi.C.
References TCharm::getThread(), thread, and threads.
Referenced by ampiParent(), ckJustMigrated(), ckJustRestored(), and registerAmpi().
Definition at line 1019 of file ampiimpl.h.
Referenced by checkComm(), comm2ampi(), comm2CommStruct(), hasComm(), and registerAmpi().
| const ampiCommStruct& ampiParent::getSplit | ( | MPI_Comm | comm | ) | [inline, private] |
Definition at line 1022 of file ampiimpl.h.
References idx, CkVec< T >::size(), and splitComm.
Referenced by comm2ampi(), and comm2CommStruct().
| void ampiParent::splitChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1539 of file ampi.C.
References ampiCommStruct::getComm(), idx, CkVec< T >::resize(), TCharm::resume(), CkVec< T >::size(), splitComm, and thread.
Referenced by registerAmpi().
Definition at line 1029 of file ampiimpl.h.
Referenced by checkComm(), comm2ampi(), comm2CommStruct(), hasComm(), and registerAmpi().
| const ampiCommStruct& ampiParent::getGroup | ( | MPI_Comm | comm | ) | [inline, private] |
Definition at line 1032 of file ampiimpl.h.
References groupComm, idx, and CkVec< T >::size().
Referenced by comm2ampi(), and comm2CommStruct().
| void ampiParent::groupChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1597 of file ampi.C.
References ampiCommStruct::getComm(), groupComm, idx, CkVec< T >::resize(), TCharm::resume(), CkVec< T >::size(), and thread.
Referenced by registerAmpi().
| void ampiParent::cartChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1642 of file ampi.C.
References cartComm, ampiCommStruct::getComm(), idx, CkVec< T >::length(), CkVec< T >::resize(), TCharm::resume(), CkVec< T >::size(), and thread.
Referenced by registerAmpi().
| void ampiParent::graphChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1689 of file ampi.C.
References ampiCommStruct::getComm(), graphComm, idx, CkVec< T >::length(), CkVec< T >::resize(), TCharm::resume(), CkVec< T >::size(), and thread.
Referenced by registerAmpi().
| void ampiParent::interChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1734 of file ampi.C.
References ampiCommStruct::getComm(), idx, interComm, CkVec< T >::resize(), and CkVec< T >::size().
Referenced by registerAmpi().
Definition at line 1046 of file ampiimpl.h.
Referenced by checkComm(), comm2ampi(), comm2CommStruct(), hasComm(), and registerAmpi().
| const ampiCommStruct& ampiParent::getIntra | ( | MPI_Comm | comm | ) | [inline, private] |
Definition at line 1049 of file ampiimpl.h.
References idx, intraComm, and CkVec< T >::size().
Referenced by comm2ampi(), and comm2CommStruct().
| void ampiParent::intraChildRegister | ( | const ampiCommStruct & | s | ) | [private] |
Definition at line 1783 of file ampi.C.
References ampiCommStruct::getComm(), idx, intraComm, CkVec< T >::resize(), TCharm::resume(), CkVec< T >::size(), and thread.
Referenced by registerAmpi().
Definition at line 1175 of file ampi.C.
References kv_builtin_storage, MPI_HOST, MPI_IO, MPI_TAG_UB, and MPI_WTIME_IS_GLOBAL.
Referenced by getAttr().
| void ampiParent::ckJustMigrated | ( | void | ) |
| void ampiParent::ckJustRestored | ( | void | ) |
Definition at line 989 of file ampi.C.
References ampiInitCallDone, ArrayElement::ckJustRestored(), and prepareCtv().
Definition at line 1075 of file ampiimpl.h.
References ampiCommStruct::getComm(), worldPtr, and worldStruct.
| TCharm * ampiParent::registerAmpi | ( | ampi * | ptr, | |
| ampiCommStruct | s, | |||
| bool | forMigration | |||
| ) |
Definition at line 1005 of file ampi.C.
References cartChildRegister(), ampiCommStruct::getComm(), ampiCommStruct::getProxy(), graphChildRegister(), groupChildRegister(), interChildRegister(), intraChildRegister(), isCart(), isGraph(), isGroup(), isInter(), isIntra(), isSplit(), MPI_COMM_SELF, MPI_COMM_WORLD, prepareCtv(), CkVec< T >::push_back(), selfStruct, TCharm::semaPut(), splitChildRegister(), thread, worldPtr, and worldStruct.
Referenced by ampi::findParent().
| void ampiParent::ExchangeProxy | ( | CProxy_ampi | rproxy | ) | [inline] |
| MPI_Comm ampiParent::getNextSplit | ( | void | ) | const [inline] |
Definition at line 1092 of file ampiimpl.h.
References CkVec< T >::size(), and splitComm.
Referenced by ampi::split().
| MPI_Comm ampiParent::getNextGroup | ( | void | ) | const [inline] |
Definition at line 1093 of file ampiimpl.h.
References groupComm, and CkVec< T >::size().
Referenced by ampi::commCreate().
| MPI_Comm ampiParent::getNextCart | ( | void | ) | const [inline] |
Definition at line 1094 of file ampiimpl.h.
References cartComm, and CkVec< T >::size().
Referenced by ampi::cartCreate(), and ampi::split().
| MPI_Comm ampiParent::getNextGraph | ( | void | ) | const [inline] |
Definition at line 1095 of file ampiimpl.h.
References graphComm, and CkVec< T >::size().
Referenced by ampi::graphCreate().
| MPI_Comm ampiParent::getNextInter | ( | void | ) | const [inline] |
Definition at line 1096 of file ampiimpl.h.
References interComm, and CkVec< T >::size().
Referenced by ampi::intercommCreate().
| MPI_Comm ampiParent::getNextIntra | ( | void | ) | const [inline] |
Definition at line 1097 of file ampiimpl.h.
References intraComm, and CkVec< T >::size().
Referenced by ampi::intercommMerge().
Definition at line 1099 of file ampiimpl.h.
Referenced by AMPI_Topo_test(), checkComm(), comm2ampi(), comm2CommStruct(), hasComm(), and registerAmpi().
| ampiCommStruct& ampiParent::getCart | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 1102 of file ampiimpl.h.
References cartComm, idx, and CkVec< T >::size().
Referenced by AMPI_Cart_coords(), AMPI_Cart_create(), AMPI_Cart_get(), AMPI_Cart_rank(), AMPI_Cart_shift(), AMPI_Cart_sub(), AMPI_Cartdim_get(), comm2ampi(), and comm2CommStruct().
Definition at line 1107 of file ampiimpl.h.
Referenced by AMPI_Topo_test(), checkComm(), comm2ampi(), comm2CommStruct(), hasComm(), and registerAmpi().
| ampiCommStruct& ampiParent::getGraph | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 1110 of file ampiimpl.h.
References graphComm, idx, and CkVec< T >::size().
Referenced by AMPI_Graph_create(), AMPI_Graph_get(), AMPI_Graph_neighbors(), AMPI_Graph_neighbors_count(), AMPI_Graphdims_get(), comm2ampi(), and comm2CommStruct().
Definition at line 1115 of file ampiimpl.h.
Referenced by AMPI_Comm_test_inter(), checkComm(), comm2ampi(), comm2CommStruct(), comm2group(), getRemoteGroup(), getRemoteSize(), and registerAmpi().
| const ampiCommStruct& ampiParent::getInter | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 1118 of file ampiimpl.h.
References idx, interComm, and CkVec< T >::size().
Referenced by comm2ampi(), comm2CommStruct(), getRemoteGroup(), and getRemoteSize().
| void ampiParent::pup | ( | PUP::er & | p | ) |
Definition at line 894 of file ampi.C.
References ampiInitCallDone, ampiReqs, groupComm, groups, infos, myDDT, ArrayElement::pup(), RProxyCnt, splitComm, threads, tmpRProxy, winStructList, worldNo, and worldStruct.
| void ampiParent::start_measure | ( | ) | [inline] |
Definition at line 1126 of file ampiimpl.h.
References CmiFalse.
Referenced by AMPI_Start_measure().
| void ampiParent::stop_measure | ( | ) | [inline] |
| virtual void ampiParent::UserSetLBLoad | ( | void | ) | [inline, virtual] |
Definition at line 1132 of file ampiimpl.h.
| void ampiParent::startCheckpoint | ( | const char * | dname | ) |
Definition at line 1103 of file ampi.C.
References checkpointClient(), TCharm::stop(), CkReduction::sum_int, and thread.
Referenced by AMPI_Checkpoint(), and AMPI_MemCheckpoint().
| void ampiParent::Checkpoint | ( | int | len, | |
| const char * | dname | |||
| ) |
Definition at line 1129 of file ampi.C.
References CkStartCheckpoint(), and CkStartMemCheckpoint().
Referenced by checkpointClient().
| void ampiParent::ResumeThread | ( | void | ) |
| TCharm* ampiParent::getTCharmThread | ( | ) | [inline] |
Definition at line 1139 of file ampiimpl.h.
References thread.
Referenced by ampiInit(), and ampi::setInitDoneFlag().
| const ampiCommStruct& ampiParent::comm2CommStruct | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 1141 of file ampiimpl.h.
References getCart(), getGraph(), getGroup(), getInter(), getIntra(), getSplit(), isCart(), isGraph(), isGroup(), isInter(), isIntra(), isSplit(), MPI_COMM_SELF, MPI_COMM_WORLD, selfStruct, universeComm2CommStruct(), worldNo, and worldStruct.
Referenced by ampi::comm2CommStruct(), comm2group(), getAttr(), group2vec(), and putAttr().
Definition at line 1155 of file ampiimpl.h.
References getCart(), getGraph(), getGroup(), getInter(), getIntra(), ampiCommStruct::getProxy(), getSplit(), isCart(), isGraph(), isGroup(), isInter(), isIntra(), isSplit(), MPI_COMM_SELF, MPI_COMM_WORLD, worldNo, and worldPtr.
Referenced by getAmpiInstance().
Definition at line 1188 of file ampiimpl.h.
References isCart(), isGraph(), isGroup(), isIntra(), isSplit(), MPI_COMM_WORLD, and worldNo.
Referenced by group2vec().
| const groupStruct ampiParent::group2vec | ( | MPI_Group | group | ) | [inline] |
Definition at line 1192 of file ampiimpl.h.
References comm2CommStruct(), ampiCommStruct::getIndices(), groups, hasComm(), and isInGroups().
Referenced by AMPI_Cart_create(), AMPI_Comm_create(), AMPI_Graph_create(), AMPI_Group_compare(), AMPI_Group_difference(), AMPI_Group_excl(), AMPI_Group_incl(), AMPI_Group_intersection(), AMPI_Group_range_excl(), AMPI_Group_range_incl(), AMPI_Group_size(), AMPI_Group_translate_ranks(), AMPI_Group_union(), and getRank().
| MPI_Group ampiParent::saveGroupStruct | ( | groupStruct | vec | ) | [inline] |
Definition at line 1200 of file ampiimpl.h.
Referenced by AMPI_Group_difference(), AMPI_Group_excl(), AMPI_Group_incl(), AMPI_Group_intersection(), AMPI_Group_range_excl(), AMPI_Group_range_incl(), AMPI_Group_union(), and getRemoteGroup().
Definition at line 1206 of file ampiimpl.h.
References getPosOp(), and group2vec().
Referenced by AMPI_Group_rank().
| int ampiParent::getMyPe | ( | void | ) | [inline] |
Definition at line 1211 of file ampiimpl.h.
References Converse::CkMyPe().
Referenced by AMPI_Get_processor_name().
| int ampiParent::hasWorld | ( | void | ) | const [inline] |
| void ampiParent::checkComm | ( | MPI_Comm | comm | ) | [inline] |
Definition at line 1218 of file ampiimpl.h.
References cartComm, graphComm, groupComm, interComm, intraComm, isCart(), isGraph(), isGroup(), isInter(), isIntra(), isSplit(), MPI_COMM_SELF, MPI_COMM_WORLD, CkVec< T >::size(), and splitComm.
Referenced by checkComm().
if intra-communicator, return comm, otherwise return null group
Definition at line 1230 of file ampiimpl.h.
References comm2CommStruct(), ampiCommStruct::getComm(), isInter(), MPI_COMM_WORLD, MPI_GROUP_NULL, and s.
Referenced by AMPI_Cart_create(), AMPI_Comm_group(), AMPI_Graph_create(), and ampi::winGetGroup().
Definition at line 1237 of file ampiimpl.h.
References getInter(), ampiCommStruct::getRemoteIndices(), isInter(), and CkVec< T >::size().
Referenced by AMPI_Comm_remote_size().
Definition at line 1241 of file ampiimpl.h.
References getInter(), isInter(), MPI_GROUP_NULL, and saveGroupStruct().
Referenced by AMPI_Comm_remote_group().
| int ampiParent::createKeyval | ( | MPI_Copy_function * | copy_fn, | |
| MPI_Delete_function * | delete_fn, | |||
| int * | keyval, | |||
| void * | extra_state | |||
| ) |
Definition at line 1147 of file ampi.C.
References idx, kvlist, CkVec< T >::resize(), and CkVec< T >::size().
Referenced by AMPI_Keyval_create().
Definition at line 1156 of file ampi.C.
References kvlist, MPI_KEYVAL_INVALID, and CkVec< T >::size().
Referenced by AMPI_Keyval_free().
Definition at line 1165 of file ampi.C.
References comm2CommStruct(), ampiCommStruct::getKeyvals(), kvlist, CkVec< T >::push_back(), and CkVec< T >::size().
Referenced by AMPI_Attr_put(), and deleteAttr().
Definition at line 1189 of file ampi.C.
References comm2CommStruct(), ampiCommStruct::getKeyvals(), kv_builtin_storage, kv_is_builtin(), kvlist, and CkVec< T >::size().
Referenced by AMPI_Attr_get().
Definition at line 222 of file ampiOneSided.C.
References CkVec< T >::push_back(), CkVec< T >::size(), and winStructList.
Referenced by ampi::createWinInstance().
Definition at line 227 of file ampiOneSided.C.
References winStructList.
Referenced by AMPI_Accumulate(), AMPI_Get(), AMPI_IGet(), AMPI_IGet_Free(), AMPI_IGet_Wait(), AMPI_Put(), AMPI_Win_fence(), AMPI_Win_free(), AMPI_Win_get_group(), AMPI_Win_get_name(), AMPI_Win_lock(), AMPI_Win_post(), AMPI_Win_set_name(), AMPI_Win_start(), AMPI_Win_unlock(), and ampi::deleteWinInstance().
| void ampiParent::removeWinStruct | ( | WinStruct | win | ) |
| MPI_Info ampiParent::createInfo | ( | void | ) |
Definition at line 106 of file ampiMisc.C.
References infos, CkVec< T >::push_back(), and CkVec< T >::size().
Referenced by AMPI_Info_create().
Definition at line 112 of file ampiMisc.C.
References InfoStruct::dup(), infos, CkVec< T >::push_back(), and CkVec< T >::size().
Referenced by AMPI_Info_dup().
| void ampiParent::setInfo | ( | MPI_Info | info, | |
| char * | key, | |||
| char * | value | |||
| ) |
Definition at line 121 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_set().
Definition at line 127 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_delete().
Definition at line 133 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_get().
Definition at line 139 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_get_valuelen().
Definition at line 145 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_get_nkeys().
Definition at line 151 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_get_nthkey().
| void ampiParent::freeInfo | ( | MPI_Info | info | ) |
Definition at line 157 of file ampiMisc.C.
References infos, and CkVec< T >::size().
Referenced by AMPI_Info_free().
| void ampiParent::init | ( | void | ) |
Definition at line 932 of file ampi.C.
References fMsgLog, fromPUPer, groups, msgLogFilename, msgLogRead, msgLogWrite, record_msglog(), and toPUPer.
Referenced by ampiParent().
| void ampiParent::finalize | ( | void | ) |
Definition at line 964 of file ampi.C.
References fMsgLog, fromPUPer, msgLogRead, msgLogWrite, record_msglog(), and toPUPer.
Referenced by ~ampiParent().
CProxy_TCharm ampiParent::threads [private] |
TCharm* ampiParent::thread [private] |
Definition at line 1000 of file ampiimpl.h.
Referenced by ampiParent(), cartChildRegister(), getTCharmThread(), graphChildRegister(), groupChildRegister(), intraChildRegister(), prepareCtv(), registerAmpi(), ResumeThread(), splitChildRegister(), and startCheckpoint().
MPI_Comm ampiParent::worldNo [private] |
Definition at line 1003 of file ampiimpl.h.
Referenced by comm2ampi(), comm2CommStruct(), hasComm(), and pup().
ampi* ampiParent::worldPtr [private] |
Definition at line 1004 of file ampiimpl.h.
Referenced by ampiParent(), comm2ampi(), hasWorld(), lookupComm(), and registerAmpi().
ampiCommStruct ampiParent::worldStruct [private] |
Definition at line 1005 of file ampiimpl.h.
Referenced by comm2CommStruct(), lookupComm(), pup(), and registerAmpi().
ampiCommStruct ampiParent::selfStruct [private] |
CkPupPtrVec<ampiCommStruct> ampiParent::splitComm [private] |
Definition at line 1008 of file ampiimpl.h.
Referenced by checkComm(), getNextSplit(), getSplit(), pup(), and splitChildRegister().
CkPupPtrVec<ampiCommStruct> ampiParent::groupComm [private] |
Definition at line 1009 of file ampiimpl.h.
Referenced by checkComm(), getGroup(), getNextGroup(), groupChildRegister(), and pup().
CkPupPtrVec<ampiCommStruct> ampiParent::cartComm [private] |
Definition at line 1010 of file ampiimpl.h.
Referenced by cartChildRegister(), checkComm(), getCart(), and getNextCart().
CkPupPtrVec<ampiCommStruct> ampiParent::graphComm [private] |
Definition at line 1011 of file ampiimpl.h.
Referenced by checkComm(), getGraph(), getNextGraph(), and graphChildRegister().
CkPupPtrVec<ampiCommStruct> ampiParent::interComm [private] |
Definition at line 1012 of file ampiimpl.h.
Referenced by checkComm(), getInter(), getNextInter(), and interChildRegister().
CkPupPtrVec<ampiCommStruct> ampiParent::intraComm [private] |
Definition at line 1013 of file ampiimpl.h.
Referenced by checkComm(), getIntra(), getNextIntra(), and intraChildRegister().
CkPupPtrVec<groupStruct> ampiParent::groups [private] |
Definition at line 1015 of file ampiimpl.h.
Referenced by group2vec(), init(), isInGroups(), pup(), and saveGroupStruct().
CkPupPtrVec<WinStruct> ampiParent::winStructList [private] |
Definition at line 1016 of file ampiimpl.h.
Referenced by addWinStruct(), getWinStruct(), and pup().
CkPupPtrVec<InfoStruct> ampiParent::infos [private] |
Definition at line 1017 of file ampiimpl.h.
Referenced by createInfo(), deleteInfo(), dupInfo(), freeInfo(), getInfo(), getInfoNkeys(), getInfoNthkey(), getInfoValuelen(), pup(), and setInfo().
int* ampiParent::kv_builtin_storage [private] |
CkPupPtrVec<KeyvalNode> ampiParent::kvlist [private] |
Definition at line 1060 of file ampiimpl.h.
Referenced by createKeyval(), freeKeyval(), getAttr(), and putAttr().
int ampiParent::RProxyCnt [private] |
CProxy_ampi ampiParent::tmpRProxy [private] |
Definition at line 1066 of file ampiimpl.h.
Referenced by ampiInit(), ckJustRestored(), pup(), and ampi::setInitDoneFlag().
| CkDDT ampiParent::myDDTsto |
| CkDDT* ampiParent::myDDT |
Definition at line 1254 of file ampiimpl.h.
Referenced by ampiParent(), ampi::getDDT(), getDDT(), and pup().
Definition at line 1255 of file ampiimpl.h.
Referenced by getReqs(), ampi::inorder(), pup(), and ampi::ssend_ack().
Definition at line 1267 of file ampiimpl.h.
Referenced by AMPI_Allgather(), AMPI_Allgatherv(), AMPI_Allreduce(), AMPI_Alltoall(), AMPI_Alltoall2(), AMPI_Alltoallv(), AMPI_Barrier(), AMPI_Bcast(), AMPI_Finalize(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Irecv(), AMPI_Isend(), AMPI_Issend(), AMPI_Recv(), AMPI_Reduce(), AMPI_Scan(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Send(), and AMPI_Ssend().
Definition at line 1284 of file ampiimpl.h.
Referenced by AMPI_Allreduce(), AMPI_Bcast(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Recv(), AMPI_Reduce(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Wait(), and AMPI_Waitall().
| gzFile ampiParent::fMsgLog |
Definition at line 1287 of file ampiimpl.h.
Referenced by AMPI_Allreduce(), AMPI_Bcast(), AMPI_Comm_rank(), AMPI_Comm_size(), AMPI_Comm_split(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Irecv(), AMPI_Isend(), AMPI_Issend(), AMPI_Recv(), AMPI_Reduce(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Wait(), AMPI_Waitall(), AMPI_Wtime(), finalize(), and init().
Definition at line 1288 of file ampiimpl.h.
Referenced by AMPI_Allreduce(), AMPI_Bcast(), AMPI_Comm_rank(), AMPI_Comm_size(), AMPI_Comm_split(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Irecv(), AMPI_Isend(), AMPI_Issend(), AMPI_Recv(), AMPI_Reduce(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Wait(), AMPI_Waitall(), AMPI_Wtime(), finalize(), and init().
| FILE* ampiParent::fMsgLog |
Definition at line 1290 of file ampiimpl.h.
Definition at line 1291 of file ampiimpl.h.
Definition at line 1292 of file ampiimpl.h.
1.5.5