PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

trouble in installing PGI 6.0-5 onto existing 6.0 CDK

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



Joined: 13 Sep 2005
Posts: 2

PostPosted: Mon Oct 03, 2005 10:38 am    Post subject: trouble in installing PGI 6.0-5 onto existing 6.0 CDK Reply with quote

Hi,
I have some weird difficulty in reinstalling
the newer compiler 6.0-5 onto an existing x86-64
installation of PGI CDK with 6.0-2 compiler.
As described in the installation notes,
I untar the downloaded file in some /tmp
directory, then I specify the actual installation
directory to the install script (running as root).
Unfortunately, the script stops with the following error:

Code:

Installation directory? [/usr/pgi]
/Software/opt/pgi

ERROR: cannot install products in same directory as unpacked ftp tarfile
Exiting...


Looking at the checks performed by the install script,
it appears that comparisons with $PGI/common
subdirs are made, although I do not feel confortable
in modifying the script myself.
Any hint regarding what to do ? Workarounds ?

Many TIA

--
cmn
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Oct 03, 2005 1:17 pm    Post subject: Reply with quote

Here's the offending code from the install script.
Code:

# The subdirectory named common will not exist in an installation.

if test -d "$INSTALL_DIR/common" -a -d "`pwd`/common"; then
  echo 'ERROR: cannot install products in same directory as unpacked ftp tarfile
'
  quit
fi


There should be no 'common' directory anywhere in a correctly installed PGI software tree, and that is why the error message is there. You can comment the check out if you want, but we're not sure why /Software/opt/pgi/common exists and what is in it. The directory should not be there.

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



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

PostPosted: Mon Oct 03, 2005 2:18 pm    Post subject: Reply with quote

Another option would be to:

1. install the work-station product in some area
like /tmp/tmp-pgi

2. Once 6.0-5 has been installed in /tmp/tmp-pgi
tar up the install area, and untar in the
CDK area

cd /tmp/tmp-pgi
tar cvf /tmp/pgi605.tar linux86 linux86-64

cd /Software/opt/pgi
tar xvf /tmp/pgi605.tar

This will update only the compiler parts in the CDK installation.

- 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