Feat: Expose some of slurm settings to the command line
1 unresolved thread
1 unresolved thread
Following slurm parameters are exposed to the commend line:
- Amount or requested RAM of the node
- Priority (to better organize qeueing later on)
- Name of a batch job
Merge request reports
Activity
Filter activity
- Resolved by Mikhail Karnevskiy
- Resolved by Mikhail Karnevskiy
60 60 parser.add_argument('--vector-figs', action="store_true", default=False, 61 61 help="Use vector graphics for figures in the report.") 62 62 63 parser.add_argument('--slurm-mem', type=int, default=500, 64 help="Requestet node RAM in Gb") 65 66 parser.add_argument('--slurm-name', type=str, default='xfel_calibrate', 67 help='Name of slurm job') 68 69 parser.add_argument('--slurm_priority', type=int, 70 help='Priority of srurm job') what is the default value for this parameter when used, do you know? it was 2 previously in the fuction
Edited by Karim Ahmedpriority within xfel_calibrate is still 2. The slurm_priority will chnage the priority of slurm jobs. A negative value increases the priority, otherwise decreases it. The adjustment range is +/- 2147483645.
Edited by Mikhail Karnevskiychanged this line in version 3 of the diff
- Resolved by Mikhail Karnevskiy
added 1 commit
- d263ba13 - Expose some of slurm settings to the command line
added 1 commit
- c7c883ca - Expose some of slurm settings to the command line
mentioned in commit 5392117d
Please register or sign in to reply