Skip to content
Snippets Groups Projects
Commit 695adb38 authored by Natasha Pavlovikj's avatar Natasha Pavlovikj
Browse files

Merge branch 'update_srun' into 'master'

Expand on srun resources

See merge request !442
parents fd29c7bd a9690ff8
No related branches found
No related tags found
1 merge request!442Expand on srun resources
......@@ -10,13 +10,13 @@ Output from run your processing should be directed to either `/work` or `/common
{{% /notice %}}
Submitting an interactive job is done with the command `srun`.
{{< highlight bash >}}
$ srun --pty $SHELL
{{< /highlight >}}
or to allocate 4 cores per node for 3 hours:
This command will allocate the default resources of 1GB of RAM, 1 hour of running time, and a single CPU core. Oftentimes, these resources are not enough. If the job is terminated, there is a high chance that the reason is exceeded resources, so please make sure you set the memory and time requirements appropriately.
Submitting an interactive job to allocate 4 CPU cores per node for 3 hours with RAM memory of 1GB per core on the general `batch` partition:
{{< highlight bash >}}
$ srun --nodes=1 --ntasks-per-node=4 --mem-per-cpu=1024 --time=3:00:00 --pty $SHELL
{{< /highlight >}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment