diff --git a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C index 3090f25e1a41f66bf219f22fd612297132fa2a5d..2c12a52470d401a0f97dc00c4964483dc377087c 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 38667ebf364ebebbfecae5b7c9564df66b51ed0f..36dd0bbddd45cc7796986f2a029832cb2b9f3499 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 // ~~~~~~~~