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

amjad ali amjad11 at gmail.com
Mon Sep 15 23:50:26 MDT 2008


Hi, Heidi,

I experienced that runing configure with options
"--with-mpi-compilers" or "CC=/home/openmpi-1.2.6/bin/mpicc
CXX=/home/openmpi-1.2.6/bin/mpicxx F77=/home/openmpi-1.2.6/bin/mpif77"
both leads to serious error in Teuchos in start.

But configure runs fine with option "--with-mpi=/home/openmpi-1.2.6".

After that

1) make  (It runs fine)
2) make  install (It runs fine)
3) make examples  (it got stuck saying some problem related to MPI)

regards,
AA.

:
:
:
ed 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