-
Notifications
You must be signed in to change notification settings - Fork 9
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
Build on develop or 1.0.0 fails with Intel 19 compilers #728
Comments
This initial problem is related to |
By manually removing the
|
I removed many of the initializers for tons of unordered_maps in the code, which seems to trigger a bug. But now, I'm stuck on an internal compiler error:
|
For reference, looks like Maybe we are doing something similar? |
There are a few |
That could be it? Not sure how to determine for sure what the ICE is from. |
I've created containers with 3 Intel compiler versions for testing: https://hub.docker.com/repository/docker/lifflander1/icc I tried to build develop on Intel 19.1.1, the latest version---which we haven't tried so far (AFAIK). I'm still getting ICE and some template failures in the newer RDMA handers code (class specialization on NodeType vs Index). One ICE is from this lines of code in collective_scope.cc: r->reduce<collective::None>(collective_root, msg.get(), cb, stamp); When I comment it out, the file compiles. |
In
|
In |
Way down in |
With
is unhappy |
Just calling |
Blocks #895 |
On ascic170, I just found (kinda by accident) that |
|
When I fix the putative error (actually, it was a compiler bug - default value of |
The full range of 19.x compilers crash with that change made. |
Here's the fully reduced test case, courtesy of CReduce and follow-up reduction and analysis by hand:
|
And, confirmed via godbolt.org that it crashes icc 21.1.9 as well! |
There should then be a reasonable workaround for this, by interposing a function or typedef that has the instantiation in-line |
I've got the workaround implemented in reduce.h, and it seems to be accepted. There are a couple other spots likely affected. PR should be posted shortly. |
#728: Avoid ICEs and compilation failures in Intel 19.x and Nvidia with gcc<=7.2.0
#728: Avoid ICEs and compilation failures in Intel 19.x and Nvidia with gcc<=7.2.0
Describe the bug
The text was updated successfully, but these errors were encountered: