flux.cli.alloc module
- class flux.cli.alloc.AllocCmd(prog, usage=None, description=None)
Bases:
BatchAllocCmd- background(args, jobid)
Handle the --bg option
Wait for child instance to be ready to accept jobs before returning. Print jobid to stdout once the job is ready.
- bg_wait_cb(future, args, jobid)
Wait for memo event, connect to child instance, and finally wait for rc1 to complete
- init_jobspec(args)
Return initialized jobspec. This is an abstract method which must be provided by each base class
- static log(jobid, ts, msg)
- main(args)