|
[Sponsors] |
January 21, 2011, 14:54 |
Installation on Rocks 5.4
|
#1 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Hi all,
I'm trying to install OpenFOAM 1.7.1 on a Rocks 5.4 Cluster. Im installing from source in the /opt directory. Im getting several errors. The first errors are related to MPI. Attached is the log file. make.log.tar.gz Thanks in advance! |
|
January 21, 2011, 15:47 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Tony,
OK, two things:
In special, you should have noticed the sections:
I don't have experience with know Rocks, so I don't know if it provides more recent gcc versions or not, nor do I know which MPI toolbox it provides. Same goes for the libraries Metis and Scotch. In case Rocks doesn't provide a more recent gcc, then try the latest build scripts in this blog page: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series Oh, before I forget, either one of those builds scripts assume that you have the ThirdParty folder... Best regards, Bruno
__________________
|
|
January 22, 2011, 22:56 |
|
#3 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Thanks for your reply Bruno. The gcc package Rocks has by default is 4.1.2. The newer version for gcc is in a package called gcc44. This is installed and the version is 4.4.0. I did not have the Third-Party directory. I unpacked this directory as well and ran .Allwmake again. That didnt work. I tried changing the $WM_DIR/rules/linux64Gcc/c++ as you suggested for Fedora installation in another post which had helped me before. That didnt work either. The log file couldnt fit in one file so here it is split up.
make.log1.tar.gz make.log2.tar.gz make.log3.tar.gz Thanks, Tony |
|
January 23, 2011, 00:26 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Tony,
I ended up investigating a bit more about Rocks and found out that it's based on CentOS, who in turn is based on RedHat Enterprise Linux. And the thread that has the solution you need is related to the latter one: OpenFOAM install on RHEL 5.5 edit: You should check which MPI library/toolbox your Rocks installation is using! If it uses OpenMPI by default, you can simply change from OPENMPI to SYSTEMOPENMPI in the file "OpenFOAM-1.7.1/etc/bashrc". If it uses something else, check that relevant area in that "OpenFOAM-1.7.1/etc/bashrc" file, as well in the relevant MPI area in "OpenFOAM-1.7.1/etc/settings.sh". edit 2 (trying to save forum space ): I forgot to mention that since you'll be compiling with a very different gcc version, you better do a clean up before rebuilding again with the new compiler. For that, run: Code:
foam wcleanAll foam3rdParty ./Allclean Best regards, Bruno
__________________
Last edited by wyldckat; January 23, 2011 at 17:13. Reason: see "edit:" and "edit 2:" |
|
January 25, 2011, 13:59 |
|
#5 |
Member
MSR CHANDRA MURTHY
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
I have been working successfully (including paraFoam) on rocks 4.3 HPC cluster with openfoam 1.4.1, 1.5, 1.6.x versions. Aslo, recently moved on to centos 5.4/5.5 amd64 arch.
it's a bit more complicated to setup the thing. drop me a mail, i can explain. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Installation problems | indy | OpenFOAM Installation | 7 | April 3, 2009 10:40 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |
CFX 5.4 cannot restart with 5.3 format | Bart Prast | CFX | 6 | September 14, 2000 16:05 |