armi.utils.directoryChangersMpi module

MPI Directory changers.

This is a separate module largely to minimize potential cyclic imports because the mpi action stuff requires an import of the reactor framework.

class armi.utils.directoryChangersMpi.MpiDirectoryChanger(destination, outputPath=None)[source]

Bases: armi.utils.directoryChangers.DirectoryChanger

Change all nodes to specified directory.

Notes

filesToMove and filesToRetrieve do not get broadcasted to worker nodes. This is intended since this would cause a race condition between deleting and moving files.

Establish the new and return directories.

Parameters
  • destination (str) – destination directory

  • outputPath (str, optional) – directory for outputs

open()[source]
close()[source]