Compile following code with -qopenmp -coarray causes 010101_14921 catastrophic error on Version 220.127.116.11 Build 20171018. Any reason for it? Thanks!
module M_A implicit none integer :: ica type t_A integer :: map(10) contains procedure :: do_something end type complex(8) :: B(20,10)
Is it just my imagination or are there quite a few compiler bug errors in the last few months, I do not remember seeing so many in my scant years on this site.
It's not unusual in my experience. They do come in waves - most often when a school semester starts. Another wave sometimes occurs when a new major compiler version is released and a lot of people jump in to try it, though this has decreased over the years.
I further simplify the code a little bit. The problem seems to be referring member of coarray derived type inside of type-bound procedure in OMP scope. For now, a possible way to get rid of this is don't use type-bound procedure in coarray.
module debug implicit none type t_A integer :: a contains procedure :: set end type contains subroutine set(self) class(t_A) :: self
The Intel Fortran compiler does not yet support polymorphic variables inside OpenMP parallel regions. That feature is part of OpenMP 5.0 and we haven't implemented that yet.