Skip to content

Commit 315a43e

Browse files
committed
Merge branch 'mpi' into singleenv
2 parents 3b76e09 + bb8b576 commit 315a43e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/cluster-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ packages:
4646
openmpi: ...
4747
```
4848
49-
??? example "example `network.yaml` for grace hopper"
49+
??? example "example `network.yaml` for Grace Hopper"
5050
* The `specs` field for `mpi:cray-mpich:specs` and `mpi:openmpi:specs` fields set different default `libfabric` for the respective MPI distributions.
5151
* By default `packages:cray-mpich` and `packages:openmpi` add the `+cuda` variant as a preference to build with cuda support by default on the Grace-Hopper nodes.
5252
* This can be overriden by adding `~cuda` to the spec in `network:mpi` in your recipe.

docs/porting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ The `mpi:` field is gone, and in its place there is a `network:` field.
201201
mpi: cray-mpich@8.1.30 +cuda
202202
```
203203

204-
If building on a system with NVIDIA GPUs, the `+cuda` option is probably selected by default.
204+
If building on a system with NVIDIA GPUs, the `+cuda` option is selected by default.
205205
See the `mpi:cray-mpich` and `packages:cray-mpich` fields for the `network.yaml` file in the cluster configuration to see the defaults.
206206

207207

docs/recipes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The `network` field has a field for defining MPI and additional custom package d
187187
```yaml title="environments.yaml"
188188
network:
189189
mpi: openmpi@5.0.8
190-
specs: ['libfabric@1.2.2']
190+
specs: ['libfabric@2.2.0']
191191
```
192192

193193
It is only possible to have a single MPI implementation in an environment, specified through the `mpi` field.
@@ -231,7 +231,7 @@ See the [`network.yaml` documentation][ref-cluster-config-network] for more info
231231

232232
!!! alps
233233

234-
The recommended MPI distribution on Alps is `cray-mpich`, as it is the most widely tested MPI for the libfabric/slingshot network.
234+
The recommended MPI distribution on Alps is `cray-mpich`, as it is the most widely tested MPI for the libfabric/Slingshot network.
235235

236236
OpenMPI's support for the Slingshot network is improving, however it may not be optimal for many applications, or requires more effort to fine tune.
237237
As such, it is recommended as an option for applications that have performance issues or bugs with cray-mpich.

stackinator/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ def __init__(self, args):
111111
# - meta data about mpi
112112
# - package information for network libraries (libfabric, openmpi, cray-mpich, ... etc)
113113
network_path = self.system_config_path / "network.yaml"
114-
self._logger.debug(f"opening {network_path}")
115114
network_packages = {}
116115
mpi_templates = {}
117116
if network_path.is_file():
117+
self._logger.debug(f"opening {network_path}")
118118
with network_path.open() as fid:
119119
raw = yaml.load(fid, Loader=yaml.Loader)
120120
if "packages" in raw:

0 commit comments

Comments
 (0)