uabrc / devops-docs

https://docs.rc.uab.edu/devops-docs/
Apache License 2.0
1 stars 5 forks source link

How to find jobscripts #14

Open wwarriner opened 1 year ago

wwarriner commented 1 year ago

/data/rc/jobscript_archive/<user>/<YYYYMMDD>/<jobid>.savescript

This is useful for RC staff to resolve devops issues and for facilitation problem solving.

We need this documented in the rc-how-to gitlab repo, and in the rc internal docs. (And maybe those could be merged...?).

It is also useful for researchers to review and to resolve their own issues.

To find a job script either of the following can work

  1. Having the jobid and using find.
  2. Having the datetime and using sacct -S ... -E ... to find the jobid. If there are many jobs, then having a unique-ish jobname can help narrow down the selection.