diff --git a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C index 2845c57c4b..95ae8ed877 100644 --- a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C +++ b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C @@ -549,6 +549,10 @@ Foam::label Foam::ptscotchDecomp::decompose } } + + // Make repeatable + SCOTCH_randomReset(); + // Strategy // ~~~~~~~~ diff --git a/src/parallel/decompose/scotchDecomp/scotchDecomp.C b/src/parallel/decompose/scotchDecomp/scotchDecomp.C index f0c51a31d0..b1bf4772cd 100644 --- a/src/parallel/decompose/scotchDecomp/scotchDecomp.C +++ b/src/parallel/decompose/scotchDecomp/scotchDecomp.C @@ -236,6 +236,9 @@ Foam::label Foam::scotchDecomp::decomposeSerial } } + // Make repeatable + SCOTCH_randomReset(); + // Strategy // ~~~~~~~~