PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

makelocalrc probelm with Fedora Core 3

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



Joined: 14 Oct 2004
Posts: 1

PostPosted: Mon Nov 15, 2004 9:09 am    Post subject: makelocalrc probelm with Fedora Core 3 Reply with quote

Neither 5.1 or 5.2 will install on Fedora Core 3. The prolem is in the makelocalrc script. You can copy an old localrc and edit it and things appear to be ok but this makelocalrc. It would be nice to fix this script to work on Fedora Core 3.

If you install without looking closely this problem will manifest itself as a I can't find -lgcc or crtbegin.o when you try to link a code.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 16, 2004 9:24 am    Post subject: Reply with quote

We actually get this type of questions a lot. The basic answer is that we only support and validate the systems listed at http://www.pgroup.com/support/install.htm#release_info. For systems that are similar to one of the supported systems, similar meaning that they have the same kernel and glibc, more often than not the installer will also be able to install on these systems. However, when a major change to the kernel and/or glibc occurs, then traditionally we will only be able to support this new OS with the next compiler release.

We are in the process of installing Fedora Core 3 for internal testing. I'll investigate in the coming weeks if it's possible to adjust the installation to have the compilers work on Fedora Core 3, or if the glibc has changed too much to be compatible with 5.2.

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



Joined: 27 Jul 2004
Posts: 5

PostPosted: Sat Jan 29, 2005 11:10 am    Post subject: Fix for Fedora Core 3 Reply with quote

The problem is that the makelocalrc script isn't finding the g77/gcc 3.4
compiler installation. The directory naming scheme changed. So I
made the match pattern less restrictive in makelocalrc:
Code:
--- /usr/pgi/linux86/5.2/bin/makelocalrc_orig
+++ /usr/pgi/linux86/5.2/bin/makelocalrc
 
 get_specs_file() {
     # This command pipeline should be I18N-capable.
-    x=`awk '/gcc-lib.*specs/ {print $NF}' $out`
+    x=`awk '/gcc.*specs/ {print $NF}' $out`
     if test -n "$x" ; then
         SPECSFILE=$x
     else

Then:
Code:
cd $PGI/linux86/5.2/bin
./makelocalrc -x $PGI/linux86/5.2

Hope this helps
Back to top
View user's profile
mwit



Joined: 16 Mar 2005
Posts: 1

PostPosted: Wed Mar 16, 2005 11:15 am    Post subject: Re: Fix for Fedora Core 3 Reply with quote

rda wrote:
The problem is that the makelocalrc script isn't finding the g77/gcc 3.4
compiler installation. The directory naming scheme changed. So I
made the match pattern less restrictive in makelocalrc:
Code:
--- /usr/pgi/linux86/5.2/bin/makelocalrc_orig
+++ /usr/pgi/linux86/5.2/bin/makelocalrc
 
 get_specs_file() {
     # This command pipeline should be I18N-capable.
-    x=`awk '/gcc-lib.*specs/ {print $NF}' $out`
+    x=`awk '/gcc.*specs/ {print $NF}' $out`
     if test -n "$x" ; then
         SPECSFILE=$x
     else

Then:
Code:
cd $PGI/linux86/5.2/bin
./makelocalrc -x $PGI/linux86/5.2

Hope this helps

This is very good hint. It even works with 5.1 PGI version. Thanks a lot.
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