Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valgrind errors #72

Open
sseraj opened this issue Feb 14, 2022 · 0 comments
Open

Valgrind errors #72

sseraj opened this issue Feb 14, 2022 · 0 comments
Labels
discussion This needs to be discussed first

Comments

@sseraj
Copy link
Collaborator

sseraj commented Feb 14, 2022

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.

@sseraj sseraj added the discussion This needs to be discussed first label Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This needs to be discussed first
Projects
None yet
Development

No branches or pull requests

1 participant