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.nier...@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.buck...@pawsey.org.au