Commit ee7b975d authored by Michael Krause's avatar Michael Krause 🎉
Browse files

slurm: remove gpu from example job

parent 3e0b9a58
Pipeline #7271 passed with stages
in 35 seconds
......@@ -38,23 +38,29 @@ Example ``job_with_resources.job``
.. code-block:: bash
#!/bin/bash
#SBATCH --job-name myjob
#SBATCH --partition gpu
#SBATCH --time 24:0:0
#SBATCH --cpus-per-task 2
#SBATCH --mem 32GB
#SBATCH --gres gpu:1
#SBATCH --mail-type NONE
#SBATCH --workdir .
./run_simulation.py
This would create a job called "myjob" in the GPU partiton, that needs 24 hours
of running time, 32GB of RAM, a single GPU of any type, and 2 processors. It
will not send any e-mails and start in the current directory.
This would create a job called "myjob" in the default partiton, that needs 24
hours of running time, 32GB of RAM, and 2 processors. It will not send any
e-mails and start in the current directory.
Additionally, adding the following two lines would request a job in the **GPU** partition, requesting a single gpu of any kind.
.. code-block:: bash
...
#SBATCH --gres gpu:1
#SBATCH --partition gpu
...
Interactive Jobs
++++++++++++++++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment