CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM 14 with OpenMPI 12 (http://www.cfd-online.com/Forums/openfoam-installation/57521-openfoam-14-openmpi-12-a.html)

fhy July 12, 2007 19:12

I downloaded the OpenFOAM 1.4.
 
I downloaded the OpenFOAM 1.4. The build-in openmpi package is openmpi-1.2b3. Anyone know what b3 stands for? Is it a beta? Is it a early version than openmpi-1.2 ?

I need to use Openmpi-1.2 to test sth. What I did is copy openmpi-1.2 to the src/ in parallel with openmpi-1.2b3 and modified $WM_PROJECT_INST_DIR/.bashrc:
-export OPENMPI_VERSION=1.2 instead of 1.2b3.

rebuild the whole package with gnu4.1.0 on SLES10 using:
wcleanAll
Allmake

The building was successful.

However, I got run time error when running the icoFoam case:
[huiyu@iqa-01 icoFoam]$ mpirun -n 2 -hostfile hosts icoFoam . cavity -parallel
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/


icoFoam:601 terminated with signal 11 at PC=2aaaac243406 SP=7fffb1839a60. Backtrace:

icoFoam:602 terminated with signal 11 at PC=2aaaac243406 SP=7fff1e5cc800. Backtrace:
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/src/openmpi-1.2/platforms/linux64DPO pt/lib/libmpi.so.0(MPI_Comm_size+0x46)[0x2aaaac243406]
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/lib/linux64DPOpt/openmpi-1.2/libPstr eam.so(_ZN4Foam7Pstream4initERiRPPc+0x24)[0x2aaaabad99c4]
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/lib/linux64DPOpt/libOpenFOAM.so(_ZN4 Foam7argListC1ERiRPPcbb+0x317)[0x2aaaab71cce7]
icoFoam(__gxx_personality_v0+0x29b)[0x41157b]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3f2511c784]
icoFoam(__gxx_personality_v0+0x119)[0x4113f9]
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/src/openmpi-1.2/platforms/linux64DPO pt/lib/libmpi.so.0(MPI_Comm_size+0x46)[0x2aaaac243406]
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/lib/linux64DPOpt/openmpi-1.2/libPstr eam.so(_ZN4Foam7Pstream4initERiRPPc+0x24)[0x2aaaabad99c4]
/home/huiyu/openfoam2/OpenFOAM/OpenFOAM-1.4/lib/linux64DPOpt/libOpenFOAM.so(_ZN4 Foam7argListC1ERiRPPcbb+0x317)[0x2aaaab71cce7]
icoFoam(__gxx_personality_v0+0x29b)[0x41157b]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3f2511c784]
icoFoam(__gxx_personality_v0+0x119)[0x4113f9]


A seg fault in MPI_Comm_size which is a pretty trivial routine -something is very broken.
Have anyone tested with openfoam 1.4 with openmpi-1.2? Any suggestions?


Thanks,
Huiyu


All times are GMT -4. The time now is 16:36.