-
Notifications
You must be signed in to change notification settings - Fork 446
Update HOMME Aurora machine cmake config #6690
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
Update HOMME Aurora machine cmake config #6690
Conversation
|
|
||
| #ifdef KOKKOS_ENABLE_SYCL | ||
| #include <CL/sycl.hpp> | ||
| #include <sycl/sycl.hpp> |
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.
could you explain this change please?
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.
SYCL specification has long deprecated these headers. <CL/sycl.hpp> header was valid only in SYCL 1.2.1 but it has been deprecated for <sycl/sycl.hpp> in SYCL 2020 Standards.
From the SYCL spec
For consistency, the programming API will only refer to the <sycl/sycl.hpp> header and the ::sycl namespace, but this should be considered synonymous with the SYCL 1.2.1 header and namespace.```
|
|
||
| set (USE_NUM_PROCS 12 CACHE STRING "") | ||
|
|
||
| SET (USE_MPI_OPTIONS "--pmi=pmix --cpu-bind list:0-7,104-111:8-15,112-119:16-23,120-127:24-31,128-135:32-39,136-143:40-47,144-151:52-59,156-163:60-67,164-171:68-75,172-179:76-83,180-187:84-91,188-195:92-99,196-203 gpu_tile_compact.sh" CACHE FILEPATH "") |
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.
is tile script always in a user's path?
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.
Yes, the tile binding script is always in the SYSTEM path for the users
|
To clarify, the changes in components/homme/cmake only impact the standalone build of HOMMEXX but the other changes could impact the EAMxx/SCREAM build? |
I guess @oksanaguba could fill-in more accurately, but changes outside the standalone cmake config to HOMME were to address deprecation warnings and so are cosmetic |
| #define HOMMEXX_VECTOR_PRAGMAS_HPP | ||
|
|
||
| #if defined(__INTEL_COMPILER) | ||
| #if defined(__INTEL_COMPILER) || defined(__INTEL_CLANG_COMPILER) || defined(__INTEL_LLVM_COMPILER) |
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.
which one will be INTEL_CLANG compiler and which one is LLVM? thanks
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.
Intel compilers are identified as both clang and llvm based. Both the macros are defined by oneAPI compilers.
The difference being the naming convention: If it is a compiler released by Intel as a product (both the macros are defined) or if a user builds the compiler themselves from upstream repo (then either or both could be defined)
|
yes, the changes besides cmake will be picked up by scream builds, but as Abhishek says they are an improvement. SCREAM flags may need revision in a similar way (or not). |
|
@oksanaguba The CI seems to have failed. Is that what is blocking at the moment |
|
@abagusetty we use a manual process to merge to "next" first and let cdash tests pass overnight https://my.cdash.org/index.php?project=E3SM . then the PR can go to "master". i will merge this to next maybe today. i am not sure about CI. thanks. |
|
@oksanaguba the CI we run on PRs through github actions had a fail which was not related to the PR. I reran it and its fine. |
|
On chrysalis, homme build fails with |
…tional MKL installations.
Addressed in the following commit |
|
ran homme suites and one ERS test on chrysalis, all ok. |
Update Cmake machine config for Aurora Cleanup certain warnings related to headers and Intel compilers Linking Fortran/C++/SYCL with CXX linker (-fortlib) instead of Fortran language for SYCL builds. Since Fortran linking with SYCL is no longer supported (link is in the PR).
Uh oh!
There was an error while loading. Please reload this page.