[slurm-users] Slurm Jobscript Archiver

Kevin Buckley Kevin.Buckley at pawsey.org.au
Mon Jun 17 07:04:03 UTC 2019


On 2019/05/09 23:37, Christopher Benjamin Coffey wrote:

> Feel free to try it out and let us know how it works for you!
> 
> https://github.com/nauhpc/job_archive

So Chris,

testing it out quickly, and dirtily, using an sbatch with a here document, vis:

$ sbatch -p testq  <<EOF
#!/bin/sh
module list
EOF

resulted in the following dirt (ooh-err!)

ERROR:11 SLURM_JOB_NAME env not found - jobid: 12345 retrycnt: 7 elapse: 0.013476

but, after I supplied a --job-name= argument, I did see the "two line script"
output and the dot-env file, so maybe the code could be modified to handle
such a use-case, akin to the "extern" job step you see in the Slurm logs.

I also note that the one follow-up email so far (lech.nieroda at uni-koeln.de) made
quite a few changes - are they in a GitHib clone/branch yet ?


Kevin

-- 
Supercomputing Systems Administrator
Pawsey Supercomputing Centre
Tel: +61 8 6436 8902
SMS: +61 4 9970 3915
Eml: kevin.buckley at pawsey.org.au



More information about the slurm-users mailing list