QMCPACK / QMCPACK/qmcpack

short- tests failing with Address Sanitizer

Open
#3,401 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
403
Forks
154
Avg merge
1d 12h
Merged PRs (30d)
82

Description

**Describe the bug**
A clear and concise description of what the bug is.

The following `short-` tests fail with Address Sanitizer.

The following tests FAILED:
~~75 - short-grid_ext_pot-vmc-1-16 (Failed)~~
~~260 - short-LiH_pp-vmc_hf_sdj_xml-1-16-potential (Failed)~~
303 - short-H4-opt-adaptive-1-16 (Failed)
305 - short-H4-orb-opt-1-16 (Failed)
306 - short-H4-orb-opt-1-16-totenergy (Failed)
307 - short-H4-orb-opt-dmc-1-16 (Failed)
308 - short-H4-orb-opt-dmc-1-16-totenergy (Failed)
~~309 - short-H4-descent-1-16 (Failed)~~
~~311 - short-H4-target-descent-1-16 (Failed)~~
313 - short-H4-hybrid-1-16 (Failed)
315 - short-H4-target-hybrid-1-16 (Failed)
~~317 - short-H4-opt-OneShiftOnly-1-16 (Failed)~~
364 - short-chn_ae_cuspCorrection-vmc-1-16-kinetic (Failed)
~~488 - short-bccH_3x3x3_ae-deriv-1-1 (Failed)~~
~~490 - short-bccH_3x3x3_ae-grad_lap-1-1 (Failed)~~
~~492 - short-bccH_3x3x3_ae-gamma-deriv-1-1 (Failed)~~
~~494 - short-bccH_3x3x3_ae-not_orth-deriv-1-1 (Failed)~~
~~496 - short-bccH_2x2x2_ae-grad_lap-1-1 (Failed)~~
~~498 - short-bccH_2x2x2_ae-deriv-1-1 (Failed)~~
~~499 - short-bccH_2x2x2_ae-deriv-1-1-check (Failed)~~
~~500 - short-bccH_2x2x2_ae-gamma-deriv-1-1 (Failed)~~
~~504 - short-bccH_2x2x2_ae-vmc_bf-1-16 (Failed)~~
~~548 - short-bccH_1x1x1_ae-rmc_sdj-1-16 (Failed)~~

**To Reproduce**
Steps to reproduce the behavior:
1. release version or git commit hash being built
2. cmake command
3. full program/test invocation command
4. additional steps

develop + #3356
CC=clang-12 CXX=clang++-12 cmake -G Ninja -DQMC_MPI=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_SANITIZER=asan
ctest -j 20 -R short-

**Expected behavior**
A clear and concise description of what you expected to happen.

**System:**
- system name [e.g. fusiont5, summit]
- modules loaded [e.g. output of `module list`]
- other systems where this is reproducible [e.g. "my laptop", "none"]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.