[Trilinos-Users] Error while building : Teuchos_GlobalMPISession.cpp

vsweta @iastate.edu vsweta at iastate.edu
Fri Dec 6 12:07:17 MST 2013

I am trying to install trilinos on a cluster. I have it installed on my
computer and it is up and running. However when trying to install it on the
cluster using the same config file (with the paths changed appropriately),
once the configuration is done, when i try to build it using "make"
 I get the following error (after generating a few obj files) :

*Linking CXX static library libteuchoscore.a[  2%] Built target
teuchoscore[  2%] Building CXX object
Warning: File `packages/teuchos/core/src/libteuchoscore.a' has modification
time 6.9e+02 s in the futureLinking CXX executable
In function `Teuchos::GlobalMPISession::initialize(std::basic_ostream<char,
std::char_traits<char> >*)':Teuchos_GlobalMPISession.cpp:(.text+0x264):
undefined reference to
`MPI_Initialized'Teuchos_GlobalMPISession.cpp:(.text+0x27b): undefined
reference to
`ompi_mpi_comm_world'Teuchos_GlobalMPISession.cpp:(.text+0x280): undefined
reference to `MPI_Comm_rank'Teuchos_GlobalMPISession.cpp:(.text+0x3ae):
undefined reference to
`ompi_mpi_comm_world'Teuchos_GlobalMPISession.cpp:(.text+0x3b3): undefined
reference to `MPI_Comm_size'*
What am I missing here?
Any help is greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20131206/5a9cff4e/attachment.html 

More information about the Trilinos-Users mailing list