Dear Balazs,

Are you sure that you link with the right library (is python as the  
path to the right version of Getfem) ?
What version of Getfem do you try to compile (4.0.0 ?)

Yves.


Fodor Balázs <[email protected]> a écrit :

> Hi everybody,
>
> I have problem with the Python interface. After make check I get the
> following error messages:
>
> Traceback (most recent call last):
>   File "././check_export.py", line 86, in <module>
>     m0.export_to_pos('check_
> export0.pos','m0')
> TypeError: export_to_pos() takes exactly 2 arguments (3 given)
> FAIL: ./check_export.py
>
> Traceback (most recent call last):
>   File "././check_global_functions.py", line 41, in <module>
>     ck0  = gf.GlobalFunction('crack',0)
> AttributeError: 'module' object has no attribute 'GlobalFunction'
> FAIL: ./check_global_functions.py
>
> Traceback (most recent call last):
>   File "././demo_wave.py", line 66, in <module>
>     Uinc=mfd.eval(wave_expr,globals(),locals());
> TypeError: eval() takes exactly 2 arguments (4 given)
> FAIL: ./demo_wave.py
>
> I have the following configuration:
> Linux version 2.6.24-27-generic, GNOME 2.22.3, Rel 8.04 (hardy)
> Python 2.5.2, svn://svn.gna.org/svn/getfem/trunk/getfem
> , Revision: 3500,
> compilled with the following parameters: --enable-python=yes --enable-qhull
> --with-pic
>
> I try to solve the demo_crack.py problem but I just get error messages:
>>> gf.GlobalFunction('crack',0)
> Traceback (most recent call last):
>   File "<input>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'GlobalFunction'
>
> I would appreciate any hints where to start to look for the defect.
>
> Regards
> balazs
>




_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to