-loadbalance
which means spreadevenly across all cpu/nodes * -np 4
which is the number of processes in total to run.
cat mpi-nodes.conf swag.cs slots=8 cd /opt/mpi-code ./mpi-test Process 0 on swag.cs out of 4 Process 1 on swag.cs out of 4 Process 2 on swag.cs out of 4 Process 3 on swag.cs out of 4
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
mpi-hello.c | r1 | manage | 0.4 K | 2012-11-05 - 11:29 | MikeGore | OpenMPI test source file |
![]() |
mpi-nodes.conf | r1 | manage | 0.1 K | 2012-11-05 - 11:29 | MikeGore | OpenMPI configuration file |
![]() |
mpi-test | r1 | manage | 0.4 K | 2012-11-05 - 11:30 | MikeGore | OpenMPI test script to compile and run this example |