... | ... | @@ -28,9 +28,9 @@ |
|
|
### spack
|
|
|
<a name="spack"></a>
|
|
|
|
|
|
The installation of openfoam with spack will generally require the
|
|
|
The installation of OpenFOAM with spack will generally require the
|
|
|
latest (development version) of spack. If this is available, you can
|
|
|
install openfoam in various configurations and dependencies, but
|
|
|
install OpenFOAM in various configurations and dependencies, but
|
|
|
typically can simply install directly:
|
|
|
|
|
|
```
|
... | ... | @@ -51,7 +51,7 @@ The support for Darwin is complete, but less well tested than Linux. |
|
|
CGAL
|
|
|
- ThirdParty CGAL will normally need to be compiled _without_ mpfr/gmp.
|
|
|
This should be done manually prior to building OpenFOAM or other
|
|
|
ThirdParty. Eg,
|
|
|
ThirdParty. For example,
|
|
|
```
|
|
|
cd $WM_THIRD_PARTY_DIR
|
|
|
./makeCGAL gmp-none mpfr-none
|
... | ... | @@ -75,7 +75,7 @@ By default, OpenFOAM handles newer/older non-system compilers as |
|
|
_ThirdParty_ installations and uses the combination of `WM_COMPILER`
|
|
|
and `WM_COMPILER_TYPE` to select them. In some cases, however, it can
|
|
|
be much more convenient for the user to install prebuilt compiler
|
|
|
binaries as *system* compilers (eg, using deb or rpm packages).
|
|
|
binaries as *system* compilers (e.g., using deb or rpm packages).
|
|
|
This poses a slight problem since the OpenFOAM build rules normally
|
|
|
use the main compiler name (`gcc`, `clang` etc) without any additional
|
|
|
version information, but the various *system* compilers are frequently
|
... | ... | @@ -148,8 +148,11 @@ example: |
|
|
```
|
|
|
For older versions, `which $(wmake -show-cxx)` instead.
|
|
|
|
|
|
|
|
|
--------
|
|
|
|
|
|
Copyright (C) 2020 OpenCFD Ltd.
|
|
|
|
|
|
[latest-build]: https://develop.openfoam.com/Development/openfoam/blob/develop/doc/Build.md
|
|
|
|
|
|
[v2006-build]: https://develop.openfoam.com/Development/openfoam/blob/maintenance-v2006/doc/Build.md
|
... | ... | |