Skip to content
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

fftw fixes #97

Merged
merged 3 commits into from
May 17, 2024
Merged

fftw fixes #97

merged 3 commits into from
May 17, 2024

Conversation

fjansson
Copy link
Contributor

Fixes for running on Fugaku:
intent on pointers in FFTW interface - tripped debug build on Fugaku
fix zeroing of unused parts of p201 - was still wrong when more than one tile has fewer elements
call fftw(f)_alloc_real depending on POIS_PRECISION - save memory by calling the correct fftw allocate.

intent on pointers seems to be about the pointer itself, not the data
pointed to. When compiling with the Fujitsu compiler in debug mode,
the program stopped with
jwe1572i-s line 870 The pointer in is not associated.
in D_fftwf_plan_many_r2r.
one more fix of handling the un-used part of the FFTW data.
Note: there may be several processors with no elements to transform.
Don't rely on being the last in a row or column, instead determine the
number of own elements (jonx_me, jony_me) and use those where appropriate.
to save memory when using single precision.
Also check that the call succeeded.
@fjansson fjansson merged commit 70bd79b into dev May 17, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant