-
Notifications
You must be signed in to change notification settings - Fork 6
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 support for oneapi #15
base: main
Are you sure you want to change the base?
Conversation
@ScottWales I was wondering if oneAPI 2024 supports classic compilers, particularly ifort? I thought oneAPI HPC toolkit supported both ifx and ifrot as of 2023.1 |
ifx and ifort are both available in oneapi 2024, although the old icc and icpc c/c++ compilers are not. It looks like ifort will not be available in oneapi 2025 - https://community.intel.com/t5/Blogs/Tech-Innovation/Tools/Deprecation-of-The-Intel-Fortran-Compiler-Classic-ifort/post/1541699 |
ef7a9e1
to
fd8c4c8
Compare
site/nci/spack-compilers.yaml
Outdated
cxx: /apps/intel-tools/intel-compiler-llvm/2024.0.2/bin/icpx | ||
f77: /apps/intel-tools/intel-compiler-llvm/2024.0.2/bin/ifx | ||
fc: /apps/intel-tools/intel-compiler-llvm/2024.0.2/bin/ifx | ||
cc: /apps/intel-tools/intel-compiler-llvm/2024.2.1/bin/icx |
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 first quick question: would it make sense to switch to 2025.0.4?
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.
done
site/nci/envrun
Outdated
@@ -19,4 +19,7 @@ export FFLAGS="-I /apps/openmpi/4.1.5/include/Intel ${FFLAGS:-}" | |||
# Pass through LD_LIBRARY_PATH | |||
export SINGULARITYENV_LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}" | |||
|
|||
# Required for oneapi sanitizers to show addresses | |||
export SINGULARITYENV_APPEND_PATH="/apps/intel-oneapi/compiler/2023.2.0/linux/bin-llvm" |
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.
I checked, this is indeed the latest version but it is strange that this is 2023.2.0 ?? Is there some package missing?
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 like the recent version of ifx uses a different directory structure on gadi which is why I didn't find it
Add support for building the lfric environment using oneapi at NCI
Currently only the gravity_wave app works, we will need to re-check compatibility once we have ifx 2025