Le 22 oct. 2013 à 10:27, "Garth N. Wells" <[email protected]> a écrit :
> On 2013-10-21 16:28, Corrado Maurini wrote:
>> Dear all,
>> In macosx 10.8 I cannot write on more than one file.
>> For example, with the following script
>> ------------------------------------------
>> from dolfin import *
>> mesh=UnitSquareMesh(10,10)
>> V = FunctionSpace(mesh,'CG',1)
>> u = Function(V)
>> file_u = File('File1.pvd')
>> file_v = File('File2.pvd')
>> ------------------------------------------
>> I get the error message below:
>> python(53526,0x7fff71a30180) malloc: *** error for object
>> 0x7fff7222b570: pointer being freed was not allocated
>> *** set a breakpoint in malloc_error_break to debug
>> [majorana:53526] *** Process received signal ***
>> [majorana:53526] Signal: Abort trap: 6 (6)
>> [majorana:53526] Signal code: (0)
>> [majorana:53526] [ 0] 2 libsystem_c.dylib
>> 0x00007fff89ca290a _sigtramp + 26
>> [majorana:53526] [ 1] 3 ???
>> 0x0000004000000002 0x0 + 274877906946
>> [majorana:53526] [ 2] 4 libsystem_c.dylib
>> 0x00007fff89cf9f61 abort + 143
>> [majorana:53526] [ 3] 5 libsystem_c.dylib
>> 0x00007fff89ccd989 free + 392
>> [majorana:53526] [ 4] 6 libdolfin.1.2.dylib
>> 0x000000010dfe3a2d _ZN6dolfin4File18create_parent_pathESs + 525
>> [majorana:53526] *** End of error message ***
>
>
> I often see this type of message with OSX if I mix compilers (clang and gcc).
> Make sure you set the CC and CXX environment variables to point to the right
> compiler.
>
> Garth
>
I cared about this:
majorana:~ maurini$ echo $CC $CXX
/opt/local/bin/gcc-mp-4.8 /opt/local/bin/g++-mp-4.8
The strange thing is that I have the same problem if I deactivate macport's
libraries and I use the binary of fenics-dev given in the FEniCS website.
>> Do you have an idea of what is the problem? Can anyone reproduce this
>> or is it a problem with my personal installation?
>> I have the same output both with the self-compiled version of dorsal
>> and the .dmg file available on the website.
>> I am using fenics-dev.
>> Sincerely,
>> Corrado
>> _______________________________________________
>> fenics-support mailing list
>> [email protected]
>> http://fenicsproject.org/mailman/listinfo/fenics-support
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support