[Dune] Dune on Mac OS X - Segmentation Fault

Alasdair McLeay a.mcleay at sussex.ac.uk
Tue Jul 17 19:08:40 CEST 2012


Hi, I recently attended the DUNE School at the University of Warwick and have since been trying to get DUNE running under Mac OS X so that I can develop some code.

I have managed to get Dune installed and am able to compile the example code we were given at the DUNE school, but they all exit with a segmentation fault after finishing the execution of main(), e.g.

$ ./intro 
<SNIP>
DataOutput[0]::write data writestep=0 sequenceStamp=0
Debug: End of algorithm() 
Error: 0.0530314
EOC( 4 ) = -0.00124586
Debug: End of main() 
Segmentation fault: 11

I've also been able to run the code in Xcode in order to debug it but the best I can do is find where the error is occurring:

EXC_BAD_ACCESS  during 'movl' at:

4 start
3 main
2 Dune::GridPtr<Dune::ALUCubeGrid<2,2> >::~GridPtr()
1 Dune::ALU2Grid<2,2,(ALU2Grid::ElementType)1>::~ALU2dGrid()
0 Dune::DefaultIndexSet<DuneIndexSet<Dube::ALU2dGrid<2,2,(ALU2DGrid::ElementType)1>,Dune::EntityIterator<0,Dune::ALU2dGrid<2,2,(ALU2DGrid::ElementType)1> const, Dune::ALU2dGridLevelIterator<0,(Dune::PartitionIteratorType)4,DuneALU2dGrid<2,2,(ALU2DGrid::ElementType)1> const> > >::~DefaultIndexSet()

Is anyone successfully running dune under Mac OS X?
Any ideas what the problem may be?

I am using the following:

dune-common-2.2.0
dune-fem-1.3.0
dune-geometry-2.2.0
dune-grid-2.2.0
dune-istl-2.2.0
dune-localfunctions-2.2.0
ALUGrid 1.5

Thanks,
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120717/65bd6064/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3773 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120717/65bd6064/attachment.bin>


More information about the Dune mailing list