pgf90 on Fedora Core 6

Hello,

I tried to install pgi6.25,
and I’ve got this error
++++ Unknown glibc version (2.5) ++++
during the installation.
If I compile a test file this is what I obtain

[stortignauz@localhost ~]$ pgf90 test.f90 -o test
pgf90-Error-file with unknown suffix ignored: test.f90
pgf90-Warning-Unknown switch: -o
pgf90-Error-file with unknown suffix ignored: test

Note that I’ve just installed Fedora Core 6,
and searching in this forum I found a similar
problem for Fedora 5 that afterwards have been fixed,

Regards,
Andrea

Hi Andrea,

While we will be adding support for Fedora Core 6 in the near future, it usually takes until the next major or minor release of the PGI to validate the compilers on a new OS. For a complete list of currently supported OS, please refer to http://www.pgroup.com/support/install.htm#release_info.

Thanks,
Mat

i’m having this same problem.

any idea when the next release will come so that FC6 can be used?

thanks…

7.0 won’t be out until early Q1 2007. However, you should be able to work around the installation issue by untaring the installation package, updating the linux86/6.2/bin/makelocalrc and linux86-64/6.2/bin/makelocalrc files (see below), then run “install”. If you’d rather, you can also write to trs@pgroup.com and they’ll send you the updated makelocalrc.

The caveat is that 6.2 does not officially support FC6.

 diff -u makelocalrc makelocalrc_fc6
--- makelocalrc 2006-12-11 15:20:26.447570000 -0800
+++ makelocalrc_fc6     2006-12-11 15:16:42.210664000 -0800
@@ -219,6 +219,12 @@
 get_glibc_version # sets GLIBC_VERSION

 case "$GLIBC_VERSION" in
+2.5* )
+  glibc=232
+  LIB=$base/lib-linux86-g232
+  LIBLF=$LIB-lf
+  INC=$base/include-g23
+  ;;
 2.4* )
   glibc=232
   LIB=$base/lib-linux86-g232

hmmm!

how do i know that i’m running version 2.5 of glibc? i assume if i’m running something even newer i should change the 2.5*) to 2.[whatever]*) ?

Thanks!

how do i know that i’m running version 2.5 of glibc?

To find out what version of glibc your running, use the following command:

% /lib64/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.1 20060928 (Red Hat 4.1.1-28).
Compiled on a Linux 2.6.9 system on 2006-10-08.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.



i assume if i’m running something even newer i should change the 2.5*) to 2.[whatever]*)

This will fix the installer but it’s no guarantee that the compilers will work correctly. However, GNU is usually good about backward compatiabilty on minor releases.

  • Mat

well, i edited the makelocalrc files you referenced, adding a case for GLIBC_VERSION 2.5*.

however, after install, the same problem comes up…

$ cat test.f
program test
print *, ‘hello’
end
$ echo $LM_LICENSE_FILE
/opt/pgi/license.dat
$ echo $PGI
/opt/pgi
$ which pgf90
/opt/pgi/linux86/6.2/bin/pgf90
$ pgf90 test.f
pgf90-Error-file with unknown suffix ignored: test.f

is there an issue with my temp license file? or isit simply that the compilers aren’t compatible?

THANKS!

$ cat $LM_LICENSE_FILE

Please do not change this file until you receive your permanent

license. Modifying this file may cause your temporary license to

fail.

SERVER yoda 0019d10cdcbc 7496
DAEMON pgroupd /opt/pgi/linux86/6.2/bin/pgroupd
FEATURE pghpf-linux86 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgf77-linux86 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgf90-linux86 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgcc-linux86 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgcpp-linux86 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pghpf-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgf77-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgf90-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgcc-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgcpp-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgprof pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgdbg pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48
FEATURE pgdbg-linux86-64 pgroupd 0.0 31-dec-0 0 0
VENDOR_STRING=999999:4:x HOSTID=PGI= ck=48

Hi Matt,

Try rerunning the modified makelocalrc by hand: /opt/pgi/linux86/6.2/bin/makelocalrc -x /opt/pgi/linux86/6.2/

  • Mat