Exercises of the 1st day

Prepare:

cp -a ~a2c06aa/MPI .                 #   copy all exercises and solutions for the 1st day

cd ~/MPI/01/                              #   this is your working directory for the 1st day


cp -a ~a2c06aa/job_mpi.sh .     #   copy the sample job file, you'll have to adapt:
                                                         jobname, number_of_nodes, and my-program.exe


cp ~/MPI/course/C/...                #   copy the C exercise - details see on slides!

cp ~/MPI/course/F_30/...           #   copy the Fortran exercise - details see on slides!


Compile @login node:

mpiicc -o my-program.exe my-program.c          #   C

mpiifort -o my-program.exe my-program.f90     #   Fortran


Submit to queuing system:

sbatch job_mpi.sh                                             #   submit (see notes above)

squeue --clusters=ivymuc                                   #   check

scancel --clusters=ivymuc JOB_ID                     #   cancel

output will be written to: slurm-*.out                  #   output


MPI - Documentation




Last modified: Tuesday, 29 January 2019, 2:13 PM