It is possible to store the script sent off to run, however, if your script is using arguments, you can only get those from the 'scontrol show job <jobid>' while it is still in the list.

You can capture both in a PrologSlurmctld script.

Brian Andrus

On 7/16/2021 11:16 AM, David Henkemeyer wrote:
If I execute a bunch of sbatch commands, can I use sacct (or something else) to show me the original sbatch command line for a given job ID?

Thanks
David

Reply via email to