altar.simulations.Job

Module Contents

Classes

class altar.simulations.Job.Job(name, locator, **kwds)

Bases: altar.component

The set of parameters in an AlTar run

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
gpuprecision
doc = the precision of gpu computations
validators
gpuids
default
doc = the list of gpu ids for parallel jobs
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 job parameters with information from the application context

validateMachineLayout(self, application)

Adjust the machine parameters based on the {application} context and the runtime environment