Upgrading The Portland Group Inc. (PGI) compilers

The cluster has an academic "Workstation" license for the PGI FORTRAN, C/C++ compilers. A "Workstation" license can only be used on one computer. At the moment the compilers are installed on gorgon. A three year annual maintenance agreement was included when the cluster was delivered. We are entitled to free upgrades during the period of annual maintenance agreement. The latest version of the compilers can be downloaded from the PGI Web site: https://www.pgroup.com/support/downloads.php. Installation instructions are included in the downloaded file. To use the newly installed version there are two requirements relating to the licensing system.

  1. Generate and install new license keys
  2. Launch the new version of the FLEXlm service daemon that allows different users to access the compilers.

License keys can be generated by logging on to the PGI Web site at the following URL: https://www.pgroup.com/support/keylogin.htm. Our username and password are as follows:
Username: dab@mailNOSPAMPLEASE.nerc-essc.ac.uk (old username = pn513114)
Password: 5Z7jBXM1

The PIN code for PIN 513114 is 7912-9146-5941-3936

Note that the login and license key generation system changed in 2008. The old account details are as follows; we may still need them.
Username = pn513114
Password: Baby=14

The existing license keys first have to be deleted on the system before new keys can be generated. The new keys for the new compiler version will work with older versions of the compilers still installed on gorgon. Users are invited to register for an account on the PGI Web site before generating license keys. This account is only for the Web site, and is separate from the compiler license account described above. There are two options for generating keys, FLEXlm-style and PGI-style. FLEXlm-style is one we need, which allows any cluster user to access the compiler. You will be asked to enter a host name and the FLEXlm host ID for that host. These are used to restrict use of the compilers to one specific host. To find the FLEXlm host ID for a particular host, log on to that host and enter the command " lmutil lmhostid ". The FLEXlm host ID for gorgon is 00304876af92. When the license keys have been generated, copy and paste them into the file /usr/local/Cluster-Config/licenses/pgi/license.dat, overwriting any existing keys relating to previous versions.

To launch the new version of the FLEXlm license manager daemon, three paths in the launch script for the license manager service must be updated. The path to this script is /etc/init.d/lmgrd. The paths that need to be updated refer to the location of the PGI compilers and the license manager binaries. Restart the license manager using the command /etc/init.d/lmgrd restart. The license manager daemon must be running on the host specified in the license keys file. After a few minutes, check that the new version is running with command ps ux | grep lmgrd. The path to the lmgrd executable should be clearly shown in the process listing. All installed versions of the compilers should now be ready for use.

-- DanBretherton - 17 Jul 2009

Topic revision: r3 - 29 Jul 2010 - 10:48:14 - DanBretherton
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback