Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
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:51] 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 541: | Zeile 541: | ||
#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> |
You can find further information with ''man sbatch''. Any parameters found there can also instead be included in the jobscript with ''#SBATCH''. | You can find further information with ''man sbatch''. Any parameters found there can also instead be included in the jobscript with ''#SBATCH''. |