HP-MPI Version 2.2.5 for Linux Release Note

HP-MPI V2.2.5 for Linux Release Note
What’s in This Version
30
% $MPI_ROOT/bin/mpicc -o hello_world $MPI_ROOT/help/hello_world.c
Create a file "appfile" as:
-h n01 -np 2 /path/to/hello_world
-h n02 -np 2 /path/to/hello_world
Run the hello_world executable file:
% $MPI_ROOT/bin/mpirun -f appfile
By default, mpirun will ssh to the remote machines n01 and n02.
•Analyze hello_world output.
HP-MPI prints the output from running the hello_world executable in
non-deterministic order. The following is an example of the output:
Hello world!I’m 1 of 4 on n01
Hello world!I’m 3 of 4 on n02
Hello world!I’m 0 of 4 on n01
Hello world!I’m 2 of 4 on n02
3. The following is an example using prun|srun with mpirun:
% $MPI_ROOT/bin/mpirun [mpirun options] [-prun|-srun] [prun|srun options]
This method runs with no restrictions on MPI-2 functionality. Some features like mpirun
-stdio processing are still unavailable.
The -np option is not allowed with -prun or -srun. The following options are allowed
with -prun and -srun:
% $MPI_ROOT/bin/mpirun [-help] [-version] [-jv] [-i <spec>]
[-universe_size=#] [-sp <paths>] [-T] [-prot] [-spawn] [-tv] [-1sided] [-e
var[=val]] [-prun|-srun] <prun|srun options> <program> [<args>]
For more information on prun usage:
% man prun
For more information on srun usage:
% man srun
4. The following is an example that assumes the system has the Quadrics Elan4
interconnect, and the system is a collection of 2-CPU nodes. (For srun, SLURM is
configured to use the Elan4):
% $MPI_ROOT/bin/mpirun [-prun|-srun] -N4 ./a.out
will run a.out with 4 ranks, one per node, ranks are cyclically allocated.