OK - interesting disussion, especially that subtlety, didn't know that. And I'm almost 100% sure that Tom has found our problem - I had already noted that the users in question should move their script vars below the #SBATCH flags in the script - didn't know about the blank lines though.
Thanks, I'll pass that one on cheers L. ------ "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Lives Matter founder* On 1 July 2017 at 04:54, Thomas M. Payerle <[email protected]> wrote: > > Also, I believe the #SBATCH ... > flags in a script must come before any non-blank/non-comment > lines in the script file in order to be honored by Slurm. > > So something like > #!/bin/bash > WDIR=$PWD > #SBATCH -t 1:00 > > the -t 1:00 will get ignored by sbatch > > > On Thu, 29 Jun 2017, Lachlan Musicman wrote: > >> We have a 40min default time on our main partition. >> >> We are finding that researchers that use >> >> #SBATCH --time=0-07:00:00 >> >> are still having their jobs terminated at 40 minutes. >> >> Using slurm 17.2.04 on Centos 7.3 >> >> >> Has anyone else experienced this? >> >> >> Cheers >> L. >> ------ >> "Mission Statement: To provide hope and inspiration for collective >> action, to build collective power, to achieve collective transformation, >> rooted in grief and rage but pointed towards vision and dreams." >> >> - Patrisse Cullors, Black Lives Matter founder >> >> >> > Tom Payerle > DIT-ATI-Research Computing [email protected] > 4254 Stadium Dr (301) 405-6135 > University of Maryland > College Park, MD 20742-4111 >
