install problem - Centos5.2

this is my install step


1)/tmp/pgi/pgilinux-725[1].tar.gz
2)./install
a) accept
b) Please choose install option(1-2): 2
c) Install the ACML? [y/n] y
d) accept
e) /opt/pgi
f) /usr/pgi/7.2-5/share_objects

#####################################
g) Do you wish to install MPICH1?(y/n) y
h) Remote execution method? [rsh,ssh] ssh
i) Do you want the files in the install directory to be read-only? [y,n] n


######################################
after installaiton i got this message.

FLEXnet hostid: 00151760ab7c
Hostname: canopy.knu.ac.kr
Installation: /opt/pgi
PGI Release: 7.2-5

#######################################

/opt/pgi/linux86-64/7.2/bin

a) [root@canopy bin]# ./lmutil lmhostid
lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
The FLEXnet host ID of this machine is “00151760ab7c”
b) [root@canopy bin]# ./lmutil lmhostid -hostname
lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
The FLEXnet host ID of this machine is “HOSTNAME=canopy.knu.ac.kr”

#######################################

get the license.dat file in pgi- homepage.
!----------------------------------------------------------------------
SERVER HOSTNAME=canopy.knu.ac.kr 00151760ab7c 27000
DAEMON pgroupd
PACKAGE pgi72-workstation-fortran pgroupd 7.2 37C18E6E92D8
----------------------------------etc…
!-----------------------------------------------------------------


##################################################
i move the license.dat file into /opt/pgi ###################################################

[root@canopy pgi]# pwd
/opt/pgi
[root@canopy pgi]# PATH=/opt/pgi/linux86-64/7.2/bin:$PATH
[root@canopy pgi]# export PATH
[root@canopy pgi]# MANPATH=$MANPATH:/opt/pgi/linux86-64/7.2/man
[root@canopy pgi]# export MANPATH
[root@canopy pgi]# LM_LICENSE_FILE=/opt/pgi/license.dat
[root@canopy pgi]# export LM_LICENSE_FILE
######################################################
and …
/opt/pgi/linux86-64/7.2/bin
[root@canopy bin]# ./lmgrd.rc start

##################################################
i make a file to examime
aaa.f90

/opt/pgi/linux86-64/7.2/bin
[root@canopy bin]# ./pgf90 aaa.f90

pgf90-Error-Please run makelocalrc to complete your installation




#-------------------------------------------------
[root@canopy bin]# cp /opt/pgi/linux86-64/7.2/bin/lmgrd.rc /etc/init.d/lmgrd
[root@canopy bin]# /sbin/runlevel
N 5
[root@canopy bin]# ln -s /etc/init.d/lmgrd /etc/rc.d/rc5.d/S90lmgrd


[root@canopy share_objects]# /opt/pgi/linux86-64/7.2/bin/makelocalrc -x /opt/pgi/linux86-64/7.2 -net /usr/pgi/7.2-5/share_objects
ERROR: gcc not found;
successful use of compilers requires existence of gcc libraries


#####################################################
[hjyim@canopy bin]$ ./pgf90 aaa.f90
pgf90-Error-Please run makelocalrc to complete your installation


how can i solve this problme.T^T

Hi young@knu.ac.kr,

You need to install the GCC development packages found on your CentOS media.

  • Mat

hi Mat,

i have a very similar question (since i could not get a fully working executable with my previous code using PGI7.2, i went back to version 6.1).

My question is, can makelocalrc (i receive the same error as the initial poster) be edited so that it includes compatible gcc libraries or does the CentOS version need to be downgraded since the latest release may not have the elder GCC development packages necessary for PGI 6.1?

Hi matei,

Sure. Granted it’s not a ‘supported’ configuration since we haven’t tested it, but it should work. I haven’t seen any OS compatibility issues since Red Hat 7.3.

In the section where makelocalrc tests which version of glibc you have, add the following case (from our 8.0 makelocalrc):

2.* )
  echo "Unknown glibc version ($GLIBC_VERSION); treating like 2.4"
  glibc=232
  LIB=lib-linux86-g232
  LIBLF=$LIB-lf
  INC=include-g23
  ;;

Hope this helps,
Mat