diff --git a/cscs-checks/tools/profiling_and_debugging/ddt.py b/cscs-checks/tools/profiling_and_debugging/ddt.py index d19395e16b..493084843f 100644 --- a/cscs-checks/tools/profiling_and_debugging/ddt.py +++ b/cscs-checks/tools/profiling_and_debugging/ddt.py @@ -61,8 +61,7 @@ def setup(self, partition, environ, **job_opts): self.ddt_options) -@rfm.required_version('>=2.14') -@rfm.parameterized_test(['F90', 'F90'], ['C', 'c'], ['C++', 'cc']) +@rfm.parameterized_test(['F90', 'F90'], ['C++', 'cc']) class DdtCpuCheck(DdtCheck): def __init__(self, lang, extension): super().__init__(lang, extension) @@ -121,6 +120,7 @@ def __init__(self, lang, extension): self.build_system.ldflags = ['-lm', '-lcudart'] else: arch = 'sm_60' + self.build_system.ldflags = ['-lstdc++'] self.build_system.options = ['NVCCFLAGS="-g -arch=%s"' % arch] self.sanity_patterns = sn.all([