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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
18
18
19
19
### Changed
20
20
- The tian2019 composition model now returns a mass fraction instead of a mass percentage. \[Daniel Douglas; 2024-11-12; [#767](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/767)\]
21
+
- Only link to MPI libraries if the cmake variable USE_MPI has been set. No longer automatically link to MPI if MPI is found. \[Rene Gassmoeller; 2025-01-20; [#792](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/792)\]
Copy file name to clipboardExpand all lines: doc/sphinx/user_manual/installation/installing_prerequisites.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Installing the prerequisites
4
4
5
5
When installing the World Builder on a system, make sure CMake is installed.
6
6
If you want a Fortran wrapper, then also make sure a Fortran compiler is installed (GFortran is the preferred option, but other Fortran compilers should work as well).
7
-
If you want a Python interface, make sure you have Python 3 installed.
7
+
If you want a Python interface, make sure you have Python 3 installed. Some World Builder apps can make use of MPI parallelization, although the main library generally makes no use of it. If you want to use MPI parallelization in the apps make sure that a MPI library *including its development header files* is installed on your system.
8
8
9
9
There are many ways to install the prerequisites of the World Builder per operating system.
10
10
For each system, we show some options which we know work.
@@ -17,6 +17,7 @@ If it doesn't work for your system, please let us know through GitHub issues (<h
17
17
3. Set the environment variables using `export CC=gcc; export CXX=g++;`.
18
18
4. (Optional) For a Fortran wrapper, run `sudo apt install gFortran`.
19
19
5. (Optional) For a Python wrapper, run `sudo apt install swig python3-setuptools`.
20
+
6. (Optional) For MPI parallelization, run `sudo apt install libopenmpi-dev`.
Copy file name to clipboardExpand all lines: doc/sphinx/user_manual/installation/stand_alone_install.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,18 +12,20 @@ Stand-alone installation with all apps
12
12
::::{tab-set}
13
13
:::{tab-item} For Windows with Visual Studio
14
14
6. Run CMake by entering: `cmake MAKE_FILE_GENERATOR="Visual Studio 15 2017 Win64"..`, or the version of Visual Studio you have installed, and make sure CMake finds all the dependencies.
15
-
7. For production runs, set build type to release by entering `-DCMAKE_BUILD_TYPE=Release`.
16
-
8. Run make with the amount of threads you want to use (e.g., use 8 processes: `make -j 8`).
17
-
9. If you want the Geodynamic World Builder to be installed on your system, run `cmake -build . -target install -j 8`
18
-
10. Run the tests to make sure everything is installed correctly (`cmake -build . -target run_tests -j 8`).
15
+
7. If you want to make use of MPI parallelism in the stand-alone apps, add `-DUSE_MPI=ON` to the cmake command of 6.
16
+
8. For production runs, set build type to release by adding `-DCMAKE_BUILD_TYPE=Release` to the cmake command of 6.
17
+
9. Run make with the amount of threads you want to use (e.g., use 8 processes: `make -j 8`).
18
+
10. If you want the Geodynamic World Builder to be installed on your system, run `cmake -build . -target install -j 8`
19
+
11. Run the tests to make sure everything is installed correctly (`cmake -build . -target run_tests -j 8`).
19
20
:::
20
21
21
22
:::{tab-item} For all other configurations
22
23
6. Run CMake by entering: `cmake ..` and make sure CMake finds all the dependencies.
23
-
7. For production runs, set build type to release by entering `make release`.
24
-
8. Run make with the amount of threads you want to use (e.g., use 8 processes: `make -j 8`).
25
-
9. If you want the Geodynamic World Builder to be installed on your system, run `sudo make install -j 4`
26
-
10. Run the tests to make sure everything is installed correctly (`ctest`).
24
+
7. If you want to make use of MPI parallelism in the stand-alone apps, add `-DUSE_MPI=ON` to the cmake command of 6.
25
+
8. For production runs, set build type to release by entering `make release`.
26
+
9. Run make with the amount of threads you want to use (e.g., use 8 processes: `make -j 8`).
27
+
10. If you want the Geodynamic World Builder to be installed on your system, run `sudo make install -j 4`
28
+
11. Run the tests to make sure everything is installed correctly (`ctest`).
0 commit comments