From 244d64141dfdc8f7ec14bb866650f317ae98d5da Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Wed, 15 Apr 2020 14:15:19 +0200 Subject: [PATCH] Update total-view.md --- docs.it4i/software/debuggers/total-view.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs.it4i/software/debuggers/total-view.md b/docs.it4i/software/debuggers/total-view.md index 58be5f074..8afba028c 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 -- GitLab