|
[Sponsors] |
February 27, 2015, 07:30 |
OpenFOAM-2.3.1 on SLES 10 SP1
|
#1 |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
I am trying to build OpenFOAM-2.3.1 on SLES 10 SP1.
I tried with GCC-4.5.2 (gmp-5.0.1, mpfr-2.4.2, mpc-0.8.1) and binutils-2.20.1 packages. I edited settings.sh file so that openFOAM can recognize Gcc45 compiler. I tried with Gcc-4.5.2 as official instruction state Gcc compiler version should be higher than 4.5.0 For CGAL, I used boost_1_54_0 and gmp-5.0.1, mpfr-2.4.2. (mkCGAL.zip) For paraview-3.12, I used cmake-2.8.12.1 and qt-4.8.4 packages. OpenFOAM-2.3.1 (make-sum.log.tar.gz) as well as ParaView4.1 (mkPV-zip) didn't get built. I am attaching log files. Can anybody help me in this? |
|
February 28, 2015, 15:39 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Hrushi,
From what I'm able to diagnose, it seems that:
Bruno
__________________
|
|
March 2, 2015, 02:57 |
|
#3 | |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Hi Bruno,
Quote:
Regards Hrushi |
||
March 2, 2015, 08:57 |
|
#4 |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
I managed to get openfoam running in parallel mode on single machine.
I am not able to run openFoam solvers in parallel on multiple machines (nodes). I tried with openmpi-1.6.5 and openmpi-1.4.1. I used the following command. Code:
foamJob -p interFoam Code:
/Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory interFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory The above error comes with both openmpi-1.6.5 and openmpi-1.4.1 versions. Hrushi Last edited by Hrushi; March 2, 2015 at 09:38. Reason: To provide additional and missing information in the post. |
|
March 2, 2015, 16:10 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hrushi,
Regarding ParaView, try building ParaView 4.1.0, by using the makeParaView4 script. Try using the information on step #18 from these instructions: http://openfoamwiki.net/index.php/In...EL#CentOS_5.10 Regarding running in parallel:
Bruno
__________________
|
|
March 3, 2015, 02:12 |
|
#6 | ||
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Hi Bruno,
Quote:
Quote:
Code:
export FOAM_MPI=openmpi-1.4.1 In my personal .bashrc file, I have following line Code:
alias of231='source /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc WM_NCOMPPROCS=8 foamCompiler=ThirdParty WM_COMPILER=Gcc45 WM_MPLIB=OPENMPI' Hrushi |
|||
March 8, 2015, 09:37 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hrushi,
Quote:
Because if Open-MPI 1.4.1 is installed in your system, you should instead use this setting: Code:
WM_MPLIB=SYSTEMOPENMPI Best regards, Bruno
__________________
|
||
March 8, 2015, 12:48 |
|
#8 | |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Hi Bruno,
Quote:
I decided to try openMPI-1.4.1 beacuse with openMPI-1.6.1, I got the error as described in my previous reply. But the same error appeared with OpenMPI-1.4.1 version also. Regards Hrushi |
||
March 8, 2015, 13:01 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hrushi,
Sorry, now I know what the problem is. This was fixed on this bug report recently: http://www.openfoam.org/mantisbt/view.php?id=231 - it's now already available on 2.3.x. For 2.3.1, download the two files "foamExec" and "foamJob" from that bug report, then place the two of them in the folder "OpenFOAM-2.3.1/bin". This will fix your problem! Oh, and don't forget to set permissions for execution for them: Code:
foam chmod +x bin/foamExec bin/foamJob Bruno |
|
March 12, 2015, 08:18 |
|
#10 | |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Hi Bruno,
Quote:
However, same error appears after running interFoam solver using foamJob script. Code:
/Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/etc/config/settings.sh: line 372: mpicc: command not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found /Storage1/cfd/OpenFOAM/OpenFOAM-2.3.1/bin/foamExec: line 145: exec: interFoam: not found Regards Hrushi |
||
March 13, 2015, 17:16 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hrushi,
OK, then we will have to resort to a better solution. These steps are assuming that the settings being used are meant to be global and not only personal:
Bruno
__________________
Last edited by wyldckat; March 14, 2015 at 07:31. Reason: added "export" |
|
March 14, 2015, 07:53 |
|
#12 | |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Hi Bruno,
Quote:
|
||
March 14, 2015, 08:02 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
[OpenFOAM.org] Install OpenFOAM 2.3.1 on cluster with Intel Compiler | syavash | OpenFOAM Installation | 8 | September 4, 2018 10:08 |
[OpenFOAM.org] Problems installing OpenFOAM 2.3.1 in Ubuntu 12.04 | masoudshao | OpenFOAM Installation | 10 | August 9, 2018 07:13 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
[OpenFOAM.org] Problem of openFOAM 2.3.1 installation in Ubuntu 14.04LTS | mukut | OpenFOAM Installation | 9 | January 19, 2015 01:48 |