Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cscs-checks/libraries/math/trilinos_compile_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ def __init__(self, linkage):
'tiger:gpu']
# NOTE: PrgEnv-cray in dynamic does not work because of CrayBug/809265
self.valid_prog_environs = ['PrgEnv-gnu', 'PrgEnv-intel']
# NOTE: PrgEnv-cray_classic does not support trilinos
if linkage == 'static':
self.valid_prog_environs += ['PrgEnv-cray']

self.build_system = 'SingleSource'
self.build_system.ldflags = ['-%s' % linkage, '-lparmetis']
self.build_system.cppflags = ['-DHAVE_MPI', '-DEPETRA_MPI']
self.prgenv_flags = {
'PrgEnv-cray': ['-homp', '-hstd=c++11', '-hmsglevel_4'],
'PrgEnv-cray': ['-fopenmp', '-O2', '-ffast-math', '-std=c++11',
'-Wno-everything'],
'PrgEnv-cray_classic': ['-homp', '-hstd=c++11', '-hmsglevel_4'],
'PrgEnv-gnu': ['-fopenmp', '-std=c++11', '-w', '-fpermissive'],
'PrgEnv-intel': ['-qopenmp', '-w', '-std=c++11'],
'PrgEnv-pgi': ['-mp', '-w']
Expand Down