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
Compilation fails for Intel 18
#13821
Comments
Intel 18
You could try and see whether it makes a difference if you create a local |
That does not work, unfortunately. I swapped positions of this and the following function, as the latter doesn't use the
I will try to revert the old PRs partially and then add some preprocessor conditional with respect to the Intel compiler version. This way we still have the new, elegant way, and the old, compatible implementation. Plus we can easily drop the legacy code when we decide to no longer support |
I played with this a bit earlier and pretty much instantly got into hot water when trying to replace
These functions have the same signature, and if there are template arguments so that both Could you try something like
instead? |
I still get the same error if I get rid of the second overload entirely. Moving the However, getting rid of the
instead of
worked! Do you prefer getting rid of the I will apply the changes and see if it's going to work for all cases. |
When compiling the examples, I am now facing linker problems:
|
This looks like #13794, which should have been fixed already. |
Thank you for the hint! #13794 is already part of my feature branch, but it didn't fix the problem. I will double-check that my configuration is correct. |
Actually,
|
I take everything back. My feature branch did not include #13794. |
I encountered one more (and hopefully the last) linker error with both Intel 18 and Intel 19.
But I have no idea how to figure out the cause for this one. |
Can you try without the gold linker? Also try deleting all intermediate files and build again, i think I had something like this before where one of the artifacts is garbage (from an earlier unsuccessful build). |
Thanks for the hint @tjhei. It indeed works when disabling I guess we can close the issue now. For completion, these are the errors I get:
|
With the
Intel 18.0.2
suite (compiler, MPI, MKL), we can not compile the current master branch. It succeeds withIntel 19.1.1
though.The following error recurs:
The line is part of a
std::enable_if
construct:dealii/include/deal.II/lac/la_parallel_vector.h
Lines 1935 to 1939 in 9dd448b
Seems to be a compiler bug. Any idea how to deal with this?
The text was updated successfully, but these errors were encountered: