Skip to content

Commit

Permalink
Merge pull request #747 from jgphpc/UES-338_gdb4hpc
Browse files Browse the repository at this point in the history
[bugfix] Fix gdb4hpc failure with C++
  • Loading branch information
vkarak committed Apr 10, 2019
2 parents dcee242 + a5b1505 commit 6106c83
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cscs-checks/tools/profiling_and_debugging/gdb4hpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def setup(self, partition, environ, **job_opts):


@rfm.required_version('>=2.14')
@rfm.parameterized_test(['F90', 'F90'])
@rfm.parameterized_test(['F90', 'F90'], ['C++', 'cc'])
class Gdb4hpcCpuCheck(Gdb4hpcCheck):
def __init__(self, lang, extension):
super().__init__(lang, extension)
Expand Down
24 changes: 24 additions & 0 deletions cscs-checks/tools/profiling_and_debugging/src/C++/gdb4hpc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# this line is mandatory (cray case #224617):
maint set sync on
# this line is needed in C++ to avoid 'Debugger error: Missing PMI_Init symbol'
maint set unsafe on
# 1 MPI * x OpenMP:
launch $tst{1} ./jacobi --sbatch=./gdb4hpc.slm
break _jacobi.cc:89
# ----1
continue
list 89,90
print residual
# ----2
continue
print residual
# ----3
continue
print residual
# ----4
continue
print residual
# ----5
continue
print residual
quit

0 comments on commit 6106c83

Please sign in to comment.