CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Compiling on RHEL6 cluster: cannot find mixtureKEpsilon.H

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2014, 12:08
Default Compiling on RHEL6 cluster: cannot find mixtureKEpsilon.H
  #1
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
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.
The software environment of the cluster is:
  • GCC 4.8.1
  • cmake 2.8.10.1
  • Open MPI 1.6.5
  • Boost 1.41

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?
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   August 30, 2014, 11:33
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
which should clean out all of the existing built installation for the current build options, without changing/damaging the source code.

Best regards,
Bruno
FerdiFuchs likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 3, 2014, 19:06
Default
  #3
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
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.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:48.