If you are running cpu examples using ABACUS compiled for GPU, then it will cause memory leak and crash the application. But it passed the CI test because CI test will not do tests like this.
Oh, I thought it was a memory issue from FFT,and I looked for a bug in my PR for a long time.Could you add a unittest for this feature?It wouldn't be error next time.
If you are running cpu examples using ABACUS compiled for GPU, then it will cause memory leak and crash the application. But it passed the CI test because CI test will not do tests like this.
Thanks for @dzzz2001 for finding this bug