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

Add scotch library to EPIC's hpc-stack #7

Closed
wants to merge 10 commits into from

Conversation

ulmononian
Copy link
Collaborator

@ulmononian ulmononian commented Nov 10, 2022

Note: this PR mirrors NOAA-EMC/hpc-stack PR NOAA-EMC#504. It will serve as a temporary measure to get the scotch build capabilities into the hpc-stack for issue NOAA-EMC#501. we may end up using the EPIC fork to build an hpc-stack in the role.epic space on Hera that includes scotch for the WW3 group.

A request to support the scotch library (on at least Hera and Orion) came via NOAA-EMC#501. This PR includes the pertinent additions/adaptations to enable installation of scotch as part of the stack, including:

  • a new build_scotch.sh script in /libs
  • the addition of "build_lib scotch" to the ufs 3rd party apps. section of build_stack.sh
  • scotch lua modulefile templates (serial/parallel)

Successful installation as a part of a test hpc-stack was performed on Hera w/ Intel-2022.1.2 compiler and MPI (src: /scratch1/NCEPDEV/stmp2/Cameron.Book/hpcs_work/src/scotchNsplenda , lib: /scratch1/NCEPDEV/stmp2/Cameron.Book/hpcs_work/libs/scotch). @natalie-perlin will follow with Orion testing, as I do not have access.

I have not added a scotch section to any of the stack/*yaml files simply because I am not sure which would be most relevant. Open to suggestions, or we can just leave the inclusion of the scotch section to users who actually want/need the library in their stack.

If the basic additions in this PR are deemed OK, we can go ahead and install scotch in the forthcoming, official, EPIC-maintained hpc-stack locations on Hera and Orion.

Note: I would like to recognize contributions from @natalie-perlin to this work.

@ulmononian
Copy link
Collaborator Author

just a note: as natalie mentioned over on the emc hpc-stack PR, the cmake compiler flags need fixed in the cmake section of the build_scotch.sh script. just getting this in here so more folks can see it and we can keep progress going.

Copy link

@mark-a-potts mark-a-potts left a comment

Choose a reason for hiding this comment

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

LGTM.

@natalie-perlin
Copy link
Collaborator

Closing this PR, as confirmed by @ulmononian, because the subsequent PR-14 has the updates and modification for scotch installations on all the NOAA Tier 1 systems

@natalie-perlin natalie-perlin deleted the feature/add_scotch_hera branch November 1, 2023 21:11
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.

3 participants