Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

Intel command line flags

Last post 05-12-2008, 2:41 PM by Steve Lionel. 4 replies.
Sort Posts: Previous Next
 05-12-2008, 1:34 AM 30254595  

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
 
 05-12-2008, 5:52 AM 30254605 in reply to 30254595  

Re: Intel command line flags

/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.

 
 05-12-2008, 6:07 AM 30254607 in reply to 30254605  

Re: Intel command line flags

See also our FAQ on Intel processor-specific optimization switches.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-12-2008, 11:48 AM 30254645 in reply to 30254595  

Re: Intel command line flags

    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
 
 05-12-2008, 2:41 PM 30254668 in reply to 30254645  

Re: Intel command line flags

All switches are compiler-specific. You may or may not find similar-function switches with other compilers.

Steve

Doctor Fortran: intel.com/software/drfortran
 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...