From 4bbf472513f76c69f596d986cce5aabd3e670db6 Mon Sep 17 00:00:00 2001 From: ajocksch Date: Fri, 31 Jan 2020 14:07:20 +0100 Subject: [PATCH 1/3] WIP: trilinos Cray clang --- cscs-checks/libraries/math/trilinos_compile_run.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cscs-checks/libraries/math/trilinos_compile_run.py b/cscs-checks/libraries/math/trilinos_compile_run.py index 27a8247b30..1cb1b682ba 100644 --- a/cscs-checks/libraries/math/trilinos_compile_run.py +++ b/cscs-checks/libraries/math/trilinos_compile_run.py @@ -12,13 +12,15 @@ def __init__(self, linkage): # NOTE: PrgEnv-cray in dynamic does not work because of CrayBug/809265 self.valid_prog_environs = ['PrgEnv-gnu', 'PrgEnv-intel'] if linkage == 'static': - self.valid_prog_environs += ['PrgEnv-cray'] + self.valid_prog_environs += ['PrgEnv-cray', 'PrgEnv-cray_classic'] 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', + '-Weverything'], + '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'] From 98aff8f2d8ad1fbf36331f7c4ce2f9d3c009575f Mon Sep 17 00:00:00 2001 From: ajocksch Date: Fri, 28 Feb 2020 11:13:37 +0100 Subject: [PATCH 2/3] -Wno-everything --- cscs-checks/libraries/math/trilinos_compile_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscs-checks/libraries/math/trilinos_compile_run.py b/cscs-checks/libraries/math/trilinos_compile_run.py index 6858cb44c0..a50edfe311 100644 --- a/cscs-checks/libraries/math/trilinos_compile_run.py +++ b/cscs-checks/libraries/math/trilinos_compile_run.py @@ -23,7 +23,7 @@ def __init__(self, linkage): self.build_system.cppflags = ['-DHAVE_MPI', '-DEPETRA_MPI'] self.prgenv_flags = { 'PrgEnv-cray': ['-fopenmp', '-O2', '-ffast-math', '-std=c++11', - '-Weverything'], + '-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'], From 5dd5999b97e1a55fd06c50460ea6cc082eba9f50 Mon Sep 17 00:00:00 2001 From: ajocksch Date: Tue, 3 Mar 2020 09:10:29 +0100 Subject: [PATCH 3/3] removed Cray_classic --- cscs-checks/libraries/math/trilinos_compile_run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cscs-checks/libraries/math/trilinos_compile_run.py b/cscs-checks/libraries/math/trilinos_compile_run.py index a50edfe311..85ad606c70 100644 --- a/cscs-checks/libraries/math/trilinos_compile_run.py +++ b/cscs-checks/libraries/math/trilinos_compile_run.py @@ -15,8 +15,9 @@ 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', 'PrgEnv-cray_classic'] + self.valid_prog_environs += ['PrgEnv-cray'] self.build_system = 'SingleSource' self.build_system.ldflags = ['-%s' % linkage, '-lparmetis']