|
[Sponsors] |
December 20, 2003, 18:32 |
How i can speed up my fortran code
|
#1 |
Guest
Posts: n/a
|
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.
|
|
December 20, 2003, 22:55 |
Re: How i can speed up my fortran code
|
#2 |
Guest
Posts: n/a
|
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.
|
|
December 21, 2003, 02:08 |
Re: How i can speed up my fortran code
|
#3 |
Guest
Posts: n/a
|
Thanks peter .
|
|
December 21, 2003, 02:09 |
Re: How i can speed up my fortran code
|
#4 |
Guest
Posts: n/a
|
Thanks peter Altar.
|
|
December 22, 2003, 08:38 |
Re: How i can speed up my fortran code
|
#5 |
Guest
Posts: n/a
|
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.
|
|
December 22, 2003, 11:55 |
Re: How i can speed up my fortran code
|
#6 |
Guest
Posts: n/a
|
and....
It sounds obvious, but it's a common mistake. Make absolutely sure you've not got debugging or profiling activated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SIMPLE (or SIMPLER) fortran code | Francesco Di Maio | Main CFD Forum | 6 | January 18, 2017 04:59 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
fortran program code | jangolobow | Main CFD Forum | 0 | July 11, 2009 05:28 |
Best Code for User Fortran | worth | Main CFD Forum | 4 | November 14, 2003 10:21 |
I need help for parallalising of fortran code | Mahibooswami | Main CFD Forum | 5 | June 11, 2003 07:54 |