util.OutputManager

class jVMC.util.output_manager.OutputManager(dataFileName, group='/', append=False)

This class provides functionality for I/O and timing.

Upon initialization with

outp = OutputManager("filename.h5")

an HDF5 file filename.h5 is created. If the file exists, append=True will prevent overwriting it. This HDF5 file is intended for numerical output and output can be written to it using the write_observables(), write_metadata(), and write_network_checkpoint() member functions.

Furthermore, timings can be recorded using the start_timing() and stop_timing() member functions. The recorded timings can be printed to screen using the print_timings() function.

Finally, the OutputManager provides a print() function, that wraps python’s standard print() to print only on the MPI process with rank 0.

jVMC.util.output_manager.__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.