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

Command-line utility #20

Open
bschroeter opened this issue Sep 12, 2024 · 0 comments
Open

Command-line utility #20

bschroeter opened this issue Sep 12, 2024 · 0 comments
Labels
enhancement New feature or request v2.0.0 Issues targeting v2.0.0

Comments

@bschroeter
Copy link
Collaborator

I've come across a use case where it would be useful to be able to use HPCpy to batch-submit multiple PBS jobs without writing any python code.

Consider the following command:

hpcpy submit job_script.sh args.yml

Where job_script.sh is the job script template and args.yml provides the parameters that are interpolated into the job script and details about the submission (directives etc.) and how it is batched (i.e. providing a syntax for looping through and submitting jobs)

To achieve this currently a python script is required to define all of the details surrounding submission of a job script template, with this approach it is possible to omit the former.

This will also open up the possibility of utility functions such as hpcpy clean which can clear the rendered job scripts from the user home directory immediately, without having to wait for the next hpcpy submission to age them out.

Big piece of work, target v2.0.0

@bschroeter bschroeter added enhancement New feature or request v2.0.0 Issues targeting v2.0.0 labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.0.0 Issues targeting v2.0.0
Projects
None yet
Development

No branches or pull requests

1 participant