PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgf77 says I need to run makelocalrc

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
ffrancis



Joined: 04 Sep 2007
Posts: 1

PostPosted: Tue Sep 04, 2007 12:48 pm    Post subject: pgf77 says I need to run makelocalrc Reply with quote

I have followed the install instructions carefully, and gotten lmgrd to run, but when I try to test run the compiler, I get a message telling me to run makelocalrc , but I've already run it!

pgf77-Error-Please run makelocalrc to complete your installation

when I ran makelocalrc after the install, I got a message saying:

localrc.localhost has not changed

Admittedly, I ran the install more than once, and changed the location of the shared files when I ran the install the second time. I removed the original install directory before I ran the re-install.

I couldn't find ANYTHING here about how to uninstall. Does the install script change files anywhere other than the install directory? Please help.

Thanks,

~~fred francis
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Sep 05, 2007 11:17 am    Post subject: Reply with quote

Hi Fred,

I'm assuming you chose a "network" install? In this case, you need to run makelocalrc on each system that will use the shared compiler installation. Please see step 7 located in chapter 2.3.2 "Installation Steps for Linux" of the PGI 7.0 Release Notes.

Quote:
Does the install script change files anywhere other than the install directory?

No.

Hope this helps,
Mat
Back to top
View user's profile
Ryan Glover



Joined: 10 Aug 2007
Posts: 4

PostPosted: Fri Oct 19, 2007 2:39 pm    Post subject: Re: pgf77 says I need to run makelocalrc Reply with quote

ffrancis wrote:

pgf77-Error-Please run makelocalrc to complete your installation


I have this exact same problem and I am doing a non-network install. Is makelocalrc run behind the scenes at the end of a local install? I am running ubuntu 7.10 and I know there are some quirks that need to be addressed (sh-> dash, libc6 from build-essentials).

How do I run makelocalrc on my own, what am I telling it to do?

Thanks,
Rg
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Fri Oct 19, 2007 3:27 pm    Post subject: Reply with quote

Hi Ryan,

makelocalrc is run during installation. There could be some error during the run. makelocalrc creates localrc's in bin directories to tell the compilers where the system include files, linker, etc. are.

Assuming you install in /opt/pgi and using 7.1-1.

Use command:
/opt/pgi/linux86-64/7.1-1/bin/makelocalrc -x /opt/pgi/linux86-64/7.1-1
/opt/pgi/linux86/7.1-1/bin/makelocalrc -x /opt/pgi/linux86/7.1-1/

As we have not tested on Ubantu, there might be some error with shell script.
Somebody in this user forum claims that #!/bin/sh should be changed to #!/bin/bash in makelocalrc.


Hongyon
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
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