Skip to content

Fix: pbs pro qstat bug#8

Merged
mnakao merged 1 commit intoRIKEN-RCCS:mainfrom
imdxz:fix-pbspro
Jun 11, 2025
Merged

Fix: pbs pro qstat bug#8
mnakao merged 1 commit intoRIKEN-RCCS:mainfrom
imdxz:fix-pbspro

Conversation

@imdxz
Copy link
Copy Markdown
Contributor

@imdxz imdxz commented Jun 11, 2025

  • Fix pbs job id in qstat: <JOB_ID>.<PBS-server> instead of <JOB_ID>.opbs
  • Use qstat -x for querying present and history jobs (qstat -H --hday 7 gives error)

- Fix pbs job id in qstat: <JOB_ID>.<PBS-server> instead of <JOB_ID>.opbs
- Use qstat -x for querying history jobs (qstat -H --hday 7 gives error)
@mnakao mnakao merged commit fd88d4e into RIKEN-RCCS:main Jun 11, 2025
@mnakao
Copy link
Copy Markdown
Contributor

mnakao commented Jun 11, 2025

Thank you for your PR.

In my environment, qstat is a wrapper command, and the -H --hday 7 option appears to be specific to that wrapper.

Unfortunately, I don't have access to the non-wrapper version of qstat, so I’m unable to test the -x option you suggested. However, based on the PBS manual, it seems that the option should work as expected:

https://help.altair.com/2024.1.0/PBS%20Professional/PBSReferenceGuide2024.1.pdf

@imdxz
Copy link
Copy Markdown
Contributor Author

imdxz commented Jun 12, 2025

Thanks for merging!
I'm testing on NSCC Singapore's PBS Pro system where qstat -H --hday 7 isn't available. The qstat -x approach works well for us and should be more portable across PBS installations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants