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

Enable HPSS archiving on C5/6 #3437

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

DavidHuber-NOAA
Copy link
Contributor

Description

This PR enables HPSS archiving on Gaea C6. The C5 hosts file is also updated, but has not been tested. The ES cluster needs to know which nodes to select based on which file system the files to archive are located. To accomplish this, the --constraint= option was added for C5 and C6. This feature should have no change on other platforms.

Resolves #3421
Refs #3261

Type of change

  • New feature (adds functionality)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? YES/NO
  • Does this change require an update to any of the following submodules? NO

How has this been tested?

C48_ATM test on Gaea C6

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • I have made corresponding changes to the system documentation if necessary

@DavidBurrows-NCO
Copy link
Contributor

@DavidHuber-NOAA I don't really have experience with HPSS archive in GW. I did however just get HPSS access from C6. Want me to set up your branch and test a C48_ATM with hpss transfer?

@DavidHuber-NOAA
Copy link
Contributor Author

@DavidBurrows-NCO Sure, if you wouldn't mind, I'd appreciate the extra test. Thanks!

@DavidBurrows-NCO
Copy link
Contributor

@DavidHuber-NOAA I'm having HPSS access issues after the maintenance and had to open a ticket. I'll keep you posted. If you want to proceed with this, feel free, and I can test once my access is updated. Please let me know. Thanks!

@DavidHuber-NOAA
Copy link
Contributor Author

Thanks for testing @DavidBurrows-NCO. Let's wait until you are able to test. If there was an issue after maintenance, then I would prefer it get resolved before merging this PR.

Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @DavidHuber-NOAA ! Approve pending successful completion of any testing.

Comment on lines +72 to +88
elif [[ ${MACHINE_ID} = gaeac5 ]] ; then
# We are on GAEA C5.
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /usr/share/lmod/lmod/init/bash
# We cannot simply load the module command. The GAEA
# /etc/profile modifies a number of module-related variables
# before loading the module command. Without those variables,
# the module command fails. Hence we actually have to source
# /etc/profile here.
source /etc/profile
fi
module reset
elif [[ ${MACHINE_ID} = gaeac6 ]]; then
# We are on GAEA C6.
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /opt/cray/pe/lmod/lmod/init/bash
fi
module reset
Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

Enable HPSS transfers on Gaea C6
3 participants