|
[Sponsors] |
Compiling on RHEL6 cluster: cannot find mixtureKEpsilon.H |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2014, 12:08 |
Compiling on RHEL6 cluster: cannot find mixtureKEpsilon.H
|
#1 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
I'm attempting to build OpenFOAM 2.3.x on a RHEL6 based cluster, and running into some issues. First, it seems the compiler can't find mixtureKEpsilon.H:
Code:
phaseCompressibleTurbulenceModels.C:56:29: fatal error: mixtureKEpsilon.H: No such file or directory #include "mixtureKEpsilon.H" ^ compilation terminated.
Note that I was initially going to use the instructions on the wiki, but it seemed the dependencies were met, considering the list above (I also don't have root privileges), so I just went and ran Allwmake in $WM_PROJECT_DIR. It seems most of the applications built fine, with the exception of any that rely on phaseCompressibleTurbulenceModels lib, which I don't need. However, I was attempting to run snappyHexMesh in parallel on a case where it worked fine in the past, and ran into mysterious mpirun errors. I am thinking a clean compilation would be smart, to ensure this is not the problem. Any ideas on what's going on here? |
|
August 30, 2014, 11:33 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Pete,
That problem usually occurs if you already had the git version of OpenFOAM already compiled/installed sometime ago, then have made a recent "git pull" from the latest git repository for OpenFOAM and then ran Allwmake once again. This can occur because new files appear with the latest repository changes and which are not automatically catalogued by the compiling/building system that OpenFOAM uses. There is also a possibility that something important failed during the "git checkout" (it's one of the last internal steps of "git clone" and "git pull"), where a file might not have been written properly due to some problem. Either way, you can try running the following command before running Allwmake once again: Code:
wcleanAll Best regards, Bruno
__________________
|
|
September 3, 2014, 19:06 |
|
#3 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
As usual, you are right Bruno!
I had partially compiled with an older version of g++. After cleaning everything out and recompiling with 4.8.1, the applications I need are working fine. There are some other issues, but I am not worried about those fore now. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems about compiling OF1.5.x on Bluegene/P | ywang | OpenFOAM | 1 | August 25, 2011 06:22 |
OpenFoam 2.0.0 installation + ICC + Rocks Cluster | chinper | OpenFOAM Installation | 5 | July 13, 2011 17:00 |
Compiling UDF on a cluster | Adya | FLUENT | 1 | December 14, 2009 12:30 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
COMPILING PROBLEM | ammi | FLUENT | 1 | December 7, 2006 05:07 |