Valgrind errors
sseraj opened this issue · 0 comments
sseraj commented
Description
Running Valgrind on MACH-Aero optimization scripts results in numerous errors from ADflow and IDWarp, such as:
Conditional jump or move depends on uninitialised value(s)
and
Use of uninitialised value of size 8
This issue is to discuss:
- What Valgrind options to use with MACH-Aero
- Which errors can be ignored
- Which errors should be fixed
Steps to reproduce issue
Run the MACH-Aero tutorial single point airfoil optimization with:
PYTHONMALLOC=malloc valgrind python airfoil_opt.py
Alternatively, run the ADflow adjoint test with:
PYTHONMALLOC=malloc valgrind python test_adjoint.py
The --error-limit=no
option may also be helpful.