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

Detect Perlmutter nodes and set corresponding Globus endpoint #246

Merged

Conversation

lukaszlacinski
Copy link
Contributor

NERSC Perlmutter nodes do not have an FQDN set properly. It means that socket.getfqdn() and regex cannot be used to determine what machine zstash is run on and set a corresponding Globus endpoint UUID. This PR adds another detection method that relies on $NERSC_HOST environment variable that is set on NERSC machines. If the variable is set to "Perlmutter" or "unknown", a Perlmutter Globus endpoint will be used for the machine zstash executed on.

@lukaszlacinski lukaszlacinski force-pushed the lukaszlacinski/globus/nersc branch from 688961e to 149eefc Compare January 9, 2023 18:52
@lukaszlacinski lukaszlacinski force-pushed the lukaszlacinski/globus/nersc branch from 149eefc to cc54251 Compare January 9, 2023 20:13
@forsyth2
Copy link
Collaborator

Thanks @lukaszlacinski for implementing this. The unit tests pass on Perlmutter. Merging.

@forsyth2 forsyth2 merged commit 7624232 into E3SM-Project:main Jan 26, 2023
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.

2 participants