Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagetext
blogin1 ~ $ salloc -t 00:10:00 -p standard96cpu-clx:test -N2 --tasks-per-node 24
salloc: Granted job allocation [...]
salloc: Waiting for resource configuration
salloc: Nodes bcn[1001,1003] are ready for job
# To get a shell on one of the allocated nodes
blogin1 ~ $ srun --pty --interactive --preserve-env ${SHELL}
bcn1001 ~ $ srun hostname | sort | uniq -c
     24 bcn1001
     24 bcn1003
bcn1001 ~ $ exit
# Exit a second time for Berlin/Lise 
blogin1:~ > exit
salloc: Relinquishing job allocation [...]

...

Please go to our webpage CPU CLX partition "Lise" for for more details about job scripts. For introduction, standard batch system jobs are executed applying the following steps:

  1. Provide (write) a batch job script, see the examples below.
  2. Submit the job script with the command sbatch (sbatch jobscript.sh)
  3. Monitor and control the job execution, e.g. with the commands squeue and scancel (cancel the job).

...

  1. job

...

  1. )

...

  1. .

...

titleIntel MPI Job Script

Requesting 4 nodes in the medium partition with 96 cores (no hyperthreading) for 10 minutes, using Intel MPI.

Codeblock
languagebash
linenumberstrue
#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH -N 4
#SBATCH --tasks-per-node 96
#SBATCH -p standard96

module load impi
export SLURM_CPU_BIND=none  # important when using "mpirun" from Intel-MPI!
							# Do NOT use this with srun!
export I_MPI_HYDRA_TOPOLIB=ipl
export I_MPI_HYDRA_BRANCH_COUNT=-1

mpirun hello_world > hello.output

...

titleOpenMP job

Requesting 1 large node with 96 CPUs (physical cores) for 20 minutes, and then using 192 hyperthreads

...

languagebash
linenumberstrue

...

Job Accounting

Accounting gives you more information about job accounting.

...