CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

gcc compiler path in make file

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 30, 2011, 05:04
Post gcc compiler path in make file
Senior Member
Join Date: Mar 2009
Posts: 133
Rep Power: 8
kid is on a distinguished road
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.

kid is offline   Reply With Quote

Old   August 30, 2011, 06:39
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,928
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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,
wyldckat is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 00:21.