| |
|
|
|
|
SGI Altix Message Passing FAQ |
The usual commands for compiling MPI programs (mpicc, mpif77, mpif90,
etc.) are not available on the SGI Altix. To find out how to compile
your MPI program, see NCSA's SGI Altix Programming Environment web page.
To run an MPI program on more than 4 processors, you need to run the
MPI program within a batch job. For information about batch jobs, see:
batch jobs web page.
For information about interactive jobs, see the
interactive jobs web page.
You may consider using the online sample mpi batch script
(/usr/local/doc/pbs/samples/mpi.pbs) with the following changes:
- list the total cpus (MPI_processes * OpenMP_threads) in the PBS -l ncpus directive
- set the environment variable OMP_NUM_THREADS to the number of OpenMP threads
- explicitly set the number of MPI processes in the -np argument to mpirun
|
|
|
|
|