__cxa_get_exception_ptr should be defined in libstdc++ shared library.

--Nysal

On Mon, Jun 14, 2010 at 5:51 AM, HeeJin Kim <biduri@gmail.com> wrote:
Dear all,

I had built openmpi-1.4.2 with:
configure CC=icc CXX=icpc F77=ifort FC=ifort --prefix=/home/biduri/program/openmpi --enable-mpi-threads --enable-static

And I have a problem during compilation of q-chem software which uses openmpi.


/home/biduri/program/openmpi/lib/libopen-pal.a(dlopen.o): In function `vm_open':
loaders/dlopen.c:(.text+0xad): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/biduri/qchem/par_qchem_op/ccman/ccman.a(properties.o): In function `CalcNonRelaxedTransDipole(Spin, int, int, Spin, int, int, OPDM&, OPDM&, double, int, signed char, _IO_FILE*, signed char, signed char)':
properties.C:(.text+0x3df8): undefined reference to `__cxa_get_exception_ptr'
/home/biduri/qchem/par_qchem_op/ccman/ccman.a(properties.o): In function `CalcSOCs(AlphaBetaMatr&, BlockTensor&, KMatrix&)':
properties.C:(.text+0x52fc): undefined reference to `__cxa_get_exception_ptr'
/home/biduri/qchem/par_qchem_op/ccman/ccman.a(ccsd_calc.o): In function `CCSD_Calc::CalculateT(BlockTensor&, BlockTensor&, MutableBlockTensor&, MutableBlockTensor&, signed char)':
ccsd_calc.C:(.text+0x2957): undefined reference to `__cxa_get_exception_ptr'
/home/biduri/qchem/par_qchem_op/ccman/ccman.a(ccsd_calc.o): In function `CCSD_Calc::CalcLambdaIntermed()':
ccsd_calc.C:(.text+0x4409): undefined reference to `__cxa_get_exception_ptr'
............

Best,
Heejin

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users