Skip to content
Snippets Groups Projects

add documentation on Slurm

Merged Wout De Nolf requested to merge slurm_docs into main
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
doc/slurm.rst 0 → 100644
29 command line interface like this
30
31 .. code:: bash
32
33 ewoksjob worker --pool=slurm -Q slurm -n slurm@id00 \
34 --slurm-url=http://... \
35 --slurm-user=myname \
36 --slurm-token=eyJhbGciO...
37 --slurm-pre-script='module load myenv' \
38 --slurm-log-directory='/tmp_14_days/{user_name}/slurm_logs'
39 -sp time_limit=240
40 -sp current_working_directory=/path/to/data
41
42 The option `--slurm-pre-script='module load myenv'` can be provided to activate a specific environment
43 on Slurm in which the execute the workflows. This can be any command like `conda activate myenv`,
44 `source /path/to/bin/activate`, ... The environment selected in this way needs to be setup like any
  • The environment selected in this way needs to be setup like any other worker environment.

    What does this mean exactly ?

  • It needs for example

    pip install ewoksjob[worker,redis,sql]

    or

    pip install ewoksjob[blissworker]

    In short, all packages appropriate to the situation need to be installed in the python environment.

    Edited by Wout De Nolf
  • Please register or sign in to reply
  • Looks good to me.

    However, I cannot build the doc locally with sphinx build. Is this normal ?

  • Loic Huder approved this merge request

    approved this merge request

  • merged

  • Wout De Nolf mentioned in commit b6922c9d

    mentioned in commit b6922c9d

  • Please register or sign in to reply
    Loading