Versionen im Vergleich

Schlüssel

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

You can start the code within an interactive batch job. After creation of a binary (executable, model code) you can start the code within an interactive batch job. Please

like in Workflow CPU CLX,

submit the slurm job script to execute the binary on compute nodes, please follow these steps.

  1. Login to a login node of GPU PVC partition.

  2. Ask for an allocation of nodes within a slurm partition of the GPU PVC partition.

  3. Start the code on the allocation.

  4. Stop the allocation of nodes.

Ask for an allocation

Codeblock
bgilogin1> salloc --time=00:10:00 --nodes=2 --partition=gpu-pvc
bgilogin1> squeue -u $USER
... 8394731 gpu-pvc interact ... bgi[1002-1003] 

Start the code

Codeblock
bgilogin1> srun --ntasks-per-node=2 mycode
... my output ...
bgilogin1> srun --ntasks-per-node=2 mycode
... my output ...

Stop allocation

Codeblock
bgilogin1> exit
salloc: Relinquishing job allocation 8394731
bgilogin1> squeue -u $USER
... nothing ...