Hello,
I compile libmesh0.62 in Ubuntu 8.04, when "make examples", there is a
problem shown as follow:
ex0.i686-pc-linux-gnu.opt.o: In function `MPI::Op::Init(void (*)(void
const*, void*, int, MPI::Datatype const&), bool)':
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined
reference to `ompi_mpi_cxx_op_intercept'
ex0.i686-pc-linux-gnu.opt.o: In function `Intracomm':
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:23:
undefined reference to `MPI::Comm::Comm()'
ex0.i686-pc-linux-gnu.opt.o: In function `Intracomm':
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined
reference to `MPI::Comm::Comm()'
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined
reference to `MPI::Comm::Comm()'
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined
reference to `MPI::Comm::Comm()'
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined
reference to `MPI::Comm::Comm()'
ex0.i686-pc-linux-gnu.opt.o:/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
more undefined references to `MPI::Comm::Comm()' follow
ex0.i686-pc-linux-gnu.opt.o:(.data.rel.ro._ZTVN3MPI3WinE[vtable for
MPI::Win]+0x14): undefined reference to
`MPI::Win::Set_errhandler(MPI::Errhandler const&)'
ex0.i686-pc-linux-gnu.opt.o:(.data.rel.ro._ZTVN3MPI3WinE[vtable for
MPI::Win]+0x24): undefined reference to `MPI::Win::Free()'
collect2: ld return 1
make[1]: *** [ex0-opt] return 1
make[1]: Leaving directory `/home/cfd/Library/libmesh/examples/ex0'
make: *** [examples] return1
The mpi library used by PETSc have be changed to openmpi, I change the
compiler using
/configure --with-cxx=mpicxx --with-cc=mpicc --with-f77=mpif77, but it not OK !
Thank you!
Luyi
2008-4-23
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users