diff --git a/dlio_benchmark/utils/utility.py b/dlio_benchmark/utils/utility.py index 890cd728..f937c139 100644 --- a/dlio_benchmark/utils/utility.py +++ b/dlio_benchmark/utils/utility.py @@ -176,6 +176,8 @@ def reset(): # MPI cannot be initialized automatically, or read_thread spawn/forkserver # child processes will abort trying to open a non-existant PMI_fd file. import mpi4py +mpi4py.rc.initialize = False +mpi4py.rc.finalize = False p = psutil.Process()