User Tools

Site Tools


compute:step2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compute:step2 [2023/04/24 10:24] bjornscompute:step2 [2024/10/14 14:24] (current) – external edit 127.0.0.1
Line 14: Line 14:
 |''#SBATCH --mem=4G''|Job wants 4gb on memory| |''#SBATCH --mem=4G''|Job wants 4gb on memory|
 |''#SBATCH --time=0''|Time limit on my job e.g. time=11::00 (11 hours), 0 means nolimit| |''#SBATCH --time=0''|Time limit on my job e.g. time=11::00 (11 hours), 0 means nolimit|
-|''#SBATCH --partition=Lokaverk''|Run job on this queue|+|''#SBATCH --partition=Lokaverk''|Send job to run this queue|
 |''#SBATCH <nowiki>--</nowiki>output=myBatch.log''|Log file for environment & slurm| |''#SBATCH <nowiki>--</nowiki>output=myBatch.log''|Log file for environment & slurm|
 |python3 file.py | you put your run command after the directives| |python3 file.py | you put your run command after the directives|
Line 20: Line 20:
 When you job need GPU add this line to you slurm cmd file\\ When you job need GPU add this line to you slurm cmd file\\
 #SBATCH %%--%%gpus-per-node=1\\ #SBATCH %%--%%gpus-per-node=1\\
-**Note** : We recommend all students in this 3-week-course run their GPU job for a short time, using "--time=hh:MM" slurm directive, so all jobs get some GPU time\\+**Note** : We recommend all students in this 3-week-course run their **GPU job** for a short time, using "--time=hh:MM" slurm directive, so all jobs get some GPU time\\
  
 ==Other slurm directives== ==Other slurm directives==
compute/step2.1682331872.txt.gz · Last modified: 2024/10/14 14:24 (external edit)