easybuild.toolchains.compiler.pgi module

Support for PGI compilers (pgcc, pgc++, pgfortran) as toolchain compilers.

author:Bart Oldeman (McGill University, Calcul Quebec, Compute Canada)
class easybuild.toolchains.compiler.pgi.Pgi(*args, **kwargs)

Bases: easybuild.tools.toolchain.compiler.Compiler

PGI compiler class

COMPILER_CC = 'pgcc'
COMPILER_CXX = None
COMPILER_F77 = 'pgf77'
COMPILER_F90 = 'pgfortran'
COMPILER_FAMILY = 'PGI'
COMPILER_FC = 'pgfortran'
COMPILER_GENERIC_OPTION = {('x86_64', 'AMD'): 'tp=x64', ('x86_64', 'Intel'): 'tp=x64'}
COMPILER_MODULE_NAME = ['PGI']
COMPILER_OPTIMAL_ARCHITECTURE_OPTION = {('x86_64', 'AMD'): '', ('x86_64', 'Intel'): ''}
COMPILER_UNIQUE_OPTION_MAP = {'precise': ['Mnoflushz'], 'i8': 'i8', 'veryloose': ['Mfprelaxed=div,order,intrinsic,recip,sqrt,rsqrt', 'Mfpapprox'], 'defaultprec': ['Mflushz'], 'strict': ['Mnoflushz', 'Kieee'], 'optarch': '', 'openmp': 'mp', 'loose': ['Mfprelaxed'], 'r8': 'r8', 'ieee': 'Kieee'}
LINKER_TOGGLE_STATIC_DYNAMIC = {'dynamic': '-Bdynamic', 'static': '-Bstatic'}