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 support for oneapi #15

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Add support for oneapi #15

wants to merge 13 commits into from

Conversation

ScottWales
Copy link
Collaborator

@ScottWales ScottWales commented Feb 6, 2025

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

@yaswant
Copy link
Collaborator

yaswant commented Feb 6, 2025

@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

@ScottWales
Copy link
Collaborator Author

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

@ScottWales ScottWales self-assigned this Feb 6, 2025
@ScottWales ScottWales requested a review from hiker February 13, 2025 03:12
@ScottWales ScottWales marked this pull request as ready for review February 13, 2025 03:12
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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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"
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

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