Zeon: Unterschied zwischen den Versionen

Aus IT Physics
Wechseln zu: Navigation, Suche
(Intel oneAPI: +pitfalls)
(+OpenMPI)
 
Zeile 1: Zeile 1:
 
= New Opterox-Login =
 
= New Opterox-Login =
  
Server is <code>zeon.physik.uni-due.de</code>
+
Server is <code>zeon.physik.uni-due.de</code>, home directories are the same.
  
= Queueing system = [https://slurm.schedmd.com/ Slurm] =
+
= Queueing system = [https://slurm.schedmd.com Slurm] =
  
* <code>sinfo</code> shows overall load and available queues (''partitions'').
+
* <code>sinfo</code> shows overall load and available queues (''partitions''). The default one is marked with <code>*</code>.
 
* <code>squeue</code> shows running jobs.
 
* <code>squeue</code> shows running jobs.
 
* simplest submission: <code>sbatch -n</code>''n'' ''script-name''
 
* simplest submission: <code>sbatch -n</code>''n'' ''script-name''
Zeile 27: Zeile 27:
  
 
* <code>ifort</code>/<code>mpiifort</code>: When compiling with <code>-i8</code>, you also have to link with <code>-i8</code> (cf. also [https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/command-reference/compiler-commands/compilation-command-options.html manual]).
 
* <code>ifort</code>/<code>mpiifort</code>: When compiling with <code>-i8</code>, you also have to link with <code>-i8</code> (cf. also [https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/command-reference/compiler-commands/compilation-command-options.html manual]).
 +
 +
= [https://www.open-mpi.org/doc/current OpenMPI] =
 +
 +
* The setting <code>export OMPI_MCA_pml=ucx</code> is necessary to prevent a "failed OFI Libfabric library call".

Aktuelle Version vom 13. März 2022, 10:47 Uhr

New Opterox-Login

Server is zeon.physik.uni-due.de, home directories are the same.

Queueing system = Slurm

  • sinfo shows overall load and available queues (partitions). The default one is marked with *.
  • squeue shows running jobs.
  • simplest submission: sbatch -nn script-name
  • scancel job-id kills job.

Intel oneAPI

Intel compilers, MKL and MPI are installed, must be selected via the module system:

module use /opt/intel/oneapi/modulefiles (unless you include that directory in your MODULEPATH)

  • module avail lists the installed modules, relevant are:
    • compiler/latest → ifort, icpc, icc, ...
    • mpi/latest → mpirun, mpiifort, mpiicpc, mpiicc, ...
    • mkl/latest
  • module load ... loads a module.

Inside a shell script (bash), you have to do shopt -s expand_aliases before being able to use the module command.

Pitfalls

  • ifort/mpiifort: When compiling with -i8, you also have to link with -i8 (cf. also manual).

OpenMPI

  • The setting export OMPI_MCA_pml=ucx is necessary to prevent a "failed OFI Libfabric library call".