Work in progress: Support PBS scheduler#50
Work in progress: Support PBS scheduler#50ignatiusm wants to merge 11 commits intoSvenMarcus:mainfrom
Conversation
|
Thanks a lot for the contribution! I'll review your PR within the next week and will get back to you as soon as I can! |
|
Yay! I'm pleased this PR is welcome. I realise that I need to get the tests passing again, so I'll do some more work on that. Also, I know a good source for dockerised PBS set up. Let me know if you'd like the details (I guess that would require #33 to be resolved first). |
I have a pretty good idea of what needs to be done for that, but it'll require some work to build that flexibility and still satisfy
That would be amazing! I've had some trouble with this guide, but maybe that's because I'm working with an Apple Silicon processor. |
…classes and protocols.
|
I extended your PR to make the tests pass. Please rebase onto this branch before making more changes: https://github.com/SvenMarcus/hpc-rocket/tree/Garvan-Data-Science-Platform-add-pbs-controller There are lots of changed files, but the changes mostly deal with introducing generalized I have also slightly changed your proposed format of the config file by renaming job:
script: jobfile.sh
scheduler: slurmThat's because hpc-rocket already supported this (undocumented) format to avoid adding an extra copy instruction for the slurm script: job:
script: remote_jobfile.sh
from: local_jobfile_path.sh |
This is useful for passing in CI secrets
This reverts commit 3a140f0.
|
Hi @SvenMarcus ,
I have borrowed the set up from the dask-jobqueue repo ci test set up. They have PBS, SLURM and SGE configurations. They are a bit more complex than is needed for here, but I've typically just followed the steps in the |
Thanks! I'll have a look at it as soon as I find some time. That might take a while, though. |
Apologies for the super slow progress with this. I've been caught up in other things too alas. I've pushed some dummy pbs output. I'll work on tests early next week. |
No need to rush, take all the time you need! I really appreciate that you're taking the time to contribute to Let me know if you run into any trouble getting things working! |
Related to issue #37.
Thanks for developing HPC Rocket! I'd like to help with adding features (specifically around adding PBS support). Before I go too far, I thought I'd submit this draft Pull Request to start a discussion.
This PR so far includes:
sbatchtojobAs noted in the title, this is very much 'work in progress'. Please excuse the partial implementation (particularly for config parsing, and conditions in
hpcrocket/core/application.py). I wanted to get something started and then create the PR so we had a place to discuss things.Please let me know if you are interested in contributions from the other side of the world, and if so, feel free to make any suggestions for how best to proceed. :)