There are wildcards for job id, task id, step id, etc. all described in the man pages.
Quoting Philippe Muller <[email protected]>:
Hello, Is it possible to specify a different log file for each task of an array ? I'm aware we can produce a log file for each task by using templated log files. However, in my shop, jobs are submitted to Slurm by an external system, which must be able to chose where each task output is logged. It has its own task identifieres, and users want to see this ID in the log file name. Can I manually call "srun -o logfile" for each task of an array ? Thank you for your help ! Philippe
-- Morris "Moe" Jette CTO, SchedMD LLC Commercial Slurm Development and Support
