altar.simulations
Submodules
Package Contents
Classes
Functions
- class altar.simulations.archiver
Bases:
altar.protocolThe protocol that all AlTar simulation archivers must implement
Archivers persist intermediate simulation state and can be used to restart a simulation
- initialize(self, application)
Initialize me given an {application} context
- record(self, step)
Record the final state of the simulation
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.simulations.dispatcher
Bases:
altar.protocolThe protocol that all AlTar simulation dispatchers must implement
Dispatchers associate event handlers with specific aspects of the calculation and invoke them when appropriate
- initialize(self, application)
Initialize me given an {application} context
- class altar.simulations.monitor
Bases:
altar.protocolThe protocol that all AlTar simulation monitors must implement
Monitors respond to simulation events by generating user diagnostics to report progress
- initialize(self, application)
Initialize me given an {application} context
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.simulations.run
Bases:
altar.protocolProtocol that specifies the job parameter set
- name
- doc = the name of the job; used as a stem for making filenames, etc.
- mode
- mode = the programming model
- hosts
- doc = the number of hosts to run on
- tasks
- doc = the number of tasks per host
- gpus
- doc = the number of gpus per task
- chains
- doc = the number of chains per worker
- steps
- doc = the length of each Markov chain
- tolerance
- doc = convergence tolerance for β->1.0
- initialize(self, application)
Initialize the run components with context from {application}
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.simulations.rng
Bases:
altar.protocolThe protocol for random number generators
- initialize(self, **kwds)
Initialize the random number generator
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- altar.simulations.gsl()
- altar.simulations.job()
- altar.simulations.recorder()
- altar.simulations.reporter()