Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29271 ディスカッション

an error in intel fortran composer

mohsenkamand
ビギナー
506件の閲覧回数
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 件の賞賛
3 返答(返信)
mecej4
名誉コントリビューター III
506件の閲覧回数
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.
anthonyrichards
新規コントリビューター III
506件の閲覧回数
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!)
TimP
名誉コントリビューター III
506件の閲覧回数
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.
返信