Ok, I know it's a late reply, but I still see no results in sstat when using srun within an sbatch file.
ie $ sbatch my.sbatch where my.sbatch is #!/bin/bash #SBATCH --nodes=1 #SBATCH --ntasks=8 #SBATCH --job-name="QOS_TEST" srun -n 1 /home/lachlan.simpson/tmp/runjob.sh I get nothing in sstat. If I run: $ srun runjob.sh I get sstat results. Is it because runjob.sh opens with #!/bin/bash? L. ------ The most dangerous phrase in the language is, "We've always done it this way." - Grace Hopper On 30 August 2016 at 13:12, Christopher Samuel <sam...@unimelb.edu.au> wrote: > > On 30/08/16 12:39, Lachlan Musicman wrote: > > > Oh! Thanks. > > > > I presume that includes sruns that are in an sbatch file. > > Yup, that's right. > > cheers! > Chris > -- > Christopher Samuel Senior Systems Administrator > VLSCI - Victorian Life Sciences Computation Initiative > Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 > http://www.vlsci.org.au/ http://twitter.com/vlsci >