In this case, bug "double free or corruption" can be reproduced.
The bug may be in Gint_Gamma::gamma_vlocal();
To Reproduce
When running in some of the nodes with OMP_NUM_THREADS >= 24, this bug may happen.
mpirun -n 1 -env OMP_NUM_THREADS=24 ABACUS.mpi
Running in other nodes works successfully.
Describe the Bug
In this case, bug "double free or corruption" can be reproduced. The bug may be in
Gint_Gamma::gamma_vlocal()
;To Reproduce
When running in some of the nodes with OMP_NUM_THREADS >= 24, this bug may happen.
mpirun -n 1 -env OMP_NUM_THREADS=24 ABACUS.mpi
Running in other nodes works successfully.Environment
test case
Zn3.zip