-
Notifications
You must be signed in to change notification settings - Fork 46
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
FFT causes the run to stop #2122
Comments
Update: I found that using fixed dt can stabilized the simulation for more time steps, but still crash at some point. Without using FFT the simulation can run with erf.cfl = 0.9. In other words, FFT just make the simulation very unstable, but I remember it worked well previously. |
@wang1202 -- I'm unable to reproduce the error you're seeing, and the error message itself makes me a little suspicious that it's not an ERF-specific error. I built both DEBUG and non-DEBUG, using cmake and gmake, and tried running with 1 rank and 4 ranks. All cases ran well past the second step with your inputs file. Can you make sure you're running with the most recent ERF development branch, and git submodule update as well? |
@asalmgren -- Thank you for replying over the weekend and for your detailed testing. Your testing is very helpful. I found that this issue may be related to the compiling packages. The simulation works on the lab's HPC, where I built it with GCC 10.3.0 and installed FFTW using Conda. On my laptop, the C++ compiler is Clang, and I tried installing FFTW from two sources. If I install FFTW via Homebrew, the run crashes at step 2. If I install FFTW via Conda (as I did on the lab's HPC), the run crashes at step 6. Since this issue is not specific to ERF, I think I can close it here. I can share more information with you if I find a combination that works on my laptop. |
Apple seems to be the worst for managing the software versions ... good
luck and definitely let us know if you find a recipe that works!
…On Sun, Feb 16, 2025 at 6:15 PM Aaron Wang ***@***.***> wrote:
@asalmgren <https://github.com/asalmgren> -- Thank you for replying over
the weekend and for your detailed testing. Your testing is very helpful. I
found that this issue may be related to the compiling packages. The
simulation works on the lab's HPC, where I built it with GCC 10.3.0 and
installed FFTW using Conda. On my laptop, the C++ compiler is Clang, and I
tried installing FFTW from two sources. If I install FFTW via Homebrew, the
run crashes at step 2. If I install FFTW via Conda (as I did on the lab's
HPC), the run crashes at step 6. Since this issue is not specific to ERF, I
think I can close it here. I can share more information with you if I find
a combination that works on my laptop.
—
Reply to this email directly, view it on GitHub
<#2122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YSTFZAAT5IIIRXMFB32QFA5JAVCNFSM6AAAAABXDOMDXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRRHAYDENZSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: wang1202]*wang1202* left a comment (erf-model/ERF#2122)
<#2122 (comment)>
@asalmgren <https://github.com/asalmgren> -- Thank you for replying over
the weekend and for your detailed testing. Your testing is very helpful. I
found that this issue may be related to the compiling packages. The
simulation works on the lab's HPC, where I built it with GCC 10.3.0 and
installed FFTW using Conda. On my laptop, the C++ compiler is Clang, and I
tried installing FFTW from two sources. If I install FFTW via Homebrew, the
run crashes at step 2. If I install FFTW via Conda (as I did on the lab's
HPC), the run crashes at step 6. Since this issue is not specific to ERF, I
think I can close it here. I can share more information with you if I find
a combination that works on my laptop.
—
Reply to this email directly, view it on GitHub
<#2122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YSTFZAAT5IIIRXMFB32QFA5JAVCNFSM6AAAAABXDOMDXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRRHAYDENZSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Ann Almgren
Senior Scientist; Dept. Head, Applied Mathematics
|
Hello,
I found that some recent updates might have caused FFT to fail. I always applied FFT when running FlowInAFlow. This week, after I pulled the latest changes, rebuilt the code using
cmake_with_fft.sh
inBuild/
and ran it, I found that FFT causes the run to stop. The code still runs fine if I seterf.use_fft = 0
. Below is the input file I used.This is the output of the second time step:
And this is the backtrace file:
The text was updated successfully, but these errors were encountered: