MPI on Maple
Maple has several flavors of MPI installed, but MVAPICH2 serves as our default. An example job can be found on Maple at /usr/local/apps/example_jobs/mpi_maple_example
.
First copy the example job to your home directory:
cp -r /usr/local/apps/example_jobs/mpi_maple_example/ ~
The example contains a simple MPI program written in C, a Makefile to compile the MPI program, and a PBS script to run it.
To compile the program, first load the MVAPICH module, then call make:
module load intel/compiler/64/2019 mvapich2
make
To run the job, submit the PBS script:
qsub hello.pbs