Skip to content

OpenFOAM(R) 3.0.(0|x) & WM_LABEL_SIZE=64

Alexey Matveichev edited this page Feb 9, 2024 · 1 revision

WM_LABEL_SIZE=64 is new feature of 3.0.0 release, allowing to have large meshes. Compiling this version of Scotch and METIS decomposition methods requires underlying libraries compiled with support of 64-bit indices. Since it is even not an option with current formulae, guess, Homebrew community is not quite interested in this kind of build. So I created keg-only formulae (scotch64 and metis64), which can be installed along with usual scotch and metis.

To install these formulae use complete URLs, i.e.

$ brew install https://raw.githubusercontent.com/mrklein/openfoam-os-x/master/formulae/metis64.rb
$ brew install https://raw.githubusercontent.com/mrklein/openfoam-os-x/master/formulae/scotch64.rb

After installation of these formulae you can build OpenFOAM(R) (or rebuild if you have already installed it), scripts find new include/library files and configure corresponding compiler flags.

Clone this wiki locally