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

catastrophic error: **Internal compiler error

m_memoli
Beginner
652 Views
Dear all,

I have a problem with Intel Fortran compiler 11.1 and the simple following code.

program loop
use omp_lib

call omp_set_num_threads(14)

!$omp parallel
write(*,*) 'Number of threads = ', omp_get_num_threads()

10 i = 1
goto 10
!$omp end parallel

end program


When I try to compile using ifort -openmp -o loop loop.f the compiler returns the following error:

: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.

compilation aborted for loop.f (code 3)


When i try with Intel Fortran compiler 10.1 i have no error.

Thanks to all.


0 Kudos
2 Replies
Kevin_D_Intel
Employee
652 Views

Thank you for the convenient reproducer. As you probably determined, the internal error relates to the goto statement. The error still occurs with our upcoming next major release. I reported this to Development and will update this post as I learn more.

(Internal tracking id: DPD200162544)

(Resolution Update on 02/21/2011): This defect is fixed in the Intel Fortran Composer XE 2011 Update 2 (2011.2.137 - Linux)

0 Kudos
Kevin_D_Intel
Employee
652 Views
This defect is fixed in the Intel Fortran Composer XE 2011 Update 2 (2011.2.137 - Linux)
0 Kudos
Reply