Skip to content
Snippets Groups Projects
Commit 97184da9 authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Broke too long lines and removed some blank lines in debuggers.md.

parent c1b9bc8d
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!241review of debuggers.md, checked all commands, added current workshop slides
......@@ -82,10 +82,10 @@ derived types).
want to find
- Module to load before using: `module load ddt`
- Start: `ddt <executable>`
- If the GUI runs too slow over your remote connection: Use [WebVNC](../access/web_vnc.md) to start a remote desktop session in a web browser.
- If the GUI runs too slow over your remote connection:
Use [WebVNC](../access/web_vnc.md) to start a remote desktop session in a web browser.
- Slides from user training: [Parallel Debugging with DDT](misc/debugging_ddt.pdf)
### Serial Program Example
```console
......@@ -130,7 +130,6 @@ salloc: Granted job allocation 123458
marie@login$ ddt srun ./myprog
```
- Run dialog window of DDT opens.
- If MPI-OpenMP-hybrid: set number of threads.
- Hit *Run*
......@@ -156,7 +155,9 @@ Module Valgrind/3.14.0-foss-2018b and 12 dependencies loaded.
marie@login$ srun -n 1 valgrind ./myprog
```
- Not recommended for MPI parallel programs, since usually the MPI library will throw a lot of errors. But you may use valgrind the following way such that every rank writes its own valgrind logfile:
- Not recommended for MPI parallel programs, since usually the MPI library will throw
a lot of errors. But you may use valgrind the following way such that every rank
writes its own valgrind logfile:
```console
marie@login$ module load Valgrind
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment