User Tools

Site Tools


dev:debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dev:debugging [2016/11/02 11:47]
agloess Remove space.
dev:debugging [2016/11/02 11:51] (current)
agloess Add OMP_NUM_THREADS and some valgrind options.
Line 73: Line 73:
 ==== valgrind in parallel ==== ==== valgrind in parallel ====
  
-valgrind can also be used for debugging parallel code:+valgrind can also be used for debugging parallel code, eg.:
  
 <​code>​ <​code>​
-mpiexec ​-np 2  valgrind --options cp2k_executable ​cp2k.inp+mpirun ​-np 2 -x OMP_NUM_THREADS=2  valgrind --max-stackframe=2100192 --leak-check=full --track-origins=yes cp2k.psmp ​cp2k.inp
 </​code>​ </​code>​
  
dev/debugging.txt ยท Last modified: 2016/11/02 11:51 by agloess