Hi! I use Gecode in a special way: - first I generate a problem - then I clone (using space->clone(false)) 2 times the problem - on each clone, I add some constraints and branching - then I launch simultaneously a DFS on each clone in parallel in 2 differents threads. The options of the DFS is clone=false (to not manually delete my manual clone) and default threading mode (so sequencial search).
It (randomly) segfault inside Gecode (most of the time in _clone()). I suspect that the search use clone(true), and that there is problems with my 2 simultaneous searchs. After reading MPG, I was thinking that it should work, but I now suspect that each clone in DFS must use false. Am I right? How to force clone(false) without doing parallel search in DFS? Thanks. -- Guillaume Pinot http://www.texitoi.eu « Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher. » -- Antoine de Saint-Exupéry, Terre des hommes () ASCII ribbon campaign -- Against HTML e-mail /\ http://www.asciiribbon.org -- Against proprietary attachments _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users