-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(parameters): handle the --partition
and --qos
parameters for the sbatch
command
#58
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For backward compatibility, the |
We will also have another similar request to use the |
…Features` constructor
…meter for the `sbatch` command
laurent-laporte-pro
approved these changes
Sep 18, 2023
laurent-laporte-pro
changed the title
feat(parameters): add partition in MainParameters
feat(parameters): handle the Sep 18, 2023
--partition
and --qos
parameters for the sbatch
command
laurent-laporte-pro
added a commit
that referenced
this pull request
Sep 19, 2023
… the `sbatch` command (#58) * feat(parameters): add partition in MainParameters * refactor: simplify the implementation of `SlurmScriptFeatures.compose_launch_command` * refactor(parameters-reader): simplify the implementation of the parameters reader * refactor(parameters-reader): change the signature of the `SlurmScriptFeatures` constructor * style(parameters-reader): sort imports and reformat source code * feat(parameters-reader): make the `partition` parameter optional * feat(parameters-reader): handle the `--qos` (quality of service) parameter for the `sbatch` command --------- Co-authored-by: Laurent LAPORTE <[email protected]>
laurent-laporte-pro
added a commit
that referenced
this pull request
Sep 20, 2023
… the `sbatch` command (#58) * feat(parameters): add partition in MainParameters * refactor: simplify the implementation of `SlurmScriptFeatures.compose_launch_command` * refactor(parameters-reader): simplify the implementation of the parameters reader * refactor(parameters-reader): change the signature of the `SlurmScriptFeatures` constructor * style(parameters-reader): sort imports and reformat source code * feat(parameters-reader): make the `partition` parameter optional * feat(parameters-reader): handle the `--qos` (quality of service) parameter for the `sbatch` command --------- Co-authored-by: Laurent LAPORTE <[email protected]>
laurent-laporte-pro
added a commit
that referenced
this pull request
Sep 20, 2023
* feat(parameters): handle the `--partition` and `--qos` parameters for the `sbatch` command (#58) * feat(parameters): add partition in MainParameters * refactor: simplify the implementation of `SlurmScriptFeatures.compose_launch_command` * refactor(parameters-reader): simplify the implementation of the parameters reader * refactor(parameters-reader): change the signature of the `SlurmScriptFeatures` constructor * style(parameters-reader): sort imports and reformat source code * feat(parameters-reader): make the `partition` parameter optional * feat(parameters-reader): handle the `--qos` (quality of service) parameter for the `sbatch` command --------- Co-authored-by: Laurent LAPORTE <[email protected]> * feat(cli): add the `--solver-version` option to the command line * test: correct unit tests `test_data_repo_tinydb` which were not reentrant * feat(cli): add the `--solver-version` parameter to the command line * test(assets): correct the import used to import the `ASSETS_DIR` constant * chore(typing): correct typing in `remote_environment_with_slurm` module * chore: correct the way class name is displayed with `show_message` --------- Co-authored-by: MartinBelthle <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to the PR AntaresSimulatorTeam/AntaREST#1664