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

-C options Internal compiler error

pat97269
Beginner
275 Views
Hi all, 

The compiler is crashing with the following piece of code, with the options 
 ifort -O2 -c -C . removing -C seems to resolve the issue
Thanks


subroutine pinv(A,X)
implicit none
double complex,dimension(:,:),intent(in):: A
double complex,dimension(:,:) :: X
double complex,dimension(:,:), allocatable :: U,V
double complex,dimension(:), allocatable :: work
double precision,dimension(:), allocatable :: s,rwork
integer :: n,r,lwork,i,info
double precision :: tol

n = size(A,1)
X=A
![U,S,V] = svd(A)
lwork=5*n
allocate(work(lwork),s(n),rwork(lwork),U(n,n),V(n,n))
call zgesvd('A','A',n,n,X,n, s,U,n,V,n,work,lwork,rwork,info)
end subroutine pinv

 

0 Kudos
1 Reply
Kevin_D_Intel
Employee
275 Views

I reproduced this using the current CXE 2013 SP1 Update 2 (Version 14.0.2.144 Build 20140120) and reported it to Development (see internal tracking id below).

You can remove the -C to avoid the error (as noted) or use the alternative spelling: -check

(Internal tracking id: DPD200255045)

0 Kudos
Reply