OpenFOAM-2.2.0 & CentOS / Redhat cluster
I'm stuck with the installation of OpenFOAM-2.2.0 on a redhat cluster and centOS computer. I have already compiled OF-2.2.0 under an openSuse environement.
I followed the usual steps :
1) untar OpenFOAM-2.2.0.tgz and ThirdParty-2.2.0.tgz
2) run ./makeGcc46 with the right folders untared.
3) modify the settings.sh to use the correct version of mpfr
4) modify the bashrc in order to use the ThirdParty openmpi and gcc
The foamInstallationCheck :
OS : Linux version 2.6.32-220.el6.x86_64
flex : 2.5.35 /usr/bin/flex
gcc : 4.6.1 .../ThirdParty-2.2.0/platforms/linux64/gcc-4.6.1/bin/gcc
gzip : 1.3.12 /bin/gzip
tar : 1.23 /bin/tar
1 critical error
The problem : compilation of the library finiteVolume
1) go to OpenFOAM-2.2.0/src
2) wmake finiteVolume
3) the output :
are you aware of the CentFOAM project? It is pretty straightforward to set it up!
Well I'll have a look at centFOAM. But I don't get why I'm not able to compile openFOAM correctly. And the error message is quite vague.
Right now I'm compiling cmake, seeing if this is the problem.
EDIT : And it's not.
Ok I have made it worked.
For the record : I upgraded all the libraries :
OpenSuse -> RH
gmp-5.0.2 -> gmp-5.0.4
mpfr-3.0.1 -> mpfr-3.1.0
gcc-4.6.1 -> gcc-4.6.2
Greetings to all!
I guess I arrived too late... the following instructions have been online for some time now: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.4 ... :eek: since 5th of May! Time is flying by...
Thanks for the answer.
Since the network I am working on is totally offline I couldn't follow the guidelines I have found. I guess it could have saved me some time (a lot in fact).
And I was really surprised to find out that gcc-4.6.1 was working well on Opensuse environnement but not on centOS. I surely missed something.
I did see it. Modifying the settings.sh file was not the problem.
In fact, few weeks ago I have made the installation of OF-2.2.0 with the makeGcc46 script after a fail with the standard versions used in the makeGcc script (old openSuse environnement).
So I just tried to do the exact same thing, guessing it should work the same way it did previously. And I was misthinking.
|All times are GMT -4. The time now is 08:11.|