| Revision: | 132 |
| Committed: | Wed Oct 9 22:56:09 2002 UTC (23 years ago) by chuckv |
| File size: | 256 byte(s) |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | chuckv | 132 | #include <mpi.h> |
| 2 | chuckv | 122 | #include <mpiSimulation.hpp> |
| 3 | |||
| 4 | mpiSimulation::mpiSimulation() | ||
| 5 | { | ||
| 6 | int mpi_error; | ||
| 7 | |||
| 8 | MPI::Init(); | ||
| 9 | |||
| 10 | numberProcessors = MPI::Comm::Get_size(); | ||
| 11 | myNode = MPI::Comm::Get_rank(); | ||
| 12 | MPI::Get_processor_name(processorName,&processorNameLen); | ||
| 13 | } | ||
| 14 | |||
| 15 |