From 6b045ed5642571b9cc1a4c8c2c290e3e9f76aff8 Mon Sep 17 00:00:00 2001 From: jgp Date: Sat, 14 Sep 2019 17:28:24 +0200 Subject: [PATCH 1/2] fix --- cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py b/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py index e4e61c8e33..f4faaa8c3b 100644 --- a/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py +++ b/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py @@ -55,7 +55,7 @@ def __init__(self, lang): # hence mpip will report different line numbers: if self.current_system.name == 'daint': mpi_isendline = '142' - elif self.current_system.name == 'dom': + else self.current_system.name == 'dom': mpi_isendline = '140' elif lang == 'F90': mpi_isendline = '146' From e65784cd798fb0ecb15919746fc6174b9d9156a6 Mon Sep 17 00:00:00 2001 From: jgp Date: Sun, 15 Sep 2019 10:17:40 +0200 Subject: [PATCH 2/2] typo --- cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py b/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py index f4faaa8c3b..9527876394 100644 --- a/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py +++ b/cscs-checks/tools/profiling_and_debugging/mpip_mpi_omp.py @@ -55,7 +55,7 @@ def __init__(self, lang): # hence mpip will report different line numbers: if self.current_system.name == 'daint': mpi_isendline = '142' - else self.current_system.name == 'dom': + else: mpi_isendline = '140' elif lang == 'F90': mpi_isendline = '146'