Changes to salloc:
- returns the return code of its child command - add timeout for limiting how long it waits for a PENDING job allocation (slurm_allocate_resources_blocking was updated to timeout correctly) - cleans up job allocation on Ctrl-C (Actually, it ignores SIGINT, SIGTERM, SIGQUIT, but unblocks them for the child, so ctrl-c from the shell hits the whole process group, and the child exits, and salloc cleans up like normal. Might to be more proactive with signals, but I am not yet certain.) - trim more unnecessary command line options - man page additions
Showing
- doc/man/man1/salloc.1 9 additions, 4 deletionsdoc/man/man1/salloc.1
- slurm/slurm.h.in 2 additions, 1 deletionslurm/slurm.h.in
- src/api/allocate.c 23 additions, 13 deletionssrc/api/allocate.c
- src/salloc/opt.c 4 additions, 49 deletionssrc/salloc/opt.c
- src/salloc/opt.h 0 additions, 3 deletionssrc/salloc/opt.h
- src/salloc/salloc.c 30 additions, 13 deletionssrc/salloc/salloc.c
Loading
Please register or sign in to comment