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'): ['qtune=auto', 'qmaxmem=-1'], ('POWER', 'POWER little-endian'): ['qtune=auto', 'qmaxmem=-1']}
COMPILER_UNIQUE_OPTION_MAP = {'defaultopt': ['O2', 'qsimd=auto'], 'defaultprec': ['', '', ''], 'ibm-static': 'qstaticlink=xllibs', 'loose': [''], 'openmp': 'qsmp=omp', 'optarch': 'qtune=auto', 'pic': 'qpic', 'precise': [''], 'shared': 'qmkshrobj', 'strict': ['', ''], 'vectorize': {False: 'qsimd=noauto', True: 'qsimd=auto'}, 'veryloose': ['']}
COMPILER_UNIQUE_OPTS = {'error-unknown-option': (False, 'Error instead of warning for unknown options'), 'ibm-static': (False, 'Link IBM XL provided libraries statically')}
LIB_MULTITHREAD = ['xlsmp']
LINKER_TOGGLE_STATIC_DYNAMIC = {'dynamic': '-Bdynamic', 'static': '-Bstatic'}