Parallel jobs PDF Print

 

If you want to run application in the parallel mode (if it is written for in) you will often use MPI. 

At the beginning you need to add MPI module by:

$ module add mpich-p4

then you can run the application (app) by

$ mpiexec -np number_of_processors app

For compiling the code with MPI use (for C)

$ module add mpich-p4
$ mpicc source_file

or (for Fortran 90)

$ module add mpich-p4-pgi pgicdk-8.0
$ mpif90 source_file

List of nodes that you have assigned by PBS you get by

$  cat `echo $PBS_NODEFILE`

Last Updated on Thursday, 01 October 2009 07:01