YetAnotherCoupler  2.4.1
Tips'n'Tricks for developers

Debugging tips

Tests

  • placing
    #define VERBOSE
    above the
    #include "tests.h"
    in the tests will print the string passed to the
    PUT_ERR()
    macro when the respective error occures

Performance tips

IO

  • Reading (see interpolation method file interp_method_file.h) and writing of weight files is done in parallel by a subset of processes. Which processes access the weight file is determined by the routine compute_io_proc_step. In case of performance issues related to the number of IO processes you should have a look at this routine.