12.07.2015 Views

PGI User's Guide

PGI User's Guide

PGI User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ContentsPreface ...................................................................................................................................... xvAudience Description ............................................................................................................. xvCompatibility and Conformance to Standards ............................................................................. xvOrganization ......................................................................................................................... xviHardware and Software Constraints ........................................................................................ xviiConventions ......................................................................................................................... xviiRelated Publications .............................................................................................................. xix1. Getting Started .................................................................................................................... 1Overview ................................................................................................................................ 1Invoking the Command-level <strong>PGI</strong> Compilers ............................................................................... 2Command-line Syntax ...................................................................................................... 2Command-line Options .................................................................................................... 3Fortran Directives and C/C++ Pragmas .............................................................................. 3Filename Conventions .............................................................................................................. 4Input Files ..................................................................................................................... 4Output Files ................................................................................................................... 6Fortran, C, and C++ Data Types ............................................................................................... 7Parallel Programming Using the <strong>PGI</strong> Compilers ........................................................................... 7Running SMP Parallel Programs ...................................................................................... 8Running Data Parallel HPF Programs ................................................................................. 8Platform-specific considerations ................................................................................................ 9Using the <strong>PGI</strong> Compilers on Linux .................................................................................... 9Using the <strong>PGI</strong> Compilers on Windows .............................................................................. 10<strong>PGI</strong> on the Windows Desktop ......................................................................................... 12Using the <strong>PGI</strong> Compilers on Mac OS X ............................................................................. 13Site-specific Customization of the Compilers .............................................................................. 14Using siterc Files ........................................................................................................... 14Using User rc Files ........................................................................................................ 14Common Development Tasks .................................................................................................. 152. Using Command Line Options ....................................................................................... 17Command Line Option Overview ............................................................................................. 17iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!