diff --git a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C index 2845c57c4b4771cb0093ccc89471c1868e7f52d0..95ae8ed877703e696e29258bda440870956a72b1 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 f0c51a31d0643264dcd7061408add3bee1f813b7..b1bf4772cdfd69cfdfece3d516126a949e96acc4 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 // ~~~~~~~~