-
Notifications
You must be signed in to change notification settings - Fork 8
Update aurora spack templates with latest modules
#318
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
Conversation
This bring in changes to Aurora modules and corresponds to E3SM commit hash: f29cfa46f9033d8ffb6848f1bca8d9e8d284043f
xylar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A version needs fixing here.
Co-authored-by: Xylar Asay-Davis <[email protected]>
xylar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (as long as it actually works, of course).
xylar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs the fixes from update-to-2.0.0
806e5b3 to
2f23373
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xylar to explain a little of what's going on. First, I loaded the (needed) modules from the config_machines.xml:
source /usr/share/lmod/lmod/init/sh
module load cmake/3.31.8
module load oneapi/release/2025.2.0Then I ran:
$ which cmake
/opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/cmake-3.31.8-mvhtj5u/bin/cmake
$ ls -d /opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/libiconv*
ls: cannot access '/opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/libiconv*': No such file or directory
$ ls -d /opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/libxml2*
/opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/libxml2-2.13.5-dhzcbk4
$ ls -d /opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/gcc-runtime-*
/opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/gcc-13.3.0/gcc-runtime-13.3.0-ghotoln
$ which mpicc
/opt/aurora/25.190.0/spack/unified/0.10.1/install/linux-sles15-x86_64/oneapi-2025.2.0/mpich-develop-git.6037a7a-cym6jg6/bin/mpiccwhich is where I got the new paths from. Also that's what's lead to the decision to delete the libiconv entry (I double checked the oneapi-2025.2.0 directory, but nothing there either.
|
So, even with 2f23373 (cherry-picked onto So, I added the While it's not logged as an error/warning the first three lines suggest there's an issue using |
|
No luck with I've also compared the content of: and and they seem to have the same content, laid out in a similar way. ... I'm pretty stumped. |
| # whether to use system modules for hdf5, netcdf-c, netcdf-fortran and pnetcdf | ||
| # whether to use E3SM modules for hdf5, netcdf-c, netcdf-fortran and pnetcdf | ||
| # (spack modules are used otherwise) | ||
| use_system_hdf5_netcdf = True | ||
| use_e3sm_hdf5_netcdf = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was fairly clearly a mixup. Aurora must have been added about the same time Althea and I removed support of use_system_hdf5_netcdf and it got left with that incorrect config option.
This is required for gcc-runtimes to be handled correctly.
|
Based on the successful deployment on Aurora, I think this is ready to be merged. What do you think @xylar ? |
TestingTested as part of successful E3SM-Unified 1.2.0rc3 deployment on Aurora. |
This merge also updates
config_machines.xmlto bring in updates to Aurora modules (E3SM-Project/E3SM#7693). This version of config_machines.xml corresponds to