Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Openmpi and Mvapich is offered and under module setup control.

How can I use Portland Compilers and MPI?

Try the broadcast example found in the PGI directory tree:
/opt/pgi/linux86-64/7.2-3/EXAMPLES/MPI/mpihello/mynane.c

As an example that requests 8 cores:

>module load pgi
>module load mvapich2
>pgcc myname.c -o myname -Mmpi -I/opt/pgi/linux86-64/7.2-3/include/
>bsub -I -q parallel_public -a mvapich2 -n 8 mpirun.lsf ./myname

Where are all the Portland executables and what are their names?
When you load the module for Portland, all executables will be on your path.
/opt/pgi/linux86-64/7.2-3/bin

Can you recommend a good text on MPI?
The Tisch Library has:
William Gropp, Ewing Lusk, Anthony Skjellum, Using MPI: Portable Parallel Programming with the Message-Passing Interface, Second Edition, MIT Press, 1999, ISBN: 0262571323.

...