PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Problem with Execution and switches
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
dharman



Joined: 09 Jan 2006
Posts: 4

PostPosted: Tue Jan 10, 2006 10:19 am    Post subject: Problem with Execution and switches Reply with quote

I am using SUSE 10.0 and PGI 6.1. The steps for the installation wew followed as discribed in the documentation. However, i can not get past the following errors.

linux:/local/CODE # pgf90 -dryrun x.f
Reading rcfile /usr/pgi/linux86/6.1/bin/pgf90rc
Reading rcfile /usr/pgi/linux86/6.1/bin/pgftnrc
pgf90-Error-file with unknown suffix ignored: x.f
linux:/local/CODE # pgf90 -fast -v -o CALMETND CALMETND.F
pgf90-Warning-Unknown switch: -fast
pgf90-Warning-Unknown switch: -v
pgf90-Warning-Unknown switch: -o
pgf90-Error-file with unknown suffix ignored: CALMETND
pgf90-Error-file with unknown suffix ignored: CALMETND.F
linux:/local/CODE #

the shell uses bash. any suggestions??
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jan 10, 2006 3:57 pm    Post subject: Reply with quote

Hi dharman,

Your install most likely failed for some reason. Can you look at your install log or try installing again? Note that if you are on a 64-bit system and the 32-bit GCC compatability libraries are not installed, the PGI 32-bit compilers won't be installed.

- Mat
Back to top
View user's profile
dharman



Joined: 09 Jan 2006
Posts: 4

PostPosted: Thu Jan 12, 2006 6:22 am    Post subject: Installation Reply with quote

Since my last post I have run three fresh Linux and compiler installs to ensure no artifacts were left over. I have learned there is a "makelocalrc" that must be run. Here is the latest message i get and have not found any reference to error:

dohm-linux:/local/CalmetTest/CODE # pgf90 -fast -v -o CALMETND CALMETND.F
pgf90-Error-Required tool as was not found
pgf90... looked for as at /usr/pgi/linux86-64/6.1/bin/as
pgf90-Error-Required tool ld was not found
pgf90... looked for ld at /usr/pgi/linux86-64/6.1/bin/ld

i have tried this on both 32- and 64-bit systems and received the same results.
Back to top
View user's profile
dharman



Joined: 09 Jan 2006
Posts: 4

PostPosted: Thu Jan 12, 2006 6:26 am    Post subject: Installation Reply with quote

Here is and info line received from the makelocalrc:

dohm-linux:/usr/pgi/linux86-64/6.1/bin # makelocalrc -x /usr/pgi/linux86-64/6.1
WARNING: g77 not found; this may cause problems during use
[/quote]
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jan 12, 2006 10:26 am    Post subject: Reply with quote

Hi dharman,

It appears that you've gotten things to install correctly but need to set your your configuration to append "$PATH" your PATH environment variable.

Examples:
Code:
   set up your configuration.
   setenv PGI /usr/pgi
   set path=($PGI/linux86/6.1/bin $path)      ! for 32-bit by default
   set path=($PGI/linux86-64/6.1/bin $path)   ! for 64-bit by default
   setenv LM_LICENSE_FILE $PGI/license.dat

   or in bash

   export PGI=/usr/pgi
   export PATH=$PGI/linux86/6.1/bin:$PATH     ! for 32-bit
   export PATH=$PGI/linux86-64/6.1/bin:$PATH  ! for 64-bit
   export LM_LICENSE_FILE=$PGI/license.dat


The makelocalrc warning only means that you may have problems interoperating with g77 and using the "-g77libs" flag since you do not have g77 installed or the installer can't find your installation.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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