<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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.</div><div><br></div><div>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.</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="Courier">$ ./intro </font></div></div><div><div><font class="Apple-style-span" face="Courier"><SNIP></font></div></div><div><div><font class="Apple-style-span" face="Courier">DataOutput[0]::write data writestep=0 sequenceStamp=0</font></div></div><div><div><font class="Apple-style-span" face="Courier">Debug: End of algorithm() </font></div></div><div><div><font class="Apple-style-span" face="Courier">Error: 0.0530314</font></div></div><div><div><font class="Apple-style-span" face="Courier">EOC( 4 ) = -0.00124586</font></div></div><div><div><font class="Apple-style-span" face="Courier">Debug: End of main() </font></div></div><div><div><font class="Apple-style-span" face="Courier">Segmentation fault: 11</font></div></div></blockquote><div><br></div><div>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:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">EXC_BAD_ACCESS during 'movl' at:</blockquote><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font class="Apple-style-span" face="Courier">4 start</font></div><div><font class="Apple-style-span" face="Courier">3 main</font></div><div><font class="Apple-style-span" face="Courier">2 Dune::GridPtr<Dune::ALUCubeGrid<2,2> >::~GridPtr()</font></div><div><font class="Apple-style-span" face="Courier">1 Dune::ALU2Grid<2,2,(ALU2Grid::ElementType)1>::~ALU2dGrid()</font></div><div><font class="Apple-style-span" face="Courier">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()</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div></blockquote><div style="font-family: Helvetica; ">Is anyone successfully running dune under Mac OS X?</div><div style="font-family: Helvetica; ">Any ideas what the problem may be?</div><div style="font-family: Helvetica; "><br></div><div style="font-family: Helvetica; ">I am using the following:</div><div style="font-family: Helvetica; "><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="Courier">dune-common-2.2.0</font></div></div><div><div><font class="Apple-style-span" face="Courier">dune-fem-1.3.0</font></div></div><div><div><font class="Apple-style-span" face="Courier">dune-geometry-2.2.0</font></div></div><div><div><font class="Apple-style-span" face="Courier">dune-grid-2.2.0</font></div></div><div><div><font class="Apple-style-span" face="Courier">dune-istl-2.2.0</font></div></div><div><div><font class="Apple-style-span" face="Courier">dune-localfunctions-2.2.0</font></div></div><div><font class="Apple-style-span" face="Courier">ALUGrid 1.5</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div></blockquote>Thanks,<div>Ali</div></body></html>