[Trilinos-Users] Error compiling Pytrilinos

Michel Kern Michel.Kern at inria.fr
Mon Oct 25 17:28:57 MDT 2010


It looks like I was picking up definitions from an older Trilinos install.
The light bulb lit up right after I clicked "send". Sorry about the 
trouble (it's 1AM in Paris :). I still need to see whether that's all....

Michel

Le 26/10/2010 01:00, Michel Kern a écrit :
> 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
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101026/c9f05488/attachment.html 
-------------- 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