diff --git a/cscs-checks/mch/openacc_cuda_mpi_cppstd.py b/cscs-checks/mch/openacc_cuda_mpi_cppstd.py index a13a1f5618..b5db9df3ec 100644 --- a/cscs-checks/mch/openacc_cuda_mpi_cppstd.py +++ b/cscs-checks/mch/openacc_cuda_mpi_cppstd.py @@ -77,7 +77,12 @@ def setup(self, partition, environ, **job_opts): '-lcublas', '-lcudart' ] if environ.name == 'PrgEnv-pgi-nompi': + self.build_system.fflags += [ + '-ta=tesla,cc70,cuda10.0', + '-I${EBROOTOPENMPI}/include' + ] self.build_system.ldflags += [ + '-L${EBROOTOPENMPI}/lib', '-lmpi_mpifh', '-L/cm/shared/apps/cuda10.0/toolkit/10.0.130/lib64', '-lcublas', '-lcudart' ]