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

only do this check on ncar systems #4228

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

jedwards4b
Copy link
Contributor

@jedwards4b jedwards4b commented Apr 14, 2022

This check should only be done on systems with a common filesystem but separate login nodes (ncar)
Test suite: Ran SMS.f19_g17.X.cheyenne_intel and tried to run on casper, ran ./create_test SMS.f19_g17.X.cori-knl_intel SMS.f19_g17.X on cori.
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes #4226

User interface changes?:

Update gh-pages html (Y/N)?:

@jedwards4b jedwards4b requested a review from jgfouca April 14, 2022 00:25
@jedwards4b jedwards4b self-assigned this Apr 14, 2022
mach == probed_machine,
f"Current machine {probed_machine} does not match case machine {mach}.",
)
if "NCAR_HOST" in os.environ:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be putting site-specific stuff like this in the CCS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I welcome suggestions for alternative solutions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the more portable way is a machine file setting that marks such a config. But I'm fine with this going in now as is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rljacob I've given some thought to how a field in the machine definition could resolve this issue, but haven't come up with anything, if you have any specific suggestions, I'm interested.

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.

machine id fix #4179 breaks nersc systems
3 participants