-
Notifications
You must be signed in to change notification settings - Fork 26
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
Proto-scheduler class, pre-support for slurm #271
Conversation
This is a very minimal implementation of a Scheduler class, in order to handle scheduler-specific operations. It includes a basic Factory for controlling the Scheduler instantiation, and a single method for returning the submission command line. I do not expect things to keep working like this, it is only meant to be the most minimal implementation to support both PBS and Slurm. Hopefully more changes to come.
Hello @marshallward! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-06-17 03:25:28 UTC |
I have not yet tested this on Gadi, so it may fail spectacularly on there. Will try to get it going... |
Already found one bug:
(or maybe that works? mpirun appears to support both...) |
I don't understand why coveralls says coverage reduced by 42%. A few thoughts:
|
|
Pytest is only used for Python3 testing, and our environment needs a newer version than is being installed by Travis, so we force it to be at least 4.6.
I have an idea for making the site specific stuff a little tidier. How about moving to a system where all arguments to stuff like Rather than parsing stupid effing stringsI think this could be a winner. |
I agree with much of this, and consider most of those string checks to be stubs. I think that a lot of the proposed structure will emerge as I get the GFDL version working correctly. |
This is a very minimal implementation of a Scheduler class, in order to
handle scheduler-specific operations.
It includes a basic Factory for controlling the Scheduler instantiation,
and a single method for returning the submission command line.
I do not expect things to keep working like this, it is only meant to be
the most minimal implementation to support both PBS and Slurm.
Hopefully more changes to come.