From: Anthony Geay Date: Thu, 16 Apr 2020 07:58:28 +0000 (+0200) Subject: [EDF21269] : Reproduce PTScotch graph split between independant runs X-Git-Tag: V9_5_0b1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb91878b3fb670041c09ea7aefce3132e157b126;p=tools%2Fmedcoupling.git [EDF21269] : Reproduce PTScotch graph split between independant runs --- diff --git a/src/MEDPartitioner/MEDPARTITIONER_PTScotchGraph.cxx b/src/MEDPartitioner/MEDPARTITIONER_PTScotchGraph.cxx index a5498c203..6d6854761 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_PTScotchGraph.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_PTScotchGraph.cxx @@ -74,6 +74,7 @@ void PTSCOTCHGraph::partGraph(int ndomain, const std::string& options_string, Pa int* vlbloctab = _vlbloctab?const_cast(_vlbloctab->begin()):0; + SCOTCH_randomReset(); SCOTCH_Dgraph scotch_graph; SCOTCH_dgraphInit(&scotch_graph, MPI_COMM_WORLD); SCOTCH_dgraphBuild(&scotch_graph,