
00001 /* #ifdef filippo */ 00002 00003 /* /\************* DISCLAMER ******************** */ 00004 00005 /* Currently this strategy is not in a working state! */ 00006 00007 /* *********************************************\/ */ 00008 00009 /* #ifndef MPI_STRATEGY */ 00010 /* #define MPI_STRATEGY */ 00011 00012 /* #include "ComlibManager.h" */ 00013 00014 /* #if CHARM_MPI */ 00015 /* #include "mpi.h" */ 00016 /* #define MPI_MAX_MSG_SIZE 1000 */ 00017 /* #define MPI_BUF_SIZE 2000000 */ 00018 /* char mpi_sndbuf[MPI_BUF_SIZE]; */ 00019 /* char mpi_recvbuf[MPI_BUF_SIZE]; */ 00020 /* #endif */ 00021 00022 /* class MPIStrategy : public CharmStrategy { */ 00023 /* CharmMessageHolder *messageBuf; */ 00024 /* int messageCount; */ 00025 /* int npes, *pelist; */ 00026 00027 /* public: */ 00028 /* MPIStrategy(); */ 00029 /* MPIStrategy(CkMigrateMessage *m) {} */ 00030 /* MPIStrategy(int npes, int *pelist); */ 00031 00032 /* virtual void insertMessage(CharmMessageHolder *msg); */ 00033 /* virtual void doneInserting(); */ 00034 00035 /* virtual void pup(PUP::er &p); */ 00036 /* PUPable_decl(MPIStrategy); */ 00037 /* }; */ 00038 /* #endif */ 00039 00040 /* #endif */
1.5.5