Portland Group Inc (PGI) Compilers

PGI compilers are a set of commercially available Fortran compilers for High Performance Computing Systems from Portland Group. This Compilers are installed on Tesla Cluster.

Vendor : Portland Group Inc
Supplier : GT Enterprise, Bangalore, India
Version : 10.4

License :
Type : 2 Perpetual, Network / Floating Licenses
Manager : flexlm
Server : tesla1.serc.iisc.ernet.in

PGI Accelerator Server – Fortran


PGI Server is PGI’s multi-user scientific and engineering compiler and tool bundle for multi-user systems. PGI Server is available on Tesla Cluster in one language version:

PGI Fortran Server – Fortran only includes The Portland Group’s native parallelizing/optimizing FORTRAN 77, Fortran 90/95/03 and HPF compilers for 64-bit x64 processor-based Linux systems.

PGI Accelerator Compiler :-

Beginning with PGI 2010, PGI expanded its product line to include offerings for either x64+GPU or x64 only platforms. “PGI Accelerator” products – the x64+GPU platform products – include support for the directive-based PGI Accelerator programming model and from within the PGI Accelerator Fortran compiler, support for CUDA Fortran. At SERC, the PGI Accelerator compilers are supported on AMD x64 processor-based systems with CUDA-enabled NVIDIA GPUs running Linux.

For more information, you may visit

Environmental Setup

CSH – Shell :

Add the following lines in your .cshrc file
set PATH = (/home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/bin $PATH)
set LD_LIBRARY_PATH = (/home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/lib $LD_LIBRARY_PATH)
To use MPICH,

set PATH = (/home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/2010/mpi/mpich/bin $PATH)
set LD_LIBRARY_PATH = (/home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/2010/mpi/mpich/lib $LD_LIBRARY_PATH)
set PATH = (/home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/bin $PATH)

Run the command source .cshrc

BASH – Shell :-

Add the following lines in your .bashrc file

export PATH = /home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/bin:$PATH
export LD_LIBRARY_PATH = /home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/lib:$LD_LIBRARY_PATH

To use MPICH,export PATH = /home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/2010/mpi/mpich/bin $PATH
export LD_LIBRARY_PATH = /home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/2010/mpi/mpich/lib $LD_LIBRARY_PATH
export PATH = /home/pkg/lic/pgi/pgi-accelerator-server/linux86-64/10.4/bin $PATH

Run the command source .bashrc

Submit PBS Jobs

Portable Batch System(PBS) – Tesla Cluster

PGI Documentation

1.PGI User Guide

2.PGI Tools Guide

3.PGI Fortran Reference Manual

4.PGI CUDA Fortran Programming Guide and Reference

5. PGHPF User Guide

6.AMD Core Math Library (ACML)

7. For more information :

Report Problems to: 
If you encounter any problem in using PGI, please report to us at the following email address helpdesk.serc@iisc.ac.in or contact System Administrators in 109, SERC.