]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
[EDF21269] : Reproduce PTScotch graph split between independant runs
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 16 Apr 2020 07:58:28 +0000 (09:58 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 16 Apr 2020 07:59:07 +0000 (09:59 +0200)
src/MEDPartitioner/MEDPARTITIONER_PTScotchGraph.cxx

index a5498c2039223beccb4f25be6b391409a0779c62..6d685476136c9ee8f701c4f1621d5471de6d1efe 100644 (file)
@@ -74,6 +74,7 @@ void PTSCOTCHGraph::partGraph(int ndomain, const std::string& options_string, Pa
   
   int* vlbloctab = _vlbloctab?const_cast<int*>(_vlbloctab->begin()):0;
   
+  SCOTCH_randomReset();
   SCOTCH_Dgraph scotch_graph;
   SCOTCH_dgraphInit(&scotch_graph, MPI_COMM_WORLD);
   SCOTCH_dgraphBuild(&scotch_graph,