-
Notifications
You must be signed in to change notification settings - Fork 19
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
Port to Intel LLVM based compilers #1890
Comments
@dkokron Thanks. I've asked NCCS for Intel 2023.0 to be installed on discover which is about the only way we can test this (since most of us develop on macOS and no |
Also, so I don't forget, I'll add a reference to: Goddard-Fortran-Ecosystem/pFUnit#404 where @scivision and @Leonard-Reuter talked about their experience with |
Have you been able to reproduce this on Discover? |
@dkokron Not yet. Still waiting on latest oneAPI to be installed. Soon I hope! |
@mathomp4 Any update on this issue? |
This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days, it will be closed. You can add the "long term" tag to prevent the Stale bot from closing this issue. |
The Intel 2023.1 ifx compiler resolves the issue with fiopenmp mentioned above. However, mapl-2.22.0 stills fails to compile under 2023.1 because of a new ICE on MAPL_TripolarGridFactory.F90
/home/dkokron/Projects/NCEP/UFS/hpc-stack/pkg/mapl-2.22.0/base/MAPL_TripolarGridFactory.F90(750): error #5623: Internal compiler error: internal abort Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. |
I'll try to at least get an IFX compiler options file into fArgParse (and rest of GFE) asap. But won't have any time to pursue compiler issues beyond that in the near term. |
I finally have an environment where I can test this. I think I have a workaround, which I'll let @mathomp4 test more fully. And will also work on a bug report to intel. |
Great.
…On Wed, Oct 25, 2023, 11:21 AM Tom Clune ***@***.***> wrote:
I finally have an environment where I can test this. I think I have a
workaround, which I'll let @mathomp4 <https://github.com/mathomp4> test
more fully. And will also work on a bug report to intel.
—
Reply to this email directly, view it on GitHub
<#1890 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACODV2BLS6LWT56BFRPHOADYBE4AJAVCNFSM6AAAAAATF44MPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGYZTEMZYHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
…m-intel-compiler' into feature/tclune/#1890-port-to-llvm-intel-compiler
My statement was a bit premature. My changes allow the code to compile but we are seeing a number of failing unit tests. We're trying to prove whether these are due to the compiler or to MPI. Some that fail on discover run on my laptop which suggests that a newer MPI may solve some of the issues. |
…lvm-intel-compiler Fix to allow Intel Fortran 2021.10 to compile
This got accidentally closed. We have ifort 2021.10 support now, but we are looking at We have |
Closing in favor of #2642 |
I have been attempting to port MAPL (feature/mathomp4/optional-openmp) to use the LLVM based compilers (ifx, icx and icpx) from the 2023.0.0 release of OneAPI. I ran into two problems, one of which I was able to work around.
The first workaround is to disable OpenMP. The ifx compiler likes to ICE when fiopenmp is included on the command line even if the source file doesn't include OpenMP directives. Disable inclusion of -fiopenmp flag by changing
if (NOT CMAKE_Fortran_COMPILER_ID MATCHES "NAG")
to
if (NOT CMAKE_Fortran_COMPILER_ID MATCHES "^(NAG|IntelLLVM)$")
in pfio/CMakeLists.txt and profiler/CMakeLists.txt
Haven't figured out how to work around the following error.
..../gridcomps/Cap/MAPL_Cap.F90(358): error #5623: Internal compiler error: internal abort Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
call MAPL_CapGridCompCreate(this%cap_gc, this%get_cap_rc_file(), &
The 2022.1.0 and 2022.2.1 releases of ifx reported the following error instead.
Cap/MAPL_Cap.F90(358): error #5533: Feature found on this line is not yet supported in ifx
call MAPL_CapGridCompCreate(this%cap_gc, this%get_cap_rc_file(), &
The text was updated successfully, but these errors were encountered: