Skip to content
Snippets Groups Projects

feat: add multi core job example

Merged Rasmus Ringdahl requested to merge dev into main
6 files
+ 123
7
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -31,4 +31,4 @@ The job step with the single task is allocated and performed with the __srun__ c
@@ -31,4 +31,4 @@ The job step with the single task is allocated and performed with the __srun__ c
#### The python script
#### The python script
The python script represents the taskt to be done. In this case the task is to print out some environment variables that are set by Slurm.
The python script represents the taskt to be done. In this case the task is to print out some environment variables that are set by Slurm.
The environment variable __JOB_ID__ can be used to create temporary files and folders. In this example it creates a file named <JOB_ID>.txt and writes the job name into it.
The environment variable __JOB_ID__ can be used to create temporary files and folders. In this example it creates a file named _<JOB_ID>_.txt and writes the job name into it.
\ No newline at end of file
\ No newline at end of file
Loading