You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now exporting the environment variable `JULIA_LOAD_PATH=":/software/mpi/julia"`
145
+
(note the `:` before the path) in the corresponding
137
146
module file (preferably the module file for the MPI installation or for Julia),
138
-
will cause the user to default to your cluster MPI installation.
147
+
will cause MPI.jl to default to your cluster MPI installation.
139
148
140
149
The user can still provide differing MPI configurations for each Julia project that
141
150
will take precedent by modifying the local `Project.toml` or by providing a `LocalPreferences.toml` file.
@@ -147,13 +156,29 @@ The following MPI implementations are provided as JLL packages and automatically
147
156
-`MicrosoftMPI_jll`: Default for Windows
148
157
-`MPICH_jll`: Default for all Unix-like systems
149
158
-[`MPItrampoline_jll`](https://github.com/eschnett/MPItrampoline): Binaries built against MPItrampoline can be efficiently retargetted to a system MPI implementation.
150
-
-`OpenMPI_jll`
159
+
-`OpenMPI_jll`:
151
160
152
161
```@doc
153
162
MPI.use_jll_binary
154
163
```
155
164
156
-
## Environment variables for the testsuite
165
+
## Configuration of the MPI.jl testsuite
166
+
167
+
### Testing against a different MPI implementation
168
+
169
+
The `LocalPreferences.toml` must be located within the `test` folder, you can
170
+
either create it in place or copy it into place.
171
+
172
+
```
173
+
~/MPI> julia --project=test
174
+
julia> using MPIPreferences
175
+
julia> MPIPreferences.use_system_binary()
176
+
~/MPI> rm test/Manifest.toml
177
+
~/MPI> julia --project
178
+
(MPI) pkg> test
179
+
```
180
+
181
+
### Environment variables
157
182
The test suite can also be modified by the following variables:
158
183
159
184
-`JULIA_MPI_TEST_NPROCS`: How many ranks to use within the tests
0 commit comments