PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

installing 12.8 on redhat enterprise 6.3

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



Joined: 04 Aug 2011
Posts: 28

PostPosted: Fri Sep 07, 2012 3:24 pm    Post subject: installing 12.8 on redhat enterprise 6.3 Reply with quote

I unpacked it to a folder in my home directory, did an SU to root. Then ran the install script and accepted all the defaults, accepted everything and did ssh for the MPI install.The problem is it apparently isn't creating the 12.8 folder inside of the /opt/pgi/linux86-64/ folder. All I can find is the 2012 folder in there. Is there some issue with redhat enterprise 6 that could be causing this?

Even if I make the 12.8 folder manually and try to reinstall everything the bin file still isn't created within it and numerous other (but not all) files seem to be missing.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 07, 2012 3:32 pm    Post subject: Reply with quote

Hi vibrantcascade,

Granted, while we don't support RHEL 6.3 yet, this is very odd behaviour. I'll need to try and replicate it to understand what's going on. We're there any error messages during installation?

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



Joined: 30 Jun 2004
Posts: 406

PostPosted: Fri Sep 07, 2012 4:27 pm    Post subject: Failed install on RHEL 6.3 Reply with quote

vib,

Just a sanity check.

1. You downloaded the file pgilinux-2012-128.tar.gz
% md5sum pgilinux-2012-128.tar.gz
62a264d994b8d186885bac41e65bdcc9 pgilinux-2012-128.tar.gz

does the checksum match?

2. You installed as follows
--------------------------------------------------------
a. untar in some area like /tmp/pgi
cp pgilinux-128.tar.gz /tmp/.
cd /tmp; mkdir pgi; cd /tmp/pgi
tar xvf ../pgilinux-128.tar.gz

b. run /tmp/pgi/install
and ask for a 'Single Platform Install', and install
in the destination directory, for example, /opt/pgi

c. Set up your environment
setenv PGI /opt/pgi
set path=($PGI/linux86/12.8/bin $path) ! for 32-bit by default
set path=($PGI/linux86-64/12.8/bin $path) ! for 64-bit by default
setenv LM_LICENSE_FILE $PGI/license.dat

or in bash

export PGI=/opt/pgi
export PATH=$PGI/linux86/12.8/bin:$PATH ! for 32-bit
export PATH=$PGI/linux86-64/12.8/bin:$PATH ! for 64-bit
export LM_LICENSE_FILE=$PGI/license.dat

d. Store your trial license as $PGI/license.dat and run the compilers,
or store your permanent license as $PGI/license.dat, run
% lmgrd.rc start
and then run the compilers.
---------------------------------------------------------------------------------

regards,
dave
Back to top
View user's profile
vibrantcascade



Joined: 04 Aug 2011
Posts: 28

PostPosted: Fri Sep 14, 2012 10:49 am    Post subject: Reply with quote

Hmm it appears that using the gui method to extract the tar by double clicking was causing problems, while the command line un-tar works fine. I never really thought there was a difference. Thanks for the guide jtull!

It mostly appears to be working now. I ran into 1 error I'm slightly worried about below. I'm doing only fortran programming and the license I have is for fortran+accelerator. So does not having g++ installed prior to installing the compiler break anything I'll need or is that for pgi c++ only?


Installing software into /opt/pgi (this may take some time).
#################################

ERROR: g++ not found;
successful use of c++ compilers requires existence of g++ libraries






Also, I'm assuming this error is harmless and just there because I already did some partial installs before it fully worked this time?



See the files /opt/pgi/linux86-64/12.8/mpi.csh[,.sh]
for examples of how to set your environment to run and debug MPI programs.

ln: creating symbolic link `./mpi': File exists
ln: creating symbolic link `./mpi': File exists


Thanks!
Morgan
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 14, 2012 3:35 pm    Post subject: Reply with quote

Hi Morgan,

Quote:
So does not having g++ installed prior to installing the compiler break anything I'll need or is that for pgi c++ only?
Correct, pgcpp needs some g++ system headers and libraries but Fortran doesn't need them so your fine.


Quote:
Also, I'm assuming this error is harmless and just there because I already did some partial installs before it fully worked this time?
Correct. The local "mpi" directory is a link to the common "2012/mpi" directory. This is just a complaint that the link already exists.

- 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