Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Ãœberarbeitung
Nächste Überarbeitung
Vorhergehende Ãœberarbeitung
Nächste Überarbeitung Beide Seiten der Revision
hlr:phoenix:nutzeranleitung [2020/11/30 18:50]
tarkhell [Jobfile]
hlr:phoenix:nutzeranleitung [2020/11/30 18:53]
tarkhell [Jobfile]
Zeile 78: Zeile 78:
 #SBATCH --nodes=2 #SBATCH --nodes=2
 #SBATCH --time=2-00:​00:​00 #SBATCH --time=2-00:​00:​00
-#SBATCH --job-name=TrainDenoiseModel+#SBATCH --job-name=GPUExample
 #SBATCH --ntasks-per-node=4 #SBATCH --ntasks-per-node=4
 #SBATCH --gres=gpu:​4 ​  #SBATCH --gres=gpu:​4 ​
  
 ~/​anaconda3/​bin/​python "/​path/​to/​file/​example.py"​ ~/​anaconda3/​bin/​python "/​path/​to/​file/​example.py"​
-</code+</code>
  
 Weitere Informationen bietet auch ''​man sbatch''​. Sämtliche dort verwendeten Parameter können auch im Jobscript selber mit ''#​SBATCH''​ angeben werden. ​ Weitere Informationen bietet auch ''​man sbatch''​. Sämtliche dort verwendeten Parameter können auch im Jobscript selber mit ''#​SBATCH''​ angeben werden. ​
Zeile 531: Zeile 531:
 --begin=now+60 (seconds by default) ​ --begin=now+60 (seconds by default) ​
 --begin=2010-01-20T12:​34:​00 --begin=2010-01-20T12:​34:​00
 +</​code>​
 +
 +In the following you can find an example for a jobfile for a GPU-node:
 +
 +<​code>​
 +#!/bin/bash -l
 +
 +#SBATCH --partition=gpu
 +#SBATCH --nodes=2
 +#SBATCH --time=2-00:​00:​00
 +#SBATCH --job-name=GPUExample
 +#SBATCH --ntasks-per-node=4
 +#SBATCH --gres=gpu:​4 ​
 +
 +~/​anaconda3/​bin/​python "/​path/​to/​file/​example.py"​
 </​code>​ </​code>​
  
hlr/phoenix/nutzeranleitung.txt · Zuletzt geändert: 2023/09/05 18:08 von matfranz
Gauß-IT-Zentrum