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

How i can speed up my fortran code

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 20, 2003, 19: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, 23: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, 03: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, 03: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, 09: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, 12: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

Thread Tools
Display Modes

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 On
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 5 March 6, 2014 01:54
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 11: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 19:16.