-
Notifications
You must be signed in to change notification settings - Fork 13
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
Test Slurm sets CPU frequency correctly #47
Conversation
…lurm can be used to raise this to 2.25Ghz
I will update to appease the syntax/linting god (@RuiApostolo) |
It's the single-quotes in lines 45 and 48. |
tests/env/cpu_freq_check.py
Outdated
|
||
@rfm.simple_test | ||
class CPUHighFreqTest(rfm.RunOnlyRegressionTest): | ||
"""Checks that CPU frequency is set to 2.25GHz by default""" |
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.
2.25GHz is not the default though, is it? I think the test and class descriptions should reflect that.
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.
Thanks I caught a couple of other similar doc string errors and have updated them
Thanks @JPRichings ! |
Two tests for Archer2:
Slurm job with no --cpu-freq argument has SLURM_CPU_FREQ_REQ=2000000
Slurm job with --cpu-freq=2250000 argument has SLURM_CPU_FREQ_REQ=2250000