[Trilinos-Users] No module named MakefileVariables

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Sep 21 01:51:08 MDT 2005


Hi all,

I am trying to compile Trilinos with the following options
../configure --prefix=${TRILINOS_HOME}/${TRILINOS_ARCH}
--enable-triutils --enable-anasazi --enable-amesos --enable-didasko
--enable-komplex --enable-pytrilinos --enable-python --enable-tpetra

A make results in ...

snip

Making all in python
make[4]: Entering directory
`/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages/epetra/python'
Making all in src
make[5]: Entering directory
`/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages/epetra/python/src'
if /usr/local/bin/swig -c++ -python -I../../../../../packages/epetra/src
-I../../../../../packages/epetra/python/src -I../../src
-I../../../../../packages/epetra/../PyTrilinos/src  -MMD -MF
".deps/Epetra.Tpi" -o Epetra_wrap.cpp
../../../../../packages/epetra/python/src/Epetra.i; \
then mv -f ".deps/Epetra.Tpi" ".deps/Epetra.Pi"; else rm -f
".deps/Epetra.Tpi"; exit 1; fi
../../../../../packages/epetra/python/src/Epetra_PyOperator.h:7:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyOperator::ApplyInverse.
../../../../../packages/epetra/python/src/Epetra_PyOperator.h:7:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyOperator::Apply.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyRowMatrix::Apply.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyRowMatrix::Solve.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyRowMatrix::ApplyInverse.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_Vector const &x' discards
const in director method PyRowMatrix::LeftScale.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_Vector const &x' discards
const in director method PyRowMatrix::RightScale.
../../../../../packages/epetra/python/src/Epetra_PyRowMatrix.h:8:
Warning(515): Target language argument 'Epetra_MultiVector const &X'
discards const in director method PyRowMatrix::Multiply.
Creating directory build/temp.linux-i686-2.4
mkdir -p build/temp.linux-i686-2.4
/usr/local/bin/python ../../../../../packages/epetra/python/src/setup.py
build
Traceback (most recent call last):
  File "../../../../../packages/epetra/python/src/setup.py", line 40, in ?
    from MakefileVariables import *
ImportError: No module named MakefileVariables
make[5]: *** [build] Error 1
make[5]: Leaving directory
`/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages/epetra/python/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages/epetra/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages/epetra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/trilinos-6.0.1/LINUX_SERIAL/packages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/trilinos-6.0.1/LINUX_SERIAL'
make: *** [all] Error 2

Any pointer how to resolve this problem ?

      Nils




More information about the Trilinos-Users mailing list