-
Notifications
You must be signed in to change notification settings - Fork 106
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] Allow ReFrame to pass the access options in command line instead of the script for Slurm #3156
Conversation
Hello @ekouts, Thank you for updating! Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide Comment last updated at 2024-06-13 21:32:06 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to (a) extend this to all the schedulers and (b) do not emit the options in the job script.
Also I don't know how would be able to test this fully, but at least we need unit tests that set this option and verify that the sched_access
options are not passed in the script if this configuration option is set.
Co-authored-by: Vasileios Karakasis <[email protected]>
Co-authored-by: Vasileios Karakasis <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3156 +/- ##
===========================================
- Coverage 86.67% 86.56% -0.12%
===========================================
Files 61 61
Lines 12143 12167 +24
===========================================
+ Hits 10525 10532 +7
- Misses 1618 1635 +17 ☔ View full report in Codecov by Sentry. |
Right now I am only changing this for Slurm. I leave these options in the slurm script, mostly to remind whoever might be checking the script that the options are not ignored. Do you think I should remove them from the script?Closes #2970 .