thunderboltz.parallel.MPRunner

class thunderboltz.parallel.MPRunner[source]

Interface for any kind of calculation that is run-able and set-able can be compatible with multiprocessing utilities like SlurmManager and DistributedPool.

Methods

get_directory()

Return the directory in which the calculation is occurring.

run(**run_options)

Run the calculation with the current settings.

set_(**state_options)

Update the internal state of the object being run.

to_pickleable()

Returns a pickle-able portion of the object sufficient to run the calculations.