Hi Gestió,

you can try `sacct -B -j YOUR_JOB_ID` to get the submit script, and `sacct --env-vars -j YOUR_JOB_ID` for the environment.
You need to have set `AccountingStoreFlags: job_comment,job_env,job_extra,job_script` in slurm.conf to store respective data.
Otherwise it will not be available via sacct.

Hope this helps.

Cheers,



Le 17/06/2025 à 12:42, Gestió Servidors via slurm-users a écrit :

Hello,

 

Is there any way to get all information (like submit script or submit node) from a job that is completed? Something like “scontrol show jobid=XXX” when job is “running” or “pending”. I need to inspect the submit script of a job but I only know job_id.

 

Thanks.