Login to vsc3

•  power on your PC (if off) and login to the PC (see at flipchart)


•  open 2-4 terminals (xterm):

    ssh -X training@vsc3.vsc.ac.at

    password (see at flipchart)


•  load the appropriate modules (Intel compiler 18 and the Intel MPI library 2018):

    module load intel/18 intel-mpi/2018


•  change into your own working directory (see tiny sheet in keyboard for <PC#>):

    cd ~/HY-VSC/<PC#>           


In ~/HY-VSC/<PC#> you can find subdirectories for all exercises:

•  MPIX_Cart_weighted_create     (C only)   - slides 85-96          - MPI: application aware Cartesian topology

•  data-rep   (with directories for C* and F*) - slide 133               - MPI: how to avoid replicated data

•  1sided      (with directories for C* and F*) - slides 150-172      - MPI: additional 1sided exercises

•  he-hy        (you will find files *.c and *f90) - 182-185, 210-224 - MPI+OpenMP: compiling, starting, pinning

•  jacobi       (with directories for C* and F*) - slides 247-248      - MPI+OpenMP: hybrid through OpenMP parallelization

 +  job_mpi.sh               - sample job script to submit a pure MPI job (hello world) on vsc3

 +  slurm-job_mpi.out   - SLURM output of the above job-mpi.sh (hello world) on vsc3


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*.sh                                                        #   submit

•  squeue | grep JOBNAME                                      #   check

•  scancel JOB_ID                                                     #   cancel

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





Last modified: Monday, 10 June 2019, 7:30 PM