Hello world! |
|
|
|
|
|
| |
Hello world! | I’m 1 of 4 | on host1 | |||||
Hello world! | I’m 3 | of 4 | on host2 | ||||
Hello | world! | I’m | 0 | of | 4 | on | host1 |
Hello | world! | I’m | 2 | of | 4 | on | host2 |
8.3.3 Using srun with HP-MPI
The SLURM srun utility (srun command) is used with the mpirun command to launch an MPI job on an HP XC system.
The following is the general format of the mpirun command with srun:
mpirun [mpirun options]
This method runs with no restrictions on
The HP MPI
For additional information about using
8.3.3.1 Launching MPI Jobs
This section provides some examples of using
For additional information about using the srun command and its options, refer to Section 6.4.
•The following command runs a.out with four ranks, one per node, and ranks are cyclically allocated:
$ mpirun
.
.
.
host4 rank4