Closed svatosFZU closed 1 year ago
Hi, the missing resources are a bug, I'll fix it soon.
Regarding the worker, you can access it in tasks (because each task can have a different worker). But note that this information might not be fully precise - there might be multi-node tasks, which are executed on multiple workers at once, and a task can be executed by multiple workers in succession, if some of them crash while they execute the task.
Regarding the Slurm/PBS ID, I'm not sure how we could add it there. There is no association between HQ jobs and Slurm/PBS allocation IDs (this is by design). What you probably could do is to fetch the information about specific workers and look-up their allocation ID (if there is any). I will add this information to JSON output for worker to make it available.
Thanks. I do not run multi-node calculations, so it would be easy for me to get.
Hi, I am using "hq job info" to get some basic information about a job. I am using --output-mode json to make further processing easy (and because it contains start and finish timestamps). Unfortunately, there are some values available in cli mode which are not in json mode (and vice versa). To be specific, I miss the Resources (number of cores, etc.) and Workers (worker node name) info which is in cli but not in json. Would it be possible to add them also into the json mode? Also, if it would be possible to add ID of PBS/SLURM allocation into the info, that would be great.