[Trilinos-Users] Teuchos_MPIReduction
hkthorn
hkthorn at sandia.gov
Wed Mar 1 08:53:25 MST 2006
Hi Marco,
I can trace back the inclusion of "Teuchos_ConfigDefs.hpp" through the
"Teuchos_RefCountPtr.hpp" file at the top of
"Teuchos_MPIReductionOpBase.hpp". While it's not direct, most compilers can
pick up this definition this way. If you include "Teuchos_ConfigDefs.hpp"
at the top of "Teuchos_MPIReductionOpBase.hpp" before the
#ifdef HAVE_MPI
does the compile problem go away? Which compilers are you using and what
does your Trilinos configuration look like (i.e. ./configure --enable-mpi
...)?
Thanks,
Heidi
On 3/1/06 2:24 AM, "Marco Morandini" <morandini at aero.polimi.it> wrote:
> I'm trying to build Trilinos 6.0.14.
> With my configuration Teuchos_MPIReductionOpBase.cpp
> is not compiled correctly because
> Teuchos_ConfigDefs.hpp
> (or Teuchos_config.h, I don't know which is the right one)
> is not included just before the
>
> #ifdef HAVE_MPI
>
> line (or at the beginning of Teuchos_MPIReductionOpBase.hpp).
>
>
> Thanks,
>
> Marco Morandini
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list