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

feat(parameters): handle the --partition and --qos parameters for the sbatch command #58

Merged
merged 7 commits into from
Sep 18, 2023

Conversation

MartinBelthle
Copy link
Contributor

@MartinBelthle MartinBelthle commented Jul 25, 2023

@laurent-laporte-pro
Copy link
Contributor

For backward compatibility, the partition should be optional.

@laurent-laporte-pro
Copy link
Contributor

We will also have another similar request to use the qos parameter. See: https://slurm.schedmd.com/sbatch.html#OPT_qos

@laurent-laporte-pro laurent-laporte-pro changed the title feat(parameters): add partition in MainParameters feat(parameters): handle the --partition and --qos parameters for the sbatch command Sep 18, 2023
@laurent-laporte-pro laurent-laporte-pro merged commit 2cacfa7 into dev Sep 18, 2023
4 checks passed
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 <laurent.laporte.pro@gmail.com>
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 <laurent.laporte.pro@gmail.com>
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 <laurent.laporte.pro@gmail.com>

* 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 <102529366+MartinBelthle@users.noreply.github.com>
@laurent-laporte-pro laurent-laporte-pro deleted the add_partition_info_in_config branch September 26, 2023 13:07
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

Successfully merging this pull request may close these issues.

None yet

2 participants