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

Test Slurm sets CPU frequency correctly #47

Merged
merged 6 commits into from
Sep 25, 2024

Conversation

JPRichings
Copy link
Contributor

Two tests for Archer2:

  1. Slurm job with no --cpu-freq argument has SLURM_CPU_FREQ_REQ=2000000

  2. Slurm job with --cpu-freq=2250000 argument has SLURM_CPU_FREQ_REQ=2250000

@JPRichings JPRichings added the enhancement New feature or request label Sep 23, 2024
@JPRichings
Copy link
Contributor Author

I will update to appease the syntax/linting god (@RuiApostolo)

@RuiApostolo
Copy link
Contributor

I will update to appease the syntax/linting god (@RuiApostolo)

It's the single-quotes in lines 45 and 48.

@JPRichings JPRichings self-assigned this Sep 25, 2024

@rfm.simple_test
class CPUHighFreqTest(rfm.RunOnlyRegressionTest):
"""Checks that CPU frequency is set to 2.25GHz by default"""
Copy link
Contributor

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.

Copy link
Contributor Author

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

@RuiApostolo RuiApostolo merged commit 6d3aa97 into EPCCed:main Sep 25, 2024
9 checks passed
@RuiApostolo
Copy link
Contributor

Thanks @JPRichings !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants