potfit wiki

open source force-matching

User Tools

Site Tools


debug

Differences

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

Link to this comparison view

debug [2013/02/28 13:32] – created danieldebug [2013/03/01 08:37] (current) daniel
Line 1: Line 1:
-For debugging there are some very basic options already available in ''potfit'':+====== Debugging ====== 
 +---- 
 +For debugging there are some very basic options already available in //potfit//:
  
-If you compile ''potfit'' with the <tt>debug</tt> target, the binary will give you some additional output.+If you compile //potfit// with the ''debug'' target, the binary will give you some additional output.
  
-* For every configuration the box vectors, normals and heights are written to stdout. There the number of periodic images needed is also given. +  * For every configuration the box vectors, normals and heights are written to stdout. There the number of periodic images needed is also given. 
-* The different optimization algorithms give more details while they are running. For the meaning of the numbers please take a look at the source code. All additional output is enclosed in <tt>#ifdef DEBUG</tt> tags.+  * The different optimization algorithms give more details while they are running. For the meaning of the numbers please take a look at the source code. All additional output is enclosed in ''#ifdef DEBUG'' tags.
  
 If you need additional output of variables or other things, you will have to do this manually in the sourcecode. If you need additional output of variables or other things, you will have to do this manually in the sourcecode.
  
-===Profiling ===+===  Profiling  ===
- +
-In the Makefile there are some options to enable profiling support in the binaries. This can be activated with the <tt>prof</tt> target. +
- +
-[[Category:Options]]+
  
 +In the Makefile there are some options to enable profiling support in the binaries. This can be activated with the ''prof'' target.
debug.1362054774.txt.gz · Last modified: 2013/02/28 13:32 by daniel