>I've written a code in fortran90. Since my sample is large, my code
>runs slowly.
>I need some flags in order to enter them to Makefile which can be able
>to run the code with higher speed.
Since you are using Intel Fortran (for Linux, I assume), please feel free to
ask your questions in our user forum at:
Another option you can experiment with is -ipo. This needs to be specified
both for compile and for the ifort command that creates the executable. This
has the same effect as combining all the sources as mentioned by Ivan.
An option that can make a significant difference in some applications is
-no-prec-div, which uses a faster method for divides, with the tradeoff of
some accuracy.
I strongly recommend reading the Intel documentation's section on optimizing
applications. It has a lot of good advice.
--
Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH