Difference between revisions of "OpenFOAM"
Jump to navigation
Jump to search
(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…") |
|||
Line 9: | Line 9: | ||
Undefined references to pthread routines required the following change to the wmake rules... | Undefined references to pthread routines required the following change to the wmake rules... | ||
+ | <src> | ||
--- wmake/rules/linux64Gcc/general.orig 2011-02-11 12:00:54.000000000 -0500 | --- 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 | +++ wmake/rules/linux64Gcc/general 2011-02-11 11:45:49.000000000 -0500 | ||
Line 19: | Line 20: | ||
include $(GENERAL_RULES)/standard | include $(GENERAL_RULES)/standard | ||
+ | </src> |
Revision as of 17:06, 11 February 2011
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...
<src> --- 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
</src>