I'm able to run most of the OpenFOAM binaries by exporting WM_PROJECT_DIR=/usr/share/openfoam This does not work for the dynamically compiled code though. -- Matsievskiy S.V. <matsievskiysv at gmail.com>