|
[Sponsors] |
June 28, 2013, 07:02 |
OpenFOAM-2.2.0 & CentOS / Redhat cluster
|
#1 | |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
Hi everyone,
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 : Quote:
|
||
June 28, 2013, 07:22 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi,
are you aware of the CentFOAM project? It is pretty straightforward to set it up! http://sourceforge.net/apps/mediawik...itle=Main_Page Pablo |
|
June 28, 2013, 08:00 |
|
#3 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
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. |
|
June 28, 2013, 12:35 |
|
#4 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
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 cmake-2.8.3 llvm-3.1 |
|
June 28, 2013, 16:13 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 ... since 5th of May! Time is flying by... Best regards, Bruno
__________________
|
|
June 28, 2013, 16:50 |
|
#6 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
Hi Bruno,
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. Aurelien |
|
June 28, 2013, 16:53 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Aurelien,
Quote:
Best regards, Bruno
__________________
|
||
June 28, 2013, 17:05 |
|
#8 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] openfoam-2.2.0 installation on cluster of Redhat 4.1.2-48 | Chandler | OpenFOAM Installation | 32 | June 10, 2015 13:53 |
Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686 | AHutchison | OpenFOAM Installation | 6 | June 4, 2013 13:11 |
ESI-OpenCFD Releases OpenFOAM v2.2.0 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 13 | March 30, 2013 17:52 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
OpenFOAM 15 and CentOS 52 installation issues | remrich | OpenFOAM Bugs | 9 | March 20, 2009 02:48 |