Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Openmp task subroutine bug

Patrice_l_
Beginner
242 Views

Hi,

Openmp is still unusable in 16.0 for me here is another openmp task bug  : the compiler ends with

LOC_type is: 1
101000_1

catastrophic error: **Internal compiler error.

Compiling with -O0 works or commenting the call to fun in fun1 works.

 

module tata
use omp_lib
implicit none

contains

subroutine toto(fun,x,f)
double precision,dimension(:),intent(in) :: x
double precision,intent(inout) :: f
interface
        subroutine fun(x,res) 
                double precision,dimension(:),intent(in) :: x
                double precision :: res
        end subroutine
end interface

!$omp task 
!$ print *,'Thread :',omp_get_thread_num(),'compute_f in omp'
call fun(x,f)
!$omp end task
contains
function fun1(X) result(y)
        double precision,dimension(:),intent(in) :: x
        double precision :: y
        call fun(x,y)
end function
end subroutine
end module tata

 

0 Kudos
2 Replies
Kevin_D_Intel
Employee
242 Views

I am sorry to hear about the continued problems. I reproduced this internal error and escalated it to the Developers. Thank you for reporting this and for the convenient reproducer.

(Internal tracking id: DPD200376074)

(Resolution Update on 02/23/2016): This defect is fixed in the Intel® Parallel Studio XE 2016 Update 2 Release (PSXE 2016.2.062/ CnL 2016.2.181 - Linux)

0 Kudos
Kevin_D_Intel
Employee
242 Views

This internal compiler error has been fixed in the recently announced Intel® Parallel Studio XE 2016  Update 2 release (PSXE 2016.2.062/ CnL 2016.2.181 - Linux).

I hope nothing new surfaces for you with this update. Thank you again for reporting the error.

0 Kudos
Reply