Skip to content
Snippets Groups Projects
Commit e3aa7c50 authored by David Hrbáč's avatar David Hrbáč
Browse files

Typo

parent 1a9a0f6b
No related branches found
No related tags found
No related merge requests found
...@@ -57,10 +57,9 @@ Compile the code: ...@@ -57,10 +57,9 @@ Compile the code:
Before debugging, you need to compile your code with theses flags: Before debugging, you need to compile your code with theses flags:
!!! Note "Note" !!! Note
**-g** : Generates extra debugging information usable by GDB. **-g3** includes even more debugging information. This option is available for GNU and INTEL C/C++ and Fortran compilers. - **-g** : Generates extra debugging information usable by GDB. **-g3** includes even more debugging information. This option is available for GNU and INTEL C/C++ and Fortran compilers.
- **-O0** : Suppress all optimizations.
**-O0** : Suppress all optimizations.
## Starting a Job with TotalView ## Starting a Job with TotalView
...@@ -92,7 +91,7 @@ To debug a serial code use: ...@@ -92,7 +91,7 @@ To debug a serial code use:
To debug a parallel code compiled with **OpenMPI** you need to setup your TotalView environment: To debug a parallel code compiled with **OpenMPI** you need to setup your TotalView environment:
!!! Note "Note" !!! Note
**Please note:** To be able to run parallel debugging procedure from the command line without stopping the debugger in the mpiexec source code you have to add the following function to your **~/.tvdrc** file: **Please note:** To be able to run parallel debugging procedure from the command line without stopping the debugger in the mpiexec source code you have to add the following function to your **~/.tvdrc** file:
```bash ```bash
...@@ -121,7 +120,7 @@ The source code of this function can be also found in ...@@ -121,7 +120,7 @@ The source code of this function can be also found in
/apps/mpi/openmpi/intel/1.6.5/etc/openmpi-totalview.tcl /apps/mpi/openmpi/intel/1.6.5/etc/openmpi-totalview.tcl
``` ```
!!! Note "Note" !!! Note
You can also add only following line to you ~/.tvdrc file instead of the entire function: You can also add only following line to you ~/.tvdrc file instead of the entire function:
**source /apps/mpi/openmpi/intel/1.6.5/etc/openmpi-totalview.tcl** **source /apps/mpi/openmpi/intel/1.6.5/etc/openmpi-totalview.tcl**
......
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