CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Minor wmake problem for x86_64 when compiling everything using existing gcc WM_COMPILER%3dbb (http://www.cfd-online.com/Forums/openfoam-installation/57508-minor-wmake-problem-x86_64-when-compiling-everything-using-existing-gcc-wm_compiler-3dbb.html)

hoogland August 13, 2007 08:58

Description: If you want to
 
Description:

If you want to decouple gcc installation/upgrade from OpenFOAM and choose to set WM_COMPILER from 'Gcc' to '' as recommended in $WM_PROJECT_DIR/.OpenFOAM-1.4.1/bashrc, when you go to compile everything using:

$WM_PROJECT_DIR/Allwmake

wmake looks for $WM_PROJECT_DIR/wmake/rules/linux64 thanks to:

RULES = $(WM_DIR)/rules/$(WM_ARCH)$(WM_COMPILER)

in $WM_PROJECT_DIR/wmake/Makefile. $WM_PROJECT_DIR/wmake/rules/linux64Gcc exists, but not linux64.

One fix:

Create a symlink in $WM_PROJECT_DIR/wmake/rules:

ln -s linux64Gcc linux64


All times are GMT -4. The time now is 19:48.