Zeon: Unterschied zwischen den Versionen

Aus IT Physics
Wechseln zu: Navigation, Suche
K (Intel oneAPI: load)
(Intel oneAPI: +pitfalls)
Zeile 23: Zeile 23:
  
 
Inside a shell script (bash), you have to do <code>shopt -s expand_aliases</code> before being able to use the <code>module</code> command.
 
Inside a shell script (bash), you have to do <code>shopt -s expand_aliases</code> before being able to use the <code>module</code> command.
 +
 +
== Pitfalls ==
 +
 +
* <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]).

Version vom 18. Februar 2022, 16:41 Uhr

New Opterox-Login

Server is zeon.physik.uni-due.de

Queueing system = Slurm

  • sinfo shows overall load and available queues (partitions).
  • 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).