These examples show how to build and run several versions of MPI on the Power nodes. To build/run these examples:
A script that sets up the environment and then does a make
Makefile for the examples.
/************************************************************ * This is a glorified hello world program. Each processor * prints name, rank, and other information as described below. * ************************************************************/ phostone arguments: -h : Print this help message no arguments : Print a list of the nodes on which the command is run. -f or -1 : Same as no argument but print MPI task id and Thread id If run with OpenMP threading enabled OMP_NUM_THREADS > 1 there will be a line per MPI task and Thread. -F or -2 : Add columns to tell first MPI task on a node and and the numbering of tasks on a node. (Hint: pipe this output in to sort -r -a : Print a listing of the environmental variables passed to MPI task. (Hint: use the -l option with SLURM to prepend MPI task #.)
A script for running the examples.