pgf77 says I need to run makelocalrc

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

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.

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

No.

Hope this helps,
Mat

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

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