Using MPI (AC)
On the Altix AC (http://nf.apac.edu.au/facilities/userguide/ac):
The relevant modules to use MPI are loaded for you at login.
Compile:
> ifort foo.f -o foo.exe -lmpi
> icc foo.c -o foo.exe -lmpi
Execute:
> mpirun -np 4 ./foo.exe
or
> qsub -q express -lncpus=4,walltime=30:00,vmem=400mb -wd
mpirun ./a.out
cntrl-D
(Note that on AC you can use either mpirun or prun as these are
both wrappers to the underlying anumpirun command.)
|