[Trilinos-Users] Installation; Better situation but another Problem

amjad ali amjad11 at gmail.com
Mon Sep 15 03:39:11 MDT 2008


Hi,

I also ran
1) make  (It runs fine)
2) make  install (It runs fine)
3) make example  (it got stuck saying some problem related to MPI)

regards,
AA,

Please see following:
[root at localhost LINUX_MPI]# make examples
cd packages && make examples
make[1]: Entering directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages'
../../config/makeall make examples teuchos rtop kokkos epetra triutils
 epetraext thyra isorropia aztecoo galeri  amesos ifpack   belos
anasazi  ml moertel  stratimikos meros sacado nox rythmos  new_package
moocho  didasko  external

Making target examples in
/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos

make[2]: Entering directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos'

Now building teuchos examples.

cd ./example && make
make[3]: Entering directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example'
Making all in BLAS
make[4]: Entering directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example/BLAS'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example/BLAS'
Making all in CommandLineProcessor
make[4]: Entering directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example/CommandLineProcessor'
g++  -g -O2  -L/home/openmpi-1.2.6/lib -o CLP_example.exe cxx_main.o
-L/home/openmpi-1.2.6/lib
-L/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/src
-lteuchos -lmpi
/home/amjad/softwares/petsc-2.3.3-p11/externalpackages/fblaslapack/linux-gnu-openmpi/libflapack.a
/home/amjad/softwares/petsc-2.3.3-p11/externalpackages/fblaslapack/linux-gnu-openmpi/libfblas.a
 -L/home/openmpi-1.2.6/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)':
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/op_inln.h:122:
undefined reference to `ompi_mpi_cxx_op_intercept'
cxx_main.o: In function `Intracomm':
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:23:
undefined reference to `MPI::Comm::Comm()'
cxx_main.o: In function `Intracomm':
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
undefined reference to `MPI::Comm::Comm()'
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
undefined reference to `MPI::Comm::Comm()'
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
undefined reference to `MPI::Comm::Comm()'
/home/openmpi-1.2.6/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
undefined reference to `MPI::Comm::Comm()'
cxx_main.o:/home/openmpi-1.2.6/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/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example/CommandLineProcessor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos/example'
make[2]: *** [examples] Error 2
make[2]: Leaving directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages/teuchos'
Error, the make of target examples failed for the package !
make[1]: *** [examples] Error 2
make[1]: Leaving directory
`/home/amjad/softwares/trilinos-8.0.8/LINUX_MPI/packages'
make: *** [examples] Error 2
[root at localhost LINUX_MPI]#



More information about the Trilinos-Users mailing list