[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] python interface malloc error

From: Phil Cummins
Subject: [Getfem-users] python interface malloc error
Date: Wed, 7 Apr 2010 17:28:37 +1000

Hello again,

I have installed getfem-4.0.0 on Mac OS 10.6.3, having compiled it with g++ 
4.2.1, and installed the python interface. I'm using the Enthought 6.1.1 
distribution, which uses 64bit Python 2.6.4. The getfem compilation was also 

Getfem passed all tests, except for 1:
./test_range_basis /var/folders/yW/yWwZdeQAFkipflZY8jshRE+++TI/-Tmp 
/test_range_basis.param_718  2>&1 failed
FAIL: ../tests/

Which I am hoping I can ignore. 

When I try to use getfem in python, via the following:

% python
>> # import basic modules
>> import getfem as gf
>> import numpy as np
>> # creation of a simple cartesian mesh
>> m = gf.Mesh('cartesian', np.arange(0,1.1,0.1), np.arange(0,1.1,0.1))

Python crashes with:

python(30639) malloc: *** error for object 0x7fff707ab500: pointer being freed 
was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Is there anyone who can offer some advice on this?

- Phil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]