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

an error in intel fortran composer

mohsenkamand
Beginner
508 Views
hi
im using intel fortran composer for completely usage of my core i7 intel cpu.
running my code i have an error for a loop vectorization which this loop is very important and is the heart of my code and should be vectorized.

the error is this:
1>D:\\vec_samples\\solid.f90(1098) (col. 31): remark: loop was not vectorized: unsupported data type.

i searched in the help content and found this:
Data type unsupported on given target architecture: This message might occur when compiling a loop containing complex arithmetic for a target processor that supported only the Streaming SIMD Extensions 2 (SSE2) instruction set. SSE3 instructions are needed for effective vectorization of arithmetic involving complex data types.

but i didnt found out how to impliment the SSE3 instruction.

iwould be very thankfull with any kind of help.
with best rigards,,,
0 Kudos
3 Replies
mecej4
Honored Contributor III
508 Views
To answer the question we need to see

i) the block of source code (at least the DO block) to which the message refers,

ii) the declarations of the variables involved in the block, and

iii) a description of the compiler options in effect.
0 Kudos
anthonyrichards
New Contributor III
508 Views
In Visual studio, select Project...Properties...Configuration Properties...Fortran...Code Generation, then from the right-hand window 'Intel Processor-Specific Optimization' then select from the drop down list the compiler options that will give you the instructions you need (unless, of course your processor cannot support them!)
0 Kudos
TimP
Honored Contributor III
508 Views
Core I7 will support any of the /QxSSE code generation options. /QxSSE4.2 (or even 4.1) give the compiler additional options for vectorization beyond /QxSSE3.
Sometimes this situation arises from unnecessarily mixing data types. As the first response said, if you want help, look at your code, and consider showing it to us.
0 Kudos
Reply