| version 1.72 | version 1.73 |
|---|
| |
| ~ComputeMsmMgr(); | ~ComputeMsmMgr(); |
| | |
| void initialize(MsmInitMsg *); // entry with message | void initialize(MsmInitMsg *); // entry with message |
| | void initialize_create(); // entry no message |
| private: | private: |
| void initialize2(); // split in two | void initialize2(); // split in two |
| public: | public: |
| |
| } | } |
| | |
| initialize2(); | initialize2(); |
| } | } // ComputeMsmMgr::initialize() |
| | |
| | |
| void ComputeMsmMgr::initialize2() | void ComputeMsmMgr::initialize2() |
| { | { |
| |
| } // end loop over levels | } // end loop over levels |
| // end of Map setup | // end of Map setup |
| | |
| | // XXX |
| | // |
| | // NO, WAIT! |
| | // More Map setup below for node mapping! |
| | // |
| | // XXX |
| | |
| // allocate chare arrays | // allocate chare arrays |
| | |
| if (1) { | if (1) { |
| |
| } // end node aware initial assignment of chares | } // end node aware initial assignment of chares |
| #endif // MSM_NODE_MAPPING | #endif // MSM_NODE_MAPPING |
| | |
| | } // ComputeMsmMgr::initialize2() |
| | |
| | |
| | void ComputeMsmMgr::initialize_create() { |
| | int i, j, k, n, level; |
| | |
| if (CkMyPe() == 0) { | if (CkMyPe() == 0) { |
| | |
| // on PE 0, create 3D chare array of MsmBlock for each level; | // on PE 0, create 3D chare array of MsmBlock for each level; |
| |
| #ifdef DEBUG_MSM_VERBOSE | #ifdef DEBUG_MSM_VERBOSE |
| printf("end of initialization\n"); | printf("end of initialization\n"); |
| #endif | #endif |
| } // ComputeMsmMgr::initialize() | } // ComputeMsmMgr::initialize_create() |
| | |
| | |
| void ComputeMsmMgr::recvMsmBlockProxy(MsmBlockProxyMsg *msg) | void ComputeMsmMgr::recvMsmBlockProxy(MsmBlockProxyMsg *msg) |
| { | { |