<html><head></head><body><div>Dear developers,</div><div><br></div><div>Using attached geo and brep with Gmsh stable 4.2.2 linux-64 binary:</div><div><br></div><div><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">$ gmsh -3 -cpu cube.geo -o mesh1.msh</span><br></span><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">$ gmsh -3 -cpu cube.geo -o mesh2.msh</span><br></span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: monospace;">$ gmsh -3 -cpu cube.geo -o mesh3.msh</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: monospace;">$ </span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: monospace;">md5sum *.msh</span></div><div></div><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">b1a18fc0cc03dbe43931e3e85eb965b4  mesh1.msh
</span><br>e5f09c1db71a5951ed2851182950c6e0  mesh2.msh
<br>9163ccafa5ec693a0d888ff624bbf733  mesh3.msh<br>
<br></span><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"></span></div><div><span style="white-space: pre-wrap;">Without the -cpu flag, the three resulting files are exactly the same, which is what I need.</span></div><div>My guess was that Common/OS.cpp:362 was introducing multithreading randomness even though the -info says that the binary does not have OpenMP enabled.</div><div>But when I compile the source explicitly setting -DENABLE_OPENMP=0 I get back the deterministic behavior even with -cpu, so there is something going on.</div><div><br></div><div>I can measure the cpu time with Bash's time or /usr/bin/time and get rid of -cpu, but wanted to know what is it that is going on.</div><div>Any idea?</div><div><br></div><div>Regards</div><div>--</div><div>jeremy theler</div><div><a href="http://www.seamplex.com">www.seamplex.com</a></div><div><br></div><div><br></div></body></html>