PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

pgf90 suffix error

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



Joined: 06 Oct 2004
Posts: 3

PostPosted: Wed Oct 06, 2004 7:33 am    Post subject: pgf90 suffix error Reply with quote

I'm trying to compile a Fortran file with pgf90, and I keep getting this error:

Code:

pgf90-Error-file with unknown suffix ignored:
/tmp/httmp/bburg/junk.7716/cat-drf96xdr_2_bbwxxdr.f


The man page says that pgf90 will recognize the extension .f, and will compile it. This is the pgf90 that comes with version 5.2-2.

Actually, the pgf90 executable won't recognize -V as a valid switch.

pgcc compiles just fine, and recognizes -V, so I got the version number from that.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Wed Oct 06, 2004 8:23 am    Post subject: Install issue? Reply with quote

Sounds like a problem with the installation or configuration of pgf90 since "-V" should work fine as well as the recognition of ".f". When "-V" is used, the compiler driver (pgf90) is actually restarted since you could use "-V5.1" which would use the 5.1 compilers (if installed). So if "-V" doesn't work, it's most likely that it can't find pgf90 in the location it was orginally installed. Try running the following commands and please post the output.
Code:
which pgcc
which pgf90
pgf90 -dryrun x.f


Thanks,
Mat
Back to top
View user's profile
frankv



Joined: 06 Oct 2004
Posts: 3

PostPosted: Wed Oct 06, 2004 9:08 am    Post subject: Reply with quote

It was a problem with configuration, as you said.

I had wanted to work around having to change each user's .login by linking everything in the pgi bin directory to /usr/local/bin, but that didn't work.

It was a path problem.

Thanks for your help.
Back to top
View user's profile
mwolfe



Joined: 13 Jul 2004
Posts: 20

PostPosted: Fri Oct 08, 2004 2:58 pm    Post subject: Reply with quote

Symbolic links from /usr/local/bin/pgxxx to $PGI/..../bin/pgxxx should work; you should only need to link the executables (pgf90, pgf77, pgcc, pgCC). Particularly, you don't want to link the rcfiles.
Back to top
View user's profile
dmpogo



Joined: 11 Aug 2004
Posts: 7

PostPosted: Mon Oct 11, 2004 6:49 pm    Post subject: Reply with quote

symlinks to /usr/local/bin of the executables work fine for me.
However I have also set the global variables

PGI=/usr/local/pgi
LM_LICENSE_FILE=pathtothelicensefile

and an addition to MANPATH
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