docs: add single node concurrent build example (#20416)
This commit is contained in:
parent
860a945de6
commit
b7d9e269ef
@ -1864,14 +1864,21 @@ of ``mpich`` using the following command:
|
|||||||
|
|
||||||
$ srun -N 2 -n 8 spack install -j 4 mpich@3.3.2
|
$ srun -N 2 -n 8 spack install -j 4 mpich@3.3.2
|
||||||
|
|
||||||
This will create eight concurrent four-job installation on two different
|
This will create eight concurrent, four-job installs on two different
|
||||||
nodes.
|
nodes.
|
||||||
|
|
||||||
|
Alternatively, you could run the same installs on one node by entering
|
||||||
|
the following at the command line of a bash shell:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ for i in {1..12}; do nohup spack install -j 4 mpich@3.3.2 >> mpich_install.txt 2>&1 &; done
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The effective parallelism will be based on the maximum number of
|
The effective parallelism is based on the maximum number of packages
|
||||||
packages that can be installed at the same time, which will limited
|
that can be installed at the same time, which is limited by the
|
||||||
by the number of packages with no (remaining) uninstalled dependencies.
|
number of packages with no (remaining) uninstalled dependencies.
|
||||||
|
|
||||||
|
|
||||||
.. _dependencies:
|
.. _dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user