[Trilinos-Users] Error compiling Pytrilinos

Michel Kern Michel.Kern at inria.fr
Mon Oct 25 17:00:13 MDT 2010


Hi,
when compiling Trilinos 10.6 (on Ubuntu 10.4), I obtain the following error:
[ 98%] Building CXX object 
packages/PyTrilinos/src/CMakeFiles/ML.dir/MLPYTHON_wrap.cpp.o
MLPYTHON_wrap.cpp: In function ‘PyObject* 
_wrap_MultiLevelPreconditioner_SolvingMaxwell(PyObject*, PyObject*)’:
MLPYTHON_wrap.cpp:20384: error: ‘const class 
ML_Epetra::MultiLevelPreconditioner’ has no member named ‘SolvingMaxwell’
make[2]: *** 
[packages/PyTrilinos/src/CMakeFiles/ML.dir/MLPYTHON_wrap.cpp.o] Erreur 1
make[1]: *** [packages/PyTrilinos/src/CMakeFiles/ML.dir/all] Erreur 2
make: *** [all] Erreur 2

Indeed, the string SolvingMaxwell cannot be found anywhere in the source 
tree, but occurs in both files
./packages/PyTrilinos/src/MLPYTHON_wrap.cpp
SWIGINTERN PyObject 
*_wrap_MultiLevelPreconditioner_SolvingMaxwell(PyObject 
*SWIGUNUSEDPARM(self), PyObject *args)
[ ... ]
result = (bool)((ML_Epetra::MultiLevelPreconditioner const 
*)arg1)->SolvingMaxwell();
and
./packages/PyTrilinos/src/PyTrilinos/ML.py
def SolvingMaxwell(self, *args):

(starting from the build tree).
Where do they come from ?

Any idea ?

Regards,
Michel Kern
-------------- next part --------------
begin:vcard
fn:Michel Kern
n:Kern;Michel
org:INRIA;Estime
adr:BP 105;;CRI Paris Rocquencourt;Le Chesnay;;78153;France
email;internet:Michel.Kern at inria.fr
title;quoted-printable:Charg=C3=A9 de recherche
tel;work:+33139635841
tel;fax:+33139635884
tel;cell:+33626318808
url:http://www-rocq.inria.fr//who/Michel.Kern/
version:2.1
end:vcard



More information about the Trilinos-Users mailing list