QMCPACK / QMCPACK/qmcpack

TraceManager fails when run is not serial

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

Description

**Describe the bug**
When traces are active, only serial run finishes, otherwise the program crashes.

vmc.xml puts 1 up and 1 down electron into a box at rs=30 with the uniform wavefunction.
```




61.39960247678931 0.0 0.0
0.0 61.39960247678931 0.0
0.0 0.0 61.39960247678931

p p p



-1


-1








2
40
50

```

**To Reproduce**
Steps to reproduce the behavior:
1. 2023-03-22 develop head `464286d39f207853a76da801301e708c4538b3a7`
2. `export CC=mpicc; export CXX=mpicxx; cmake -D QMC_COMPLEX=1`
3. `mpirun -np 2 qmcpack vmc.xml`

**Expected behavior**
Run terminates without error. `qmc.s000.traces.h5` is filled with correct run information.

**System:**
- Xeon(R) Gold 6234
- `gcc/10.4.0 openmpi/4.0.7 intel-oneapi-mkl/2023.0.0 boost/1.80.0 cmake/3.25.1 hdf5/mpi-1.10.9`

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.