Hi Mike,

The string ā€œ%jā€ in the name of the output file (or, for that matter, the error 
file) should do what you want, thus:

-o my_job.%j

Cheers,
Ben

> On 3/03/2016, at 9:15 AM, Mike Dacre <[email protected]> wrote:
> 
> Hi all,
> 
> Is it possible to get -o to include the job number? Ideally something like 
> `-o my_job.<job_id>`. Obviously $SLURM_JOBID does not work before the job is 
> created, and the '-o' flag is processed as the job is being created, so I 
> don't know if this is even possible.
> 
> Thanks,
> 
> Mike

Reply via email to