[Trilinos-Users] compile error

Kurtis Nusbaum klnusbaum at gmail.com
Mon Nov 17 13:19:48 MST 2008


I'm trying to follow the instructions in the trilinos 9.0 tutorial for
compiling and installing trilinos. This is the configuration I'm using:

../configure --prefix=/net/home/f07/klnusbau/trilinos9/tutorialBuild \
--disable-default-packages \
--enable-teuchos \
--enable-epetra \
--enable-aztecoo \
--enable-triutils \
--enable-amesos \
--enable-ifpack \
--enable-ml \
--enable-nox \
--enable-nox-epetra \
--enable-stratimikos \
--enable-didasko  | tee configure_Tutorial.log


After configuring, and issuing the "make everything" command trilinos starts
building. However, during the build process I encounter this error:

Factory.cpp:41:39: error: EpetraExt_ProductOperator.h: No such file or
directory
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:
In member function 'void
Thyra::AztecOOLinearOpWithSolveFactory::initializeOp_impl(const
Teuchos::RCP<const Thyra::LinearOpSourceBase<double, double> >&, const
Teuchos::RCP<const Thyra::PreconditionerBase<double, double> >&, const
Teuchos::RCP<const Thyra::LinearOpSourceBase<double, double> >&, bool,
Thyra::LinearOpWithSolveBase<double, double>*) const':
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:444:
error: 'EpetraExt' has not been declared
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:444:
error: expected initializer before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:808:
error: 'PO' has not been declared
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:809:
error: expected `;' before 'epetraOpsApplyMode'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:816:
error: 'epetraOpsApplyMode' was not declared in this scope
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:816:
error: 'PO' has not been declared
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:824:
error: expected type-specifier before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:824:
error: expected `)' before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:851:
error: 'epetraOpsApplyMode' was not declared in this scope
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:851:
error: 'PO' has not been declared
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:858:
error: expected type-specifier before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:858:
error: expected `)' before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:959:
error: 'PO' has not been declared
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:960:
error: expected `;' before 'epetraOpsApplyMode'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:973:
error: expected type-specifier before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:973:
error: expected `)' before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:1003:
error: expected type-specifier before 'PO'
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:1003:
error: expected `)' before 'PO'
/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/teuchos/../../../packages/teuchos/src/Teuchos_RCP.hpp:
In constructor 'Teuchos::RCP<T>::RCP(const Teuchos::RCP<T2>&) [with T2 =
int, T = const Epetra_Operator]':
../../../../../../packages/stratimikos/adapters/aztecoo/src/Thyra_AztecOOLinearOpWithSolveFactory.cpp:824:
instantiated from here
/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/teuchos/../../../packages/teuchos/src/Teuchos_RCP.hpp:85:
error: cannot convert 'int*' to 'const Epetra_Operator*' in initialization
make[6]: *** [Thyra_AztecOOLinearOpWithSolveFactory.o] Error 1
make[6]: Leaving directory
`/net/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/stratimikos/adapters/aztecoo/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/net/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/stratimikos/adapters/aztecoo'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/net/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/stratimikos/adapters'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/net/home/f07/klnusbau/tarfiles/trilinos-9.0.1/build1/packages/stratimikos'
make[2]: *** [all-recursive] Error 1
make[1]: *** [everything] Error 2




Does anyone have any suggestions as how to rectify this problem. Here's my
system information:

Fedora Core 9
Linux Kernel 2.6.26.5-45.fc9.x86_64
1.9 Gib Ram
Intel Core 2 Duo 6600 2.4 Ghz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20081117/073277fc/attachment.html 


More information about the Trilinos-Users mailing list