-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implicit linear solver fails with Intel compiler #239
Comments
@sethrj Do you have a simple ioc example to test with Intel (outside of ForTrilinos)? |
Yes, if you look at |
Ok...in the director example, I try the following with the gcc/6.4.0
This compiles fine, and when run produces the following output:
I then blow away the .o, .mod, and .a files and try the following with intel/18.0.2
I get the following error:
|
So...putting in stuff like the following let's me get past the compile errors. type(SingleJoiner) :: sj
type(BracketJoiner) :: bj
! NOTE: because we're not calling any C functions here, we don't actually
! have to call init_FortranJoiner
write(*,*) "test_subclass"
allocate(join, source=sj) However, when I run the resulting executable, I get a segfault:
Then, for completeness, I go back and build it all again with GCC to make sure I didn't biff something as I was editing runme.f90, and it runs just fine. |
This comment has been minimized.
This comment has been minimized.
Ugh. As a general rule of thumb in my experience, "seems like a compiler bug" usually means "I'm depending on undefined behavior being consistent"... ...but given that the gfortran compiler actually had an acknowledged bug there that we found and fixed, you could be right. But looking again, are you sure that at the breakpoint you're using, the variables have been initialized? It looks like they both might be filled with bogus values to me. I'll be back in the office on Tuesday; perhaps we could discuss then? |
@sethrj @tjfulle
Nate from LANL discovered that. I can reproduce on condo with Intel 18. GCC is fine.
Backtrace:
The text was updated successfully, but these errors were encountered: