33Running Renku on HPC
44====================
55
6- Renku CLI supports various backends for executing workflows. Currently, there
7- are two different providers are implemented, namely ``cwltool `` and ``toil ``.
8- :ref: `provider ` documents gives a more detailed description of how to implement
9- your own workflow provider.
6+ The Renku CLI supports various backends for executing workflows. Currently, two
7+ different providers are implemented, namely ``cwltool `` and ``toil ``. If you
8+ have a specific provider you need for your infrastructure, have a look at
9+ :doc: `implementing_a_provider ` for a detailed description of how to implement
10+ your own workflow provider. Alternatively, please `make a feature request
11+ <https://github.com/SwissDataScienceCenter/renku-python/issues/new?assignees=&labels=&template=feature_request.md> `_.
1012
1113By default all workflows are executed by the ``cwltool `` provider, that
1214exports the workflow to CWL and then uses `cwltool <https://github.com/common-workflow-language/cwltool >`_
@@ -18,12 +20,12 @@ providing the ``-c/--config <config.yaml>`` command line parameter.
1820The following ``renku `` commands support the above mentioned workflow provider
1921related command line options:
2022
21- - :ref: `cli-rerun `,
22- - :ref: `cli-update `,
23- - :ref: `cli-workflow ` ``execute `` and ``iterate ``.
23+ - :ref: `cli-rerun `
24+ - :ref: `cli-update `
25+ - :ref: `cli-workflow ` ``execute `` and ``iterate ``
2426
2527For example, to execute a previously created ``my_plan `` workflow with ``toil ``, one
26- simply would run the following command:
28+ would simply run the following command:
2729
2830.. code-block :: console
2931
@@ -34,23 +36,34 @@ the workflows on various `high-performance computing <https://toil.readthedocs.i
3436and `cloud <https://toil.readthedocs.io/en/latest/running/cloud/cloud.html#cloud-platforms >`_
3537platforms.
3638
39+ In order to use any other provider with ``renku `` you must first install the required
40+ extras. In the case of ``toil `` this means running the install command like
41+
42+ .. code-block :: console
43+
44+ $ pip install renku[toil]
45+
46+
3747 Renku on Slurm
3848^^^^^^^^^^^^^^
39- `Slurm <https://www.schedmd.com/ >`_ is a highly configurable open-source workload manager,
40- which is in widespread use at government laboratories, universities and companies world
41- wide and performs workload management for over half of the top 10 systems in the TOP500.
49+
50+ `Slurm <https://www.schedmd.com/ >`_ is a highly configurable open-source
51+ workload manager, which is in widespread use at government laboratories,
52+ universities and companies world wide. It is used in over half of the top 10
53+ systems in the `TOP500 <https://www.top500.org/ >`_ listing.
4254
4355As ``toil `` supports Slurm, one can easily execute the previously created renku
44- workflows on Slurm. One just needs to provide a simple configuration file to the provider
45- (``--config ``)::
56+ workflows on a Slurm-managed HPC resource . One just needs to provide a simple
57+ configuration file to the provider (``--config/-c ``)::
4658
4759 batchSystem: slurm
4860 disableCaching: true
4961
50- The ``disableCaching `` is necessary to be enabled for Slurm, for more details see the
51- related ``toil `` issue `TOIL-1006 <https://ucsc-cgl.atlassian.net/browse/TOIL-1006 >`_.
62+ The ``disableCaching `` option is necessary for Slurm; for more details see the
63+ related ``toil `` issue `TOIL-1006
64+ <https://ucsc-cgl.atlassian.net/browse/TOIL-1006> `_.
5265
53- `Additional Slurm specific parameters <https://slurm.schedmd.com/sbatch.html >`_ can be
66+ `Additional Slurm- specific parameters <https://slurm.schedmd.com/sbatch.html >`_ can be
5467provided with the ``TOIL_SLURM_ARGS `` environment variable.
5568
5669Taking the example above, the following command line will execute ``my_plan `` on Slurm:
0 commit comments