PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Which optimization should I use?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Forum Administrator



Joined: 09 Jul 2004
Posts: 61
Location: Lake Oswego, OR

PostPosted: Fri Jul 16, 2004 1:30 pm    Post subject: Which optimization should I use? Reply with quote

I need to get a Fortran program running at peak performance. I don't know much about the program and even less about Fortran so I have no clue what optimization I should use. Can you give me a few ideas on which ones I should to try?
Back to top
View user's profile
mleair



Joined: 19 Jul 2004
Posts: 67
Location: Portland Group

PostPosted: Wed Jul 28, 2004 8:26 am    Post subject: Re: Optimization Reply with quote

Hi,

I recommend that you refer to Chapter 2 Optimization and Paralleization in the 5.2 PGI User's Guide. Specifically, you will want to pay attention to section 2.2, Getting Started with Optimizations. In this section, it mentions that the first important part of all program development is getting it to run correctly. So, it recommends that you start out with minimal or no optimization (use -g or -O0 compiler options). It also says that if you want to get started quickly, a good optimization to use with any PGI compiler is the -fastsse option. Below is a link to the PGI User's Guide:

http://www.pgroup.com/doc/pgiug.pdf

-Mark
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group