Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCpy integration #568

Open
jo-basevi opened this issue Feb 14, 2025 · 0 comments
Open

HPCpy integration #568

jo-basevi opened this issue Feb 14, 2025 · 0 comments

Comments

@jo-basevi
Copy link
Collaborator

HPCpy is a Python package for interacting with HPC scheduling systems. Using this in payu, may reduce the need for scheduler specific code. Currently, there is some development on a SLURM client: ACCESS-NRI/hpcpy#28. See related payu issue for supporting different schedulers - #182

Payu currently runs qsub with executable commands directly rather than a script, (e.g., qsub <directives> -- /g/data/vk83/prerelease/apps/payu/dev/bin/python /g/data/vk83/prerelease/apps/payu/dev/bin/payu-run). See related issue in HPCpy to support this: ACCESS-NRI/hpcpy#24.

However, HPCpy supports script jinja templates which can be used to generate a script. So it could be possible to generate a job script that contains {{python}} {{payu-cmd}}. This could potentially help:

There is also some support for dependency strategy in HPCpy, this could be useful for running sync jobs - after a user-defined postscript (see some related discussion in this issue: #463 (comment))

@jo-basevi jo-basevi changed the title HPCPy integration HPCpy integration Feb 14, 2025
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

No branches or pull requests

1 participant