-
Notifications
You must be signed in to change notification settings - Fork 173
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
Support for Intel oneAPI compilers #249
Comments
The
|
The NAG issues were partially related to CMake - #108 - however, I am not sure if it was resolved. Presumably, PGI will also have issues with submodules, error stop, and other F2018 features. The short answer to your question is yes. |
I've never seen an informative ICE so far. Unfortunately, I don't have a local Intel oneAPI installation on my machine (yet), so I wasn't able to pin it down to a more specific part in the implementation. At least with Intel Parallel Studio stdlib builds just fine, so this seems to be Intel oneAPI specific. |
I always try to compile I didn't test Intel oneAPI yet. |
On my local machine, I use Intel Parallel Studio 2020, Update 2 ( On the CI example it should be Intel oneAPI 2021.1 beta10, |
On my laptop (Ubuntu 20.04) I have ifort (IFORT) 2021.1 Beta 20200827 (from oneAPI) and it doesn't ICE until compiling the tests:
|
nvfortran 20.9-0 doesn't implement
|
@awvwgk Did you report the ICEs to Intel? I just installed it on my local computer, and got also ICEs. |
Hm, where did you get the Beta version for Intel 2021? Normally, I get informed when there is a new version. That they are having problems with their new release is deeply disturbing. Can someone give me a link to a product page? |
@Romendakil FWIW I got it from here. I followed the install instructions for apt on Ubuntu and installed basekit and hpckit. Beta 2021.1 is what's inside. |
Not yet, I finally got around to download the oneAPI compilers, but I still have to isolate the problem and create a minimal working example for a report. Edit: Tracked the first ICE in oneAPI program mwe
implicit none
integer, parameter :: dp = selected_real_kind(15)
real(dp) :: d(2, 3), e(2, 3)
logical :: stat
d = reshape([1, 2, 3, 4, 5, 6], [2, 3])
e = reshape([1, 2, 3, 4, 5, 6], [2, 3])
stat = all(abs(e-d) < epsilon(1.0_dp))
end program mwe Will produce an ICE with
|
Update: The ICE in I didn't bother looking into the failure of |
Great. Thanks @awvwgk for the update. |
Looks like there has been another update of the oneAPI compilers, but I'm very happy I did not get any of those, as they are completely broken now: https://github.com/awvwgk/fortran-stdlib/runs/1503801636#step:8:109
Edit: Just found the the release notes here. Apparently this is supposed to be the production release now... |
I just tried to setup a CI for the Intel oneAPI compilers for stdlib and noticed that
src/tests/io/test_savetxt.f90
is triggering an ICE inifort
(see https://github.com/awvwgk/fortran-stdlib/runs/1439256395) andsrc/stdlib_ascii.f90
is triggering an ICE in theifx
compiler (see https://github.com/awvwgk/fortran-stdlib/runs/1439276984).I have seen there are compile issues with PGI/NVHPC, NAG and flang already for stdlib. Does this mean stdlib currently only supports GCC?
The text was updated successfully, but these errors were encountered: