[slurm-dev] Why not add GRES to GrpTRESRunMins?...

2017-08-22 Thread Fulcomer, Samuel
So GRES is a supported TRES type, but it appears to not be supported in the GrpTRESRunMins limits, which list as : GrpTRESRunMins=cpu=N,mem=N,energy=N,node=N We use the cpu limit to reduce long-term monopolization of CPU resources, and recently could really use the same functionality with

[slurm-dev] Re: How to set %SLURM_JOB_ID as an argument of python in sbatch script?

2017-08-22 Thread Chris Samuel
On Tuesday, 22 August 2017 9:46:17 PM AEST 刘科 wrote: > python ~/opt/script/auto_run_te_by_steps.py {} `%SLURM_JOB_ID` Try this instead: python ~/opt/script/auto_run_te_by_steps.py '{}' ${SLURM_JOB_ID} That uses single quotes to stop the shell from trying to expand whatever that is (I'm not a