CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   gcc compiler path in make file (

kid August 30, 2011 05:04

gcc compiler path in make file
I want to install OpenFOAM-1.7 on our big cluster. But i want to use system gcc i.e root gcc to compile.
Where can i find gcc path in make file of OpenFOAM? I suppose i need to change that from default to my root gcc.:confused:


wyldckat August 30, 2011 06:39

Greetings CFDkid,

Without knowing which OpenFOAM version you are talking about, then the simple answer is: check OpenFOAM's etc/ <2.0 or etc/config/ >=2.0 and see what the variable foamCompiler is set to. It should be comented just above it how to set it to use the system's compiler.

Here are a few more links you might find helpful:
Best regards,

All times are GMT -4. The time now is 13:50.