Example: Debugging With sacct
sacct -j 12345678 --format=JobID,JobName,Partition,Account,AllocTRES,State,ExitCode,Elapsed
Good prompt:
“Here is the sacct output for my failed Perlmutter job and my batch script. Explain what the state and exit code suggest, then propose the next two debugging steps.”