[cgma-dev] conflicting mpi version error

Rajeev Jain jain at mcs.anl.gov
Tue Apr 19 14:19:10 CDT 2011


When building parallel version of MeshKit - using CGM12 build with Cubit12.2, I get a run time error pointing to conflicting mpi versions. 

ldd for some executable showed hdf5 in MeshKit come from /usr/lib instead of what's specified in MOAB configure line.

This is due to extra IGEOM_LDFLAGS defined in file iGeom_Defs.inc


1. CGM-12, file iGeom-Defs.inc
The LDFLAGS are:

IGEOM_LDFLAGS = $(IGEOM_CXX_LDFLAGS)  -L/homes/jain/Cubit-64bit/Cubit-12.2/bin -L/home/fathom/3rdparty/mpich2/mpich2-1.2.1/gcc/lib -L/home/fathom/3rdparty/mpich2/mpich2-1.2.1/gcc/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. -L/usr/lib/x86_64-linux-gnu

MeshKit/utils> MKUtils_test fails.
Internal Error: invalid error code 10e3900 (Ring Index out of range) in MPIR_Init_thread:394
p0_11680:  p4_error: interrupt SIGSEGV: 11

MKUtils_test and others build/runs fine if I change IGEOM_LDFLAGS to (removing -L....mpich, -L/usr/lib and other linkers):

IGEOM_LDFLAGS = $(IGEOM_CXX_LDFLAGS)  -L/homes/jain/Cubit-64bit/Cubit-12.2/bin


2. CGM-OCC, file iGeom-Defs.inc
IGEOM_LDFLAGS = $(IGEOM_CXX_LDFLAGS)  -L/homes/fathom/3rdparty/occ/OpenCASCADE6.3.0/gcc/lib

all tests pass for MeshKit-occ.


It's possibly an issue that might be resolved when merge-12 branch is actually merged.

Rajeev


More information about the cgma-dev mailing list