OpenFOAM

From UFRC
Revision as of 17:05, 11 February 2011 by Hpc (talk | contribs) (Created page with "=OpenFoam= == Version 1.7.1 == Needs to be built with gcc 4.4.4 or newer. Gcc 4.4.4, in turn, requires a bunch of stuff so we have the following (in the order in which they s…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OpenFoam

Version 1.7.1

Needs to be built with gcc 4.4.4 or newer. Gcc 4.4.4, in turn, requires a bunch of stuff so we have the following (in the order in which they should be built).


Undefined references to pthread routines required the following change to the wmake rules...

--- wmake/rules/linux64Gcc/general.orig 2011-02-11 12:00:54.000000000 -0500 +++ wmake/rules/linux64Gcc/general 2011-02-11 11:45:49.000000000 -0500 @@ -1,7 +1,7 @@

CPP        = cpp -traditional-cpp $(GFLAGS)
LD         = ld

-PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl +PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl -lpthread

include $(GENERAL_RULES)/standard