4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
Before debugging, you need to compile your code with theses flags:
Before debugging, you need to compile your code with theses flags:
!!! note
!!! note
**-g** Generates extra debugging information usable by GDB. -g3 includes additional debugging information. This option is available for GNU, Intel C/C++, and Fortran compilers.
`-g` Generates extra debugging information usable by GDB. `-g3` includes additional debugging information. This option is available for GNU, Intel C/C++, and Fortran compilers.
**-O0** Suppresses all optimizations.
`-O0` Suppresses all optimizations.
## Starting a Job With TotalView
## Starting a Job With TotalView
Be sure to log in with an X window forwarding enabled. This could mean using the -X in the ssh:
Be sure to log in with an X window forwarding enabled. This could mean using the `-X` in the `ssh`:
```console
```console
ssh -X username@salomon.it4i.cz
ssh -X username@salomon.it4i.cz
...
@@ -70,7 +70,7 @@ ssh -X username@salomon.it4i.cz
...
@@ -70,7 +70,7 @@ ssh -X username@salomon.it4i.cz
Another option is to access the login node using VNC. See the detailed information on how to use the GUI on Anselm.
Another option is to access the login node using VNC. See the detailed information on how to use the GUI on Anselm.
From the login node an interactive session with X windows forwarding (-X option) can be started by the following command (for Anselm use 16 threads):
From the login node an interactive session with X windows forwarding (`-X` option) can be started by the following command (for Anselm use 16 threads):