File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -107,3 +107,15 @@ Navigate to your **examples** directory and launch tracking of SNS linac.
107107cd examples/SNS_Linac/pyorbit3_linac_model/
108108python pyorbit3_sns_linac_mebt_hebt2.py
109109```
110+
111+ ## 5. MPI consideration
112+ By 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.
113+ ``` bash
114+ pip install --config-settings=setup-args=" -DMPI_USE=none" .
115+ ```
116+ Above will build PyORBIT without MPI even if MPI is present. You can change that option to ` mpich ` , ` ompi ` , ` none ` or ` auto ` (default).<br >
117+ Meson uses PKG_CONFIG to discover packages. It could be useful to help it to find your MPI installation:
118+
119+ ``` bash
120+ PKG_CONFIG_PATH=/opt/lib/pkgconfig pip install --verbose .
121+ ```
You can’t perform that action at this time.
0 commit comments