CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OpenFOAM 14 with OpenMPI 12

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2007, 19:12
Default I downloaded the OpenFOAM 1.4.
  #1
fhy
New Member
 
Huiyu Feng
Join Date: Mar 2009
Posts: 11
Rep Power: 17
fhy is on a distinguished road
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
fhy is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with openmpi mighelone OpenFOAM Running, Solving & CFD 42 July 18, 2012 15:26
[snappyHexMesh] SnappyHexMesh in parallel openmpi wikstrom OpenFOAM Meshing & Mesh Conversion 7 November 24, 2008 10:52
OpenMPI causes system crash wese OpenFOAM Running, Solving & CFD 0 May 13, 2008 05:44
OpenMPI performance vega OpenFOAM Running, Solving & CFD 13 November 27, 2007 02:28
Cant run in parallel on two nodes using OpenMPI CHristofer Main CFD Forum 0 October 26, 2007 10:54


All times are GMT -4. The time now is 10:23.