How i can speed up my fortran code
Any help would be appreciated I would like to speedup my fortran 90 code execution, can i do something in build setting to reduce the execution time?. cfd student.
|
Re: How i can speed up my fortran code
A lot of things can be done..depending on your compiler you can set compiler flags so as to see where your bottleneck is..ie which routines are taking up most of the execution time. Then you can concentrate on making those routines faster. Also you can play around with compiler flags which can be used to optimize the code for speed.
|
Re: How i can speed up my fortran code
Thanks peter .
|
Re: How i can speed up my fortran code
Thanks peter Altar.
|
Re: How i can speed up my fortran code
Use some optimization flags like -O or -O2. Many of the optimization flags are not recommended for numerical computations. Read the fortan manpage for more info.
|
Re: How i can speed up my fortran code
and....
It sounds obvious, but it's a common mistake. Make absolutely sure you've not got debugging or profiling activated. |
All times are GMT -4. The time now is 12:13. |