CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How i can speed up my fortran code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2003, 18:32
Default How i can speed up my fortran code
  #1
cfd student
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.
  Reply With Quote

Old   December 20, 2003, 22:55
Default Re: How i can speed up my fortran code
  #2
Peter Attar
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.
  Reply With Quote

Old   December 21, 2003, 02:08
Default Re: How i can speed up my fortran code
  #3
cfd student
Guest
 
Posts: n/a
Thanks peter .
  Reply With Quote

Old   December 21, 2003, 02:09
Default Re: How i can speed up my fortran code
  #4
cfd student
Guest
 
Posts: n/a
Thanks peter Altar.
  Reply With Quote

Old   December 22, 2003, 08:38
Default Re: How i can speed up my fortran code
  #5
Praveen
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.
  Reply With Quote

Old   December 22, 2003, 11:55
Default Re: How i can speed up my fortran code
  #6
Steve
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.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:20.