FIX for PGF77 3.0 problems on Red Hat Linux 6

Note: there are two entries for this item.


Entry 1

Portland Group has released a set of patches for the pgf77 problem (Helpdesk item 1999 09 14 ) with Red Hat Linux 6. The patches are available from:

http://www.pgroup.com/downloads/rh6patches.html

Thanks to Neil Laird (UIUC) for providing this information.


Entry 2

Here is some additional information, provided by Joe Paris at Argonne.

From: "Joe Paris" 
To: 
Subject: FW: Tech issues
Date: Wed, 22 Sep 1999 16:50:01 -0500


-----Original Message-----
From: Dave Borer [mailto:tull@pgroup.com]
Sent: Wednesday, September 08, 1999 11:50 AM
To: paris@mcs.anl.gov
Cc: trs@pgroup.com
Subject: Re: Tech issues


Joe,


   If you have 3.0 compilers and Red Hat 6.0 Linux
(the 1.7 compilers are not supported on RH 6),
you  need the following changes, where appropriate:

save a copy of $PGI/linux86/lib/libpgnod_prof.a
save a copy of $PGI/linux86/lib/libpgc.a

ftp ftp.pgroup.com/x86/linux86-patches/rh6/libpgc.a.gz
ftp ftp.pgroup.com/x86/linux86-patches/rh6/libpgnod_prof.a.gz
gunzip libpgc.a.gz
  and copy the new libpgc.a to $PGI/linux86/lib
gunzip libpgnod_prof.a.gz
  and copy the new libpgnod_prof.a to $PGI/linux86/lib

============================================================
if you have pgCC, you will also need to

save a copy of $PGI/linux86/lib/libstd.a
save a copy of $PGI/linux86/lib/libC.a

ftp ftp.pgroup.com/x86/linux86-patches/rh6/libstd.a.gz
ftp ftp.pgroup.com/x86/linux86-patches/rh6/libC.a.gz
gunzip libstd.a.gz
  and copy the new libstd.a to $PGI/linux86/lib
gunzip libC.a.gz
  and copy the new libC.a to $PGI/linux86/lib

============================================================

if you have pghpf, you will also need to

save a copy of $PGI/linux86/lib/libpghpf_prof.a

ftp ftp.pgroup.com/x86/linux86-patches/rh6/libpghpf_prof.a.gz
gunzip libpghpf_prof.a.gz
  and copy the new libpghpf_prof.a to $PGI/linux86/lib

============================================================
In addition, if you use -mp or -Mconcur, there is an additional
consideration.

  With Red Hat 6, our version of libpthread.a does not work,
but the standard Red Hat version does.

  As a workaround, we suggest renaming $PGI/linux86/lib/libpthread.a
to something like $PGI/linux86/lib/libpthread.a-old.
This should work by now linking in the standard RH 6 version,
except in cases where the stack size needed is larger than
the RH 6 version provides. We are working on a PGI version
of libpthread.a for next release with larger stacks.

=============================================================

If you need to reinstall the compilers, make sure your gnu
env is correct because the installation script uses it to set the
gcc libs pointers your pgi compile session will use. Also, the
patches above will need to be reapplied.

Compilers ought to be reinstalled if the OS has been changed
since the compilers were installed.

This info is also available at www.pgroup.com/downloads under
the hyperlink titled 'Redhat 6.0 Patches'


regards,
dave


----- Begin Included Message -----

>Jeannie,
>
>this is a tech issue/problem, could you please refer this to a tech person.
>
>We are receiving the following errors on a rh6.0 system.
>I'm not sure what may be causing the problem other than libc issues.
>Any ideas are welcome.
>
>--Thanks
>	Joe
>
>pgf77 x.f -o foo.o
>Linking:
>/usr/pgi/linux86/lib/pgfmain.o: In function `main':
>/usr/pgi/linux86/lib/pgfmain.o(.text+0x4f): undefined reference to `MAIN_'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `__stat':
>pgstdinit.o(.text+0x2c): undefined reference to `_xstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `stat':
>pgstdinit.o(.text+0x5c): undefined reference to `_xstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `__lstat':
>pgstdinit.o(.text+0x8c): undefined reference to `_lxstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `lstat':
>pgstdinit.o(.text+0xbc): undefined reference to `_lxstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `__fstat':
>pgstdinit.o(.text+0xec): undefined reference to `_fxstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `fstat':
>pgstdinit.o(.text+0x11c): undefined reference to `_fxstat'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `__mknod':
>pgstdinit.o(.text+0x156): undefined reference to `_xmknod'
>/usr/pgi/linux86/lib/libpgc.a(pgstdinit.o): In function `mknod':
>pgstdinit.o(.text+0x196): undefined reference to `_xmknod'




----- End Included Message -----


-Rotang, September 22, 1999