Modified configure script to work on Athena.#600
Open
kyle-augustson wants to merge 1 commit into
Open
Conversation
…flag that triggers one of two options for either GNU or CRAY compilers. This along with the --with-blas and --with-lapack flags allows the use of Cray's libsci on Athena so things build cleanly.
tukss
approved these changes
Jun 25, 2026
tukss
left a comment
Contributor
There was a problem hiding this comment.
This looks good. I was wondering if we should try to handle the Cray environments more generally. We also have them on all the DOE systems. So far I've always used the spack package to integrate those and it worked pretty well.
I'm fine with merging this now and improving on it during the hackathon.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is a flag (--for-athena) that triggers one of two options for either GNU or CRAY compilers [can add intel/aocc if wanted]. This along with the --with-blas and --with-lapack flags allows the use of Cray's libsci on Athena so things build cleanly, you just need to specify the library path with $CRAY_LIBSCI_PREFIX; same for fftw --with-fftw=$FFTW_ROOT.
Here's the currently loaded modules for the Cray environment:
module list
Currently Loaded Modulefiles:
To use GNU module unload PrgEnv-cray and module load PrgEnv-gnu. At runtime, be sure to add the libmpi path to your LD_LIBRARY_PATH for some reason that doesn't seem to be provided by the module properly. For the cray config that is
/opt/cray/pe/mpich/9.1.0/ofi/CRAY/20.0/lib
for GNU it is
/opt/cray/pe/mpich/9.1.0/ofi/GNU/11.2/lib