<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>Can you download the binary SDK from the website and test my python script with that?<div class=""><br class=""></div><div class="">Christophe<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 14 Jun 2018, at 16:47, Konstantinos Iatridis <<a href="mailto:k.iatridis@itech-soft.com" class="">k.iatridis@itech-soft.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thank you for the fast response!<br class="">I downloaded the current gmsh version from github.<br class="">I build it again as dll.<br class="">Configuring gmsh I changed the following switches to reduce dependencies:<br class="">.<span class="Apple-tab-span" style="white-space:pre">       </span>ENABLE_ACIS=0<br class="">.<span class="Apple-tab-span" style="white-space:pre"> </span>ENABLE_BLAS_LAPACK=0<br class="">.<span class="Apple-tab-span" style="white-space:pre">  </span>ENABLE_FLTK=0<br class="">.<span class="Apple-tab-span" style="white-space:pre"> </span>ENABLE_OCC=0<br class="">.<span class="Apple-tab-span" style="white-space:pre">  </span>ENABLE_OCC_CAF=0<br class="">.<span class="Apple-tab-span" style="white-space:pre">      </span>ENABLE_OPENMP=0<br class="">.<span class="Apple-tab-span" style="white-space:pre">       </span>ENABLE_OSMESA=0<br class="">.<span class="Apple-tab-span" style="white-space:pre">       </span>ENABLE_OPTHOME=0<br class=""><br class="">My compiler is visual studio 2015.<br class="">I modified the code of my app following your Python example. In your example<br class="">you set the Algorithm =5 but as far as I can see the desired algorithm for<br class="">me is =8. I tested both:<br class=""><br class="">std::string geofile; //..<br class="">std::string mshfile; //..<br class="">gmsh::initialize();<br class="">gmsh::option::setNumber("General.Terminal", 1);<br class="">gmsh::option::setNumber("Mesh.Algorithm", 5); //5: runs ok, 8: crash!<br class="">gmsh::option::setNumber("Mesh.RecombineAll", 1);<br class="">gmsh::option::setNumber("Mesh.RecombinationAlgorithm", 1);<br class="">gmsh::open(geofile.c_str());<br class="">gmsh::model::geo::synchronize();<br class="">gmsh::model::mesh::generate(2);<br class="">gmsh::write(mshfile.c_str());<br class="">gmsh::finalize();<br class=""><br class="">As in the previous version<br class="">-Algorithm 5 runs ok<br class="">-Algorithm 8 crashes and as I can see from my debugger still in<br class="">backgroundMesh::updateSizes()<br class=""><br class="">Could the build options or the compiler version affect the Delaunay Quad<br class="">Algorithm?<br class="">Can you verify that the same code runs in your configuration with Algorithm<br class="">=8?<br class="">Any suggestion on what could cause the crash?<br class=""><br class="">Thank you in advance<br class=""><br class="">Konstantinos Iatridis<br class="">-itech<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" class="">gmsh@onelab.info</a><br class="">http://onelab.info/mailman/listinfo/gmsh<br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">— </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Prof. Christophe Geuzaine<br class="">University of Liege, Electrical Engineering and Computer Science <br class=""><a href="http://www.montefiore.ulg.ac.be/~geuzaine" class="">http://www.montefiore.ulg.ac.be/~geuzaine</a><br class=""><br class="">Free software: http://gmsh.info | http://getdp.info | http://onelab.info</div></div>
</div>
<br class=""></div></body></html>