... | ... | @@ -26,14 +26,14 @@ features. In this document we explain how to compile OPAL from scratch |
|
|
* Operating system
|
|
|
** Linux
|
|
|
** Windows with Windows Services for Linux (WSL)
|
|
|
** Mac with macos > 10.12
|
|
|
** Mac with macos >= 10.15
|
|
|
* Required development tools/packages
|
|
|
** macOS
|
|
|
*** Xcode
|
|
|
*** Command line tools
|
|
|
*** optional: Macports, Homebrew, Fink or another package manager
|
|
|
** Linux (including WSL)
|
|
|
*** C/C++ compiler supporting C++11 or better
|
|
|
*** C/C++ compiler supporting C++17 or better
|
|
|
*** optional: Fortran 95 compiler or better
|
|
|
*** make
|
|
|
*** bison or compatible
|
... | ... | @@ -54,22 +54,21 @@ the recommended version. |
|
|
| **Name** | **minimum Version** | **recommended Versions** | **Notes**
|
|
|
|
|
|
| C/C++ Compiler | |
|
|
|
| must support C++ 11 or better. For further instructions see section below.
|
|
|
| must support C++ 17 or better. For further instructions see section below.
|
|
|
|
|
|
| Fortran Compiler | |
|
|
|
| optional, must support Fortan 95 or better.
|
|
|
|
|
|
| cmake | 3.0.0 | 3.11.4 or newer
|
|
|
| 1.With some version prior to 3.11.4 we had problems configuring HDF5 and Boost. +
|
|
|
2. For compiling CMake version 3.11.4 and newer a C++ compiler supporting C++11 is required.
|
|
|
| cmake | 3.15.5 | 3.20.5 or newer
|
|
|
|
|
|
|
|
|
|
| Open MPI | 3.1.2 | 3.1.6
|
|
|
| Open MPI | 3.1.6 | 4.0.5
|
|
|
| as alternative MPICH can be used
|
|
|
|
|
|
| zlib | 1.2.11 | 1.2.11
|
|
|
| use system zlib if available (`libz.a` or `libz.so`)
|
|
|
|
|
|
| hdf5 | 1.8.18 | 1.10.6
|
|
|
| hdf5 | 1.8.18 | 1.10.7
|
|
|
| A parallel version is required.
|
|
|
|
|
|
| GNU Scientific Library | 2.5 | 2.6
|
... | ... | @@ -81,21 +80,19 @@ the recommended version. |
|
|
| H5hut | 2.0.0rc6 | 2.0.0rc6
|
|
|
| A parallel version is required.
|
|
|
|
|
|
| boost | 1.66.0 | 1.73.0
|
|
|
| boost | 1.73.0 | 1.76.0
|
|
|
| The following boost libraries are required: `chrono`, `filesystem`,
|
|
|
`iostreams`, `regex`, `serialization`, `system`, `timer`
|
|
|
|
|
|
| ParMETIS | 4.0.0 | 4.0.3
|
|
|
| optional: required for OPAL compiled with SAAMG solver.
|
|
|
|
|
|
| OpenBLAS | 0.2.9 | 0.3.10 or newer
|
|
|
| OpenBLAS | 0.3.10 | 0.3.15 or newer
|
|
|
| optional: required for OPAL compiled with SAAMG solver.
|
|
|
|
|
|
| trilinos | 12.10.1
|
|
|
| 12.12.1 (macOS) +
|
|
|
12.18.1 (Linux)
|
|
|
| 1. optional: required for OPAL compiled with SAAMG solver. +
|
|
|
2. Version `12.18.1` does not compile on macOS.
|
|
|
| trilinos | 13.0.1
|
|
|
| 13.0.1
|
|
|
| optional: required for OPAL compiled with SAAMG solver.
|
|
|
|
|
|
| AMReX | 18.07 | 18.07
|
|
|
| optional: required for OPAL compiled with AMR solvers.
|
... | ... | @@ -125,9 +122,9 @@ package manager. |
|
|
| **Name** | **minimum Version** | **recommended Version** | **Notes**
|
|
|
|
|
|
| GNU Compiler Collection
|
|
|
| 7.3.0
|
|
|
| 7.5.x,8.4.x, 9.3.x
|
|
|
| For the time being GCC 10.1 is not recommended. GCC 10.x fails to compile AMReX.
|
|
|
| 8.4.0
|
|
|
| 10.3.0
|
|
|
|
|
|
|
|
|
|
|=======
|
|
|
|
... | ... | @@ -139,17 +136,17 @@ If you want to compile GCC, you have to compile the following libraries first wi |
|
|
|
|
|
| GNU Multiple Precision Arithmetic Library (GMP)
|
|
|
| 6.2.0
|
|
|
| 6.2.0 or newer
|
|
|
| 6.2.1 or newer
|
|
|
|
|
|
|
|
|
|
| GNU MPFR Library
|
|
|
| 4.0.1
|
|
|
| 4.0.2
|
|
|
| 4.1.0
|
|
|
|
|
|
|
|
|
|
| GNU MPC Library
|
|
|
| 1.1.0
|
|
|
| 1.1.0
|
|
|
| 1.2.1
|
|
|
|
|
|
|
|
|
|
|=======
|
... | ... | @@ -168,9 +165,8 @@ front-end of LLVM or GCC from one of the package managers. |
|
|
|=======
|
|
|
| **Name** | **minimum Version** | **recommended Version** | **Notes**
|
|
|
|
|
|
| Clang (LLVM) | 9.0.0 | 11.0.3 |
|
|
|
1. Xcode 9 (macOS 10.12) +
|
|
|
2. Xcode 11 (macOS 10.15)
|
|
|
| Clang (LLVM) | 11.0.3 | 12.4 |
|
|
|
|
|
|
|=======
|
|
|
|
|
|
'''
|
... | ... | |