From: Anthony Geay Date: Thu, 16 Apr 2020 07:58:28 +0000 (+0200) Subject: [EDF21269] : Reproduce PTScotch graph split between independant runs X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cf4a84d06e151fcf8a81595e1b37e98013b523a;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,