PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

Error-Unknow switch

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



Joined: 15 Jul 2010
Posts: 2

PostPosted: Thu Jul 15, 2010 2:44 pm    Post subject: Error-Unknow switch Reply with quote

Hi,

I'm trying to build CMAQ on a cluster and am near the end of the build (trying to compile CCTM). Unfortunately the build stalls after giving the following errors:

pgf90-Error-Unknown switch: -extend_source
pgf90-Error-Unknown switch: -vec-report0
pgf90-Error-Unknown switch: -nodefines
pgf90-Error-Unknown switch: -cm
pgf90-Error-Unknown switch: -w95


I'm compiling using Portland Group Fortran Compiler 10.5, and the cluster is running CentOS 4.5.

Any help or insight will be greatly appreciated.

Eric
Back to top
View user's profile
N. Shamsundar



Joined: 20 Apr 2005
Posts: 23

PostPosted: Thu Jul 15, 2010 3:35 pm    Post subject: Reply with quote

The message is self-explanatory. You are choosing compiler options that are not recognized by the PGI compiler.

You appear to be using a makefile configured for the Intel compiler. You either have to select a configuration suited to the PGI compiler, if one is provided in the makefile, or modify the makefile yourself.

Even worse, if there are options that are recognized by both the compilers but with different meanings, you may not get the best executable program, as one aims to produce quite often.
Back to top
View user's profile
erandall



Joined: 15 Jul 2010
Posts: 2

PostPosted: Fri Jul 16, 2010 1:33 pm    Post subject: Thanks Reply with quote

Tried again using Intel Fortan 90 and it worked.

Thanks for the help,
Eric
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