Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

error #8412: DO loop preceded by directive SIMD must not contain EXIT statements

$
0
0

Hi,

I have this error message when I try to compile some straightforward code using ifort 13.0.1 20121010. This error does not occur when using:

ifort 12.1.0 20110811. The exit statement if clearly not within the simd Do loop

Please see source code below:

!dec$ simd reduction(+:nfftnormi)
               do k1=k1_begin, k1_end
                  nfftnormi = nfftnormi + sqrt(real(nfftsp(k1,k2,k3,k4))**2+aimag(nfftsp(k1,k2,k3,k4))**2)
               end do
            end do
         end do
      end do

      rei = nfftnormi / nfftnorm0
      if (rei < remin) then
         reminiter = iter
         remin = rei
      endif
      re(iter) = rei

!--   convergence criteria (absolute)
      if (rei < stopresidual) then
         exit
      endif

Any idea ? it seems like a bug in the newer version

Regards,

Tarik


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>