Re: [slurm-users] Job walltime

2018-10-18 Thread Chris Samuel
On Wednesday, 17 October 2018 10:10:07 PM AEDT Andy Georges wrote: > I am wondering is there is a way to set the job walltime in the job > environment (to set $PBS_WALLTIME). It’s unclear to me how this information > can be retrieved on the worker node, e.g., in the SPANK environment > (prolog, or

Re: [slurm-users] Job walltime

2018-10-17 Thread Jeffrey Frey
If you check the sbatch man page, there's no similar variable listed for the job environment. You can: (1) write/add to a spank plugin to set that in the job environment (2) implement a patch yourself and submit it to SchedMD (3) submit a request to SchedMD (if you have a contract) to have th

[slurm-users] Job walltime

2018-10-17 Thread Andy Georges
Hello, We are migrating away from a Torque/Moab setup. For user convenience, we’re trying to make the differences minimal. I am wondering is there is a way to set the job walltime in the job environment (to set $PBS_WALLTIME). It’s unclear to me how this information can be retrieved on the wo