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