[Trilinos-Users] Problem making examples in trilinos-9.0.0

Babak Fazel bkfazel at yahoo.com
Wed Oct 8 00:08:42 MDT 2008


I have configured trilinos-9.0.0 with the following options. It successfully passes the 'make' command, yet it produces the following error when I want to 'make examples'.
Any ideas will be appreciated.
 
--Babak
-------------------------------------------------------------------------------------------------------------------------
./configure --prefix="/home/bfazel/babak/packages/trilinos-9.0.0" --exec-prefix="/home/bfazel/babak/package/trilinos-9.0.0" F77=gfortran --disable-default-packages --enable-aztecoo --enable-teuchos --enable-mpi --with-mpi="/opt/openmpi" --with-mpi-incdir="/opt/openmpi/include" --with-mpi-lib="/opt/openmpi/lib" --with-blas="/home/bfazel/babak/packages/blas/blas_LINUX.a" --with-lapack="/home/bfazel/babak/packages/lapack-3.1.1/lapack_LINUX.a" --with-cc=mpicc --with-f77=mpif77 --with-cxx=mpixx
 
 
 
[bfazel at cluster trilinos-9.0.0]$ make examples
cd packages && make examples
make[1]: Entering directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages'
../config/makeall make examples teuchos epetra triutils aztecoo 
Making target examples in /home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos
make[2]: Entering directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos'
Now building teuchos examples.
cd ./example && make
make[3]: Entering directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example'
Making all in BLAS
make[4]: Entering directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example/BLAS'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example/BLAS'
Making all in CommandLineProcessor
make[4]: Entering directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example/CommandLineProcessor'
g++ -g -O2 -L/opt/openmpi/lib -o CLP_example.exe cxx_main.o -L/opt/openmpi/lib -L/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/src -lteuchos -lmpi /home/bfazel/babak/packages/lapack-3.1.1/lapack_LINUX.a /home/bfazel/babak/packages/blas/blas_LINUX.a -L/opt/openmpi/lib -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -lmpi -lgfortranbegin -lgfortran -lm 
cxx_main.o: In function `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)':
/opt/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined reference to `ompi_mpi_cxx_op_intercept'
cxx_main.o: In function `Intracomm':
/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:23: undefined reference to `MPI::Comm::Comm()'
cxx_main.o: In function `Intracomm':
/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined reference to `MPI::Comm::Comm()'
/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined reference to `MPI::Comm::Comm()'
/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined reference to `MPI::Comm::Comm()'
/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined reference to `MPI::Comm::Comm()'
cxx_main.o:/opt/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:25: more undefined references to `MPI::Comm::Comm()' follow
cxx_main.o:(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x14): undefined reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x24): undefined reference to `MPI::Win::Free()'
cxx_main.o:(.rodata._ZTVN3MPI9IntercommE[vtable for MPI::Intercomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI9GraphcommE[vtable for MPI::Graphcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI8CartcommE[vtable for MPI::Cartcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI9IntracommE[vtable for MPI::Intracomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI4CommE[vtable for MPI::Comm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
cxx_main.o:(.rodata._ZTVN3MPI8DatatypeE[vtable for MPI::Datatype]+0x3c): undefined reference to `MPI::Datatype::Free()'
collect2: ld returned 1 exit status
make[4]: *** [CLP_example.exe] Error 1
make[4]: Leaving directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example/CommandLineProcessor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos/example'
make[2]: *** [examples] Error 2
make[2]: Leaving directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages/teuchos'
Error, the make of target examples failed for the package !
make[1]: *** [examples] Error 2
make[1]: Leaving directory `/home/bfazel/babak/packages/trilinos-9.0.0/packages'
make: *** [examples] Error 2


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20081007/599531c6/attachment.html 


More information about the Trilinos-Users mailing list