File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,16 @@ python pyorbit3_sns_linac_mebt_hebt2.py
111111## 5. MPI consideration
112112By default, the build system will try to find MPI and compile against it. You can control which MPI to use with command line option when building.
113113``` bash
114- pip install --config-settings=setup-args=" -DMPI_USE =none" .
114+ pip install --config-settings=setup-args=" -DUSE_MPI =none" .
115115```
116116Above will build PyORBIT without MPI even if MPI is present. You can change that option to ` mpich ` , ` ompi ` , ` none ` or ` auto ` (default).<br >
117+ | MPI flavor | Installation command |
118+ | ---------------| --------------|
119+ | No MPI | ` pip install --config-settings=setup-args="-DUSE_MPI=none" . ` |
120+ | The first found MPI installation if any | ` pip install --config-settings=setup-args="-DUSE_MPI=auto" . ` |
121+ | OpenMPI | ` pip install --config-settings=setup-args="-DUSE_MPI=ompi" . ` |
122+ | MPICH | ` pip install --config-settings=setup-args="-DUSE_MPI=mpich" . ` |
123+
117124Meson uses PKG_CONFIG to discover packages. It could be useful to help it to find your MPI installation:
118125
119126``` bash
You can’t perform that action at this time.
0 commit comments