diff --git a/docs.it4i/software/debuggers/total-view.md b/docs.it4i/software/debuggers/total-view.md index 58be5f074aad1c2f261f6881e6eef59db4401099..8afba028c4a236f9dd9864bd8e5b12b873788696 100644 --- a/docs.it4i/software/debuggers/total-view.md +++ b/docs.it4i/software/debuggers/total-view.md @@ -56,13 +56,13 @@ Compile the code: Before debugging, you need to compile your code with theses flags: !!! 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 -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 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. -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): ```console $ qsub -I -X -A NONE-0-0 -q qexp -lselect=1:ncpus=24:mpiprocs=24,walltime=01:00:00