OpenFOAM-2.3.1 on SLES 10 SP1
5 Attachment(s)
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? |
Greetings Hrushi,
From what I'm able to diagnose, it seems that:
Bruno |
1 Attachment(s)
Hi Bruno,
Quote:
Regards Hrushi |
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 The above error comes with both openmpi-1.6.5 and openmpi-1.4.1 versions. Hrushi |
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 |
2 Attachment(s)
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 |
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 |
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 |
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 Bruno |
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 Regards Hrushi |
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 |
Hi Bruno,
Quote:
|
Quote:
|
All times are GMT -4. The time now is 14:46. |