Difference between revisions of "PGI: Installing the compilers"

From Define Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
= Installing PGI components ==
 +
 
In order to download the PGI compilers:
 
In order to download the PGI compilers:
 
# Subscribe and login to PGI
 
# Subscribe and login to PGI
Line 12: Line 14:
 
# Go to ''Create Permanent keys'' or ''Create trial keys'' (14 days)
 
# Go to ''Create Permanent keys'' or ''Create trial keys'' (14 days)
 
# A licence.dat file will be downloaded, which needs to be copied in /opt/pgi (or whichever was the root installation directory)
 
# A licence.dat file will be downloaded, which needs to be copied in /opt/pgi (or whichever was the root installation directory)
 +
 +
= Using PGI components =
 +
 +
In order to use the installed PGI compilers just load the created modulefile:
 +
 +
module load /opt/pgi/modulefiles/pgi64/14.10

Revision as of 11:58, 19 December 2014

Installing PGI components =

In order to download the PGI compilers:

  1. Subscribe and login to PGI
  2. Find and download the required software from http://www.pgroup.com/support/download_pgi2014.php?view=current
  3. Untar the downloaded file and cd into the directory
  4. Run:
./install

Note 1: During installation install the CUDA/AMD components if the OpenACC library is to be used.

Note 2: Don't generate a licence key. Instead:

  1. Go into your PGI account
  2. Go to Create Permanent keys or Create trial keys (14 days)
  3. A licence.dat file will be downloaded, which needs to be copied in /opt/pgi (or whichever was the root installation directory)

Using PGI components

In order to use the installed PGI compilers just load the created modulefile:

module load /opt/pgi/modulefiles/pgi64/14.10