Skip to content

Commit

Permalink
Merge pull request #61 from jgerardsimcock/slurm-low-pri-doc
Browse files Browse the repository at this point in the history
add Slurm low-pri example deployment
  • Loading branch information
Joe Hamman committed May 21, 2018
2 parents 24d1343 + 9c03c7b commit 2edcd96
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,23 @@ SLURM Deployments
project="woodshole",
walltime="01:00:00",
queue="normal")
SLURM Deployment: Low-priority node usage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
from dask_jobqueue import SLURMCluster
cluster = SLURMCluster(processes=6,
threads=4,
memory="16GB",
project="co_laika",
queue='savio2_bigmem',
env_extra=['export LANG="en_US.utf8"',
'export LANGUAGE="en_US.utf8"',
'export LC_ALL="en_US.utf8"'],
job_extra=['--qos="savio_lowprio"'])

0 comments on commit 2edcd96

Please sign in to comment.