easybuild.toolchains.compiler.ibmxl module

Support for IBM compilers (xlc, xlf) as toolchain compilers.

author:Jack Perdue <j-perdue@tamu.edu> - TAMU HPRC - http://sc.tamu.edu
class easybuild.toolchains.compiler.ibmxl.IBMXL(*args, **kwargs)

Bases: easybuild.tools.toolchain.compiler.Compiler

COMPILER_CC = 'xlc'
COMPILER_CXX = 'xlC'
COMPILER_F77 = 'xlf'
COMPILER_F90 = 'xlf90'
COMPILER_FAMILY = 'IBMXL'
COMPILER_FC = 'xlf'
COMPILER_MODULE_NAME = ['xlc', 'xlf']
COMPILER_OPTIMAL_ARCHITECTURE_OPTION = {('POWER', 'POWER little-endian'): ['qtune=auto', 'qmaxmem=-1'], ('POWER', 'POWER'): ['qtune=auto', 'qmaxmem=-1']}
COMPILER_UNIQUE_OPTION_MAP = {'precise': [''], 'strict': ['', ''], 'veryloose': [''], 'defaultprec': ['', '', ''], 'shared': 'qmkshrobj', 'optarch': 'qtune=auto', 'openmp': 'qsmp=omp', 'loose': [''], 'pic': 'qpic', 'ibm-static': 'qstaticlink=xllibs'}
COMPILER_UNIQUE_OPTS = {'ibm-static': (False, 'Link IBM XL provided libraries statically'), 'error-unknown-option': (False, 'Error instead of warning for unknown options')}
LIB_MULTITHREAD = ['xlsmp']
LINKER_TOGGLE_STATIC_DYNAMIC = {'dynamic': '-Bdynamic', 'static': '-Bstatic'}