-
Notifications
You must be signed in to change notification settings - Fork 21
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
Release 25.01 #790
Release 25.01 #790
Conversation
New parameter for 2D solves.
AMReX Windows FFTW: will be addressed in the weekly update AMReX-Codes/amrex#4282 |
@WeiqunZhang interesting, when we update AMReX to |
CACHE STRING | ||
"Repository branch for ImpactX_ablastr_repo if(ImpactX_ablastr_internal)") | ||
|
||
# AMReX is transitively pulled through ABLASTR | ||
set(ImpactX_amrex_repo "https://github.com/AMReX-Codes/amrex.git" | ||
CACHE STRING | ||
"Repository URI to pull and build AMReX from if(ImpactX_amrex_internal)") | ||
set(ImpactX_amrex_branch "e64ffef57a7608d1d60f9abe738cc634e9c1272e" | ||
set(ImpactX_amrex_branch "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify for my understanding: without a specification here, what version of AMReX will be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without specifying it here, we pick the version set in ABLASTR (WarpX):
https://github.com/ECP-WarpX/WarpX/blob/development/cmake/dependencies/AMReX.cmake#L293-L301
I usually only overwrite it here if we temporarily need a newer version than what is set there.
https://www.fftw.org/faq/section3.html#leaks
We could try to call fftw_cleanup. |
Interesting, I never saw this issue in other FFTW runs. Sure, let's add this to AMReX finalization? |
Could we try AMReX-Codes/amrex#4289 to see if it fixes the problem? If it does, I am actually not sure we should fix it. |
I'll try. I was wondering why |
The issue might be batched fftw plans. When there is no MPI, we use fftw to do the 3d fft. But with MPI, we fftw to do batched 1d ffts. |
In that test, we call both |
Correct, same with valgrind. |
Okay, I found the issue. This is a real memory leak. Let me think about how to fix it. |
Through ABLASTR already, but just staying explicit here.
Thank you - awesome, that fixes the leaks we see here 🎉 |
We forgot a test to make sure We only build the plans once. X-Ref: - ECP-WarpX/impactx#790 - ECP-WarpX/WarpX#5547
Testing all new AMReX bugfixes in #791, but will merge this release PR first. |
Prepare the January release of ImpactX 🎉