Missing $(LINK_OPENMP) in Make/options
The LIB_LIBS
list in Make/options
should be changed to also contain a reference to $(LINK_OPENMP)
. Otherwise, this causes issues when trying to compile and use cfMesh binaries on macOS (in particular, the compiled binaries will fail to dynamically link against OpenMP on launch).
See also: OpenFOAM issue that introduced the $(LINK_OPENMP)
definition, example of an options
file that uses $(LINK_OPENMP)
, and bug report for this issue on OpenFOAM.app (macOS).