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

Retainable option names

rase
새로운 기여자 I
651 조회수

Steve, you mentioned once that in one of the next major releases of IVF the names (abbreviations) of the compiler options will be more understandable and retainable. Will the options names be changed in IVF 11 already?

0 포인트
1 솔루션
Steven_L_Intel1
651 조회수
Quoting - tim18

The new alternate names are already in the ifort 11 beta version (/QxSSE4.1 and the like, with /QxSSE2 as default). The old names still work, with the exception of the changed option for x87.

Almost - and you're not the first to be confused here. The default is /arch:SSE2, not /QxSSE2. The former is equivalent to /QxW and has no CPUID check, whereas the latter is equivalent (I think) to /QxN and has a check.

In version 11, /arch does not check for processor type whereas /Qx does. An interesting exception is /QxHost which looks at the processor type during compilation and selects the best matching /arch or /Qx switch, for both Intel and non-Intel processors.

Gone are the hard-to-remember letters based on code names and needing to keep a list handy of which letters had a CPUID check and which did not.

원본 게시물의 솔루션 보기

0 포인트
2 응답
TimP
명예로운 기여자 III
651 조회수
Quoting - rase

Steve, you mentioned once that in one of the next major releases of IVF the names (abbreviations) of the compiler options will be more understandable and retainable. Will the options names be changed in IVF 11 already?

The new alternate names are already in the ifort 11 beta version (/QxSSE4.1 and the like, with /QxSSE2 as default). The old names still work, with the exception of the changed option for x87.

0 포인트
Steven_L_Intel1
652 조회수
Quoting - tim18

The new alternate names are already in the ifort 11 beta version (/QxSSE4.1 and the like, with /QxSSE2 as default). The old names still work, with the exception of the changed option for x87.

Almost - and you're not the first to be confused here. The default is /arch:SSE2, not /QxSSE2. The former is equivalent to /QxW and has no CPUID check, whereas the latter is equivalent (I think) to /QxN and has a check.

In version 11, /arch does not check for processor type whereas /Qx does. An interesting exception is /QxHost which looks at the processor type during compilation and selects the best matching /arch or /Qx switch, for both Intel and non-Intel processors.

Gone are the hard-to-remember letters based on code names and needing to keep a list handy of which letters had a CPUID check and which did not.

0 포인트
응답