constants module

mavis.schedule.constants.MAIL_TYPE = MavisNamespace(ALL='ALL', BEGIN='BEGIN', END='END', FAIL='FAIL', NONE='NONE')

When the scheduler should notify mail_user about a job

  • ALL - All other options (except none)
  • BEGIN - Send an email when the job starts
  • END - Send an email when the job has terminated
  • FAIL - Send an email if the job fails
  • NONE - Do not send email
mavis.schedule.constants.OPTIONS = WeakMavisNamespace(annotation_memory=12000, concurrency_limit=None, import_env=True, mail_type='NONE', mail_user='', memory_limit=16000, queue='', remote_head_ssh='', scheduler='SLURM', time_limit=57600, trans_validation_memory=18000, validation_memory=16000)

submission options

Type:MavisNamespace
mavis.schedule.constants.SCHEDULER = MavisNamespace(LOCAL='LOCAL', SGE='SGE', SLURM='SLURM', TORQUE='TORQUE')

scheduler types

Type:MavisNamespace
mavis.schedule.constants.cumulative_job_state(states)[source]

Given a set of states, return a single state based on the reporting priority