PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

install problem - Centos5.2

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
young@knu.ac.kr



Joined: 19 Sep 2008
Posts: 1

PostPosted: Sun Oct 19, 2008 11:43 pm    Post subject: install problem - Centos5.2 Reply with quote

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
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Oct 20, 2008 2:37 pm    Post subject: Reply with quote

Hi young@knu.ac.kr,

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

- Mat
Back to top
View user's profile
matei



Joined: 10 Apr 2009
Posts: 7

PostPosted: Thu Apr 23, 2009 10:20 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Apr 24, 2009 8:19 am    Post subject: Reply with quote

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):
Code:
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
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