new mpi library on the cluster since wsu’s grid had an upgrade of its operating system recently,...
TRANSCRIPT
![Page 1: New MPI Library on the cluster Since WSU’s Grid had an upgrade of its operating system recently, we need to use a new MPI Library to compile and run our](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d0a5503460f949dc14b/html5/thumbnails/1.jpg)
New MPI Library on the cluster
Since WSU’s Grid had an upgrade of its operating system recently, we need to use a new MPI Library to compile and run our Jobs.
1
![Page 2: New MPI Library on the cluster Since WSU’s Grid had an upgrade of its operating system recently, we need to use a new MPI Library to compile and run our](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d0a5503460f949dc14b/html5/thumbnails/2.jpg)
How to compile your program
First, we need to run “qsub –I” command.Second, load the new mpi module by the next two commands:
module load pgi-14.6/compilermodule load pgi-14.6/compiler-mpi
Third, use mpicc command to compile your program as before
2
![Page 3: New MPI Library on the cluster Since WSU’s Grid had an upgrade of its operating system recently, we need to use a new MPI Library to compile and run our](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d0a5503460f949dc14b/html5/thumbnails/3.jpg)
The new script to submit jobs
#!/bin/bash
#PBS -l ncpus=8#PBS -l nodes=4:ppn=2#PBS -m ea#PBS -q mtxq#PBS -o grid.wayne.edu:~fb4032/tmp3/new3#PBS -e grid.wayne.edu:~fb4032/tmp3/new4module load pgi-14.6/compilermodule load pgi-14.6/compiler-mpi/wsu/apps/compilers/pgi/pgicdk-146/linux86-64/2014/mpi/mpich/bin/mpiexec \-machinefile $PBS_NODEFILE \-n 8 \/wsu/home/fb/fb40/fb4032/hello
The commands in red are the modifications, and you should just run “qsub job.sh” to submit jobs as before.
3