Compiling OpenFOAM
See either:
- Compiling OpenFOAM 3.0.x
- Compiling OpenFOAM 6
- Compiling OpenFOAM v1806
- Compiling OpenFOAM.org 10 and dev
- Compiling OpenFOAM.com v2212
For information on running OpenFOAM, see: OpenFOAM
OpenFOAM.org compilation docs: https://openfoam.org/download/source/
Generally Useful Tips
Qt
- build it separately, and install in the prefix rather than relying on OpenFOAM's build scripts
- if a make fails, just delete the entire Qt source directory and start over
Other "third party" packages
- unlike Qt, cannot be installed in the prefix
- specifying "system" will look for packages in /usr ...
- so, must do the build using OpenFOAM build scripts, with source tarballs expanded into ThirdParty-6