rlfontenot / loci

Created by Dr. Ed Luke, LOCI is a sophisticated auto-parallelizing framework that simplifies the task of constructing complex simulation software.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Fix Repeatability bug in PTScotch parallel graph partitioner interface #18

Open EdwardALuke opened 1 month ago

EdwardALuke commented 1 month ago

The PTScotch option for graph partitioning was recently added to the partitioning options. PTScotch uses a pseudorandom number generator for tie breaking and by default it sets the seed arbitrarily with each run. This means that the partition is usually different on repeated runs even when running on the same number of processors. This is corrected by making SCOTCH API calls to set the random seed consistently.