Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Openmp internal compiler error v13

pat97269
Beginner
525 Views

Hi all, 

I want to report a bug, when you try to compile the following example with -openmp you get catastrophic error (tried with intel v13.0.1, works on a v12.1.2)

If you remove the save statement or the gradf in argument then it compiles with no error. 

module foo
contains
subroutine hess_grad_approx(gradf)
integer :: i
double precision,dimension(:),allocatable :: gradf
double precision,dimension(:),allocatable,save :: fe

fe(i)=1d0
gradf(i)=1d0

end subroutine
end module foo

thanks

0 Kudos
1 Reply
Steven_L_Intel1
Employee
525 Views
Thanks for the nice example. I have escalated this as issue DPD200239791 and will update this thread with any progress.
0 Kudos
Reply