Portland Group notes
PORTLAND GROUP
The version we have purchased is: PGI Accelerator Fortran/C/C++ Workstation for Linux
- Go to pgroup.com and login
- Click on Manage PGI Products
- Create Permanent license keys
(If one already exists then submit deletion request) The PGI Pin no. in license.dat is: “VENDOR_STRING=5XXXXXX”
- Get the tarball from the website.
PGI runs on port 27000. Make sure this port is open on the machine you are installing on.
In /nfs/software/pgi: mkdir version_number cd version_number mkdir tmp
vim env.csh setenv PGI /nfs/software/pgi/v12_10 setenv MANPATH "$MANPATH":$PGI/linux86/12.10/man setenv LM_LICENSE_FILE $PGI/license.dat set path = ($PGI/linux86/12.10/bin $path)
vim env.sh PGI=/nfs/software/pgi/v12_10; export PGI MANPATH=$MANPATH:$PGI/linux86/12.10/man export MANPATH LM_LICENSE_FILE=$PGI/license.dat export LM_LICENSE_FILE PATH=$PGI/linux86/12.10/bin:$PATH export PATH
vim MPICH_env #To access the MPICH commands, execute this command line: set path = ($PGI/linux86/12.10/mpi/mpich/bin $path) #To access the MPICH man pages, execute this command line: setenv MANPATH "$MANPATH":$PGI/linux86/12.10/mpi/mpich/man PATH=$PGI/linux86/12.10/mpi/mpich/bin:$PATH export PATH MANPATH= $MANPATH:$PGI/linux86/12.10/mpi/mpich/man export MANPATH
Move the tarball to the tmp directory you created.
cd tmp tar -xvpf pgilinux-2012-1210.tar.gz ./install
Choose single system install Install directory is /nfs/software/pgi/v12_10
- Install the ACML? y
- 1 for the default
- Install CUDA Toolkit Components? y
- Install JAVA JRE 6.0_21? yes
- Do you wish to update/create links in the 2012 directory? y
- Do you wish to install MPICH1? y
- Remote execution method? ssh
- Do you wish to generate license keys? yes
If this computer is behind a firewall at your site, please make sure it can access the Internet.
1 Generate a license key for this computer 2 Configure and start a license server on this computer 3 All of the above 4 I'm not sure (quit now and re-run this script later,)
What do you want to do? 3
The PGI license tool can be re-started by running the script located at /nfs/software/pgi/v12_10/linux86-64/12.10/bin/pgi_license_tool.
Do you want the files in the install directory to be read-only? (y/n) n
Installation complete.
Then I went to pgroup.com and generated the license key online. Then I copied and pasted the key in the file (that I created): /nfs/software/pgi/v12_10/license.dat
Then I ran the script /nfs/software/pgi/v12_10/linux86-64/12.10/bin/pgi_license_tool.
Should license services start when the system boots? (y/n) y
./pgi_license_tool: line 778: /nfs/software/pgi/v12_10/license.script: Permission denied
Since you are not the root user, the commands to configure and start a license daemon on this computer have been saved to the file located at /nfs/software/pgi/v12_10/license.script
Then as root I ran all the things in license.script
I ran into problems with the license server because flexlm identifies ifcfg-eth0 ‘s mac address as the hostid. This is problem if you don’t have an eth0. What I had to do was create ifcfg-eth0, move the existing ifcfg-em2 (and ifcfg-brem2) to like backup.ifcfg-em2. Then I had to restart the machine.
Then as root I re-ran all the things again in license.script and checked the flexlm.log to see that it had started okay.