Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
 
Thread Tools  Search this thread 
cria_ro@yahoo.com
May 12, 2008 2:34 AM PDT
Intel command line flags
    Hello,

Which flags are recommended for the q9xx processors in order to take advantage of all capabilities in fortran?

There was no difference when I used  /03 /QxT or /O3 /QxS.

What does /fast mean on 10.x fortran compilers?


Cristian
tim18
Total Points: 26797
Status Points: 26297
Brown Belt
May 12, 2008 6:52 AM PDT
Rate
 
#1

/QxS specifies generation of code for Penryn family CPUs only.  There are a few cases where it is possible to vectorize effectively with /QxS but not /QxT, but I'm not surprised you didn't see a difference.  /fast would set /O3 /Qipo /QxT. /QxT is unlikely to show any difference from /QxP or /QxO, which cover a wider range of CPUs.

The section on optimization in the Windows .chm help file recommends comparison of performance among default (/O2), /O1, /O3, and /fast.  Depending on the application, any of those could prove best.  In real applications, it may be necessary to set /Qprec-div /Qprec-sqrt /assume:protect_parens to avoid errors; the Penryn family processors are unlikely to lose performance with those options.

Steve Lionel (Intel)
Total Points: 52302
Status Points: 52302
Black Belt
May 12, 2008 7:07 AM PDT
Rate
 
#2 Reply to #1
cria_ro@yahoo.com
May 12, 2008 12:48 PM PDT
Rate
 
#3
    Hello,

Thank you for your answers. I will test all those options. The FAQ on Intel specific processors switches is quite clear. Those swithces for avoiding the errors, are they specific to intel compilers or do they appear in general at fortran compilers?

Cristian
Steve Lionel (Intel)
Total Points: 52302
Status Points: 52302
Black Belt
May 12, 2008 3:41 PM PDT
Rate
 
#4 Reply to #3
All switches are compiler-specific. You may or may not find similar-function switches with other compilers.

Forum Statistics

4488 users have contributed to 24040 threads and 70114 posts to date.
In the past 24 hours, we have 22 new thread(s) 111 new posts(s), and 143 new user(s).

In the past 3 days, the most popular thread for everyone has been IVF 11.0 and VS2008 The most posts were made to IVF 11.0 and VS2008 The post with the most views is Leigh, Have you built this fo

Please welcome our newest member janet.p.simpsonnasa.gov