Commit 7ff2f463 authored by Michael Krause's avatar Michael Krause 🎉
Browse files

Fix duplicate label due to includes

parent 6885e21c
...@@ -3,10 +3,9 @@ image: alpine ...@@ -3,10 +3,9 @@ image: alpine
pages: pages:
script: script:
- apk --no-cache add py3-pip python3-dev - apk --no-cache add py3-pip python3-dev
- pip install sphinx sphinx_rtd_theme - pip install sphinx sphinx_rtd_theme recommonmark
- apk --no-cache add make - apk --no-cache add make
- make html - make html
- make html # fix some toc/include related warnings
- mkdir public - mkdir public
- mv _build/html/* public/ - mv _build/html/* public/
artifacts: artifacts:
......
...@@ -31,14 +31,11 @@ import sphinx_rtd_theme ...@@ -31,14 +31,11 @@ import sphinx_rtd_theme
# Add any Sphinx extension module names here, as strings. They can be # Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [] extensions = ['recommonmark']
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
source_suffix = ['.rst', '.md']
# The encoding of source files. # The encoding of source files.
#source_encoding = 'utf-8-sig' #source_encoding = 'utf-8-sig'
...@@ -119,7 +116,6 @@ html_theme = "sphinx_rtd_theme" ...@@ -119,7 +116,6 @@ html_theme = "sphinx_rtd_theme"
# Add any paths that contain custom themes here, relative to this directory. # Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = [] #html_theme_path = []
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# The name for this set of Sphinx documents. If None, it defaults to # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".
......
.. _rm_general:
General General
======= =======
...@@ -23,10 +25,10 @@ will find documentation and example commands for both systems. ...@@ -23,10 +25,10 @@ will find documentation and example commands for both systems.
Queues/Partitions Queues/Partitions
----------------- -----------------
The RM usually manages a number of queues (they are called partitions for The RM usually manages a number of queues (partitions for Slurm) and they can
Slurm) and they can hold thousands of jobs that are subject to execution. Once hold thousands of jobs that are subject to execution. Once you prepared a Job
you prepared a Job (:ref:`torque_jobs`, :ref:`slurm_jobs`) you can place them (:ref:`Torque Jobs <torque_jobs>`, :ref:`Slurm Jobs <slurm_jobs>`) you can
inside a queue. All jobs of all users are going to the same central place them inside a queue. All jobs of all users are going to the same central
queue(s): queue(s):
.. image:: ../img/queue.svg .. image:: ../img/queue.svg
......
...@@ -11,10 +11,10 @@ nodes from Torque to SLURM to motivate everyone to familiarize with the new syst ...@@ -11,10 +11,10 @@ nodes from Torque to SLURM to motivate everyone to familiarize with the new syst
**Users familiar with Torque** can check out the :ref:`slurm_transition` for a quick start: **Users familiar with Torque** can check out the :ref:`slurm_transition` for a quick start:
.. include:: slurm/transition.rst .. include:: slurm/transition.inc
.. include:: slurm/jobs.rst .. include:: slurm/jobs.inc
.. include:: slurm/commands.rst .. include:: slurm/commands.inc
.. include:: slurm/resources.rst .. include:: slurm/resources.inc
.. include:: slurm/gpus.rst .. include:: slurm/gpus.inc
.. _SLURM: https://slurm.schedmd.com/ .. _SLURM: https://slurm.schedmd.com/
.. _gpu_list:
using GPUs using GPUs
---------- ----------
......
.. _torque: .. _torque_index:
Torque **(End-Of-Life)** Torque **(End-Of-Life)**
======================== ========================
...@@ -10,7 +10,7 @@ the open source product Maui, which hadn't seen an update for many years and ...@@ -10,7 +10,7 @@ the open source product Maui, which hadn't seen an update for many years and
became incompatible to some of the more recent feature of Torque. became incompatible to some of the more recent feature of Torque.
.. include:: torque/jobs.rst .. include:: torque/jobs.inc
.. include:: torque/commands.rst .. include:: torque/commands.inc
.. include:: torque/dependencies.rst .. include:: torque/dependencies.inc
.. include:: torque/resources.rst .. include:: torque/resources.inc
...@@ -18,7 +18,7 @@ dependency systems to specify the structure of the three stages so you only ...@@ -18,7 +18,7 @@ dependency systems to specify the structure of the three stages so you only
have to submit once. have to submit once.
Submit Example Submit Example
~~~~~~~~~~~~~~ ++++++++++++++
Every time you submit a job with qsub you can add a dependency list to that job Every time you submit a job with qsub you can add a dependency list to that job
and ask to only run on certain conditions. For instance, to run job 5 only and ask to only run on certain conditions. For instance, to run job 5 only
......
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