Skip to content

Commit 5294b3a

Browse files
committed
Fix doc for Spack installation
To install the Spack Variant with slurm support it is necessary to pass `scheduler=slurm` to the `spack install` commandline instead of just `+slurm`. Just fixed that in the docs.
1 parent 45f0e87 commit 5294b3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

darshan-runtime/doc/darshan-runtime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ install either or both as follows:
282282

283283
You can use the ``spack info darshan-runtime`` query to view the full list of
284284
variants available for the darshan-runtime Spack package. For example, adding
285-
a ``+slurm`` to the command line (``spack install darshan-runtime+slurm``) will
285+
a ``scheduler=slurm`` to the command line (``spack install "darshan-runtime scheduler=slurm"``) will
286286
cause Darshan to be compiled with support for gathering job ID information from
287287
the Slurm scheduler.
288288

darshan-runtime/doc/darshan-runtime.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ ensure maximum runtime compatibility.
229229
====
230230

231231
You can use the `spack info darshan-runtime` query to view the full list of
232-
variants available for the darshan-runtime Spack package. For example, adding a `+slurm` to
233-
the command line (`spack install darshan-runtime+slurm`) will cause Darshan
232+
variants available for the darshan-runtime Spack package. For example, adding a `scheduler=slurm` to
233+
the command line (`spack install "darshan-runtime scheduler=slurm"`) will cause Darshan
234234
to be compiled with support for gathering job ID information from the Slurm
235235
scheduler.
236236

0 commit comments

Comments
 (0)