Skip to content

FFTW CMake: Hint More Lib Paths (Windows)#4940

Merged
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:cmake-fftw-windows-more-flex
Feb 7, 2026
Merged

FFTW CMake: Hint More Lib Paths (Windows)#4940
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:cmake-fftw-windows-more-flex

Conversation

@ax3l
Copy link
Copy Markdown
Member

@ax3l ax3l commented Feb 6, 2026

Summary

Manually add the lib/ path to AMReX_FFTW_LIBRARY_DIRS. Seems FFTW3_LIBRARY_DIRS is not very reliable and upstream FFTW does not register all libraries as exported targets in their CMake config file...

Refs.:

Additional background

Test with ImpactX:

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@ax3l ax3l added the install label Feb 6, 2026
@ax3l ax3l changed the title FFTW CMake: Hint More Lib Paths (Windows_ [WIP] FFTW CMake: Hint More Lib Paths (Windows) Feb 6, 2026
ax3l added a commit to ax3l/impactx that referenced this pull request Feb 6, 2026
@ax3l ax3l changed the title [WIP] FFTW CMake: Hint More Lib Paths (Windows) FFTW CMake: Hint More Lib Paths (Windows) Feb 7, 2026
@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 7, 2026

Test successful.

ax3l added a commit to ax3l/impactx that referenced this pull request Feb 7, 2026
@ax3l ax3l enabled auto-merge (squash) February 7, 2026 00:24
@ax3l ax3l merged commit 6479bd6 into AMReX-Codes:development Feb 7, 2026
74 checks passed
@ax3l ax3l deleted the cmake-fftw-windows-more-flex branch February 7, 2026 01:12
@ax3l ax3l restored the cmake-fftw-windows-more-flex branch February 7, 2026 01:12
ax3l added a commit to cemitch99/impactx that referenced this pull request Feb 9, 2026
* Release 26.02

The February release of ImpactX :)

* CI: Win OpenMP FFTW

* Tempoary: AMReX_FFTW_IGNORE_OMP=ON

Reason: CMake Config OpenMP support missing.

* [Patch] Try AMReX Fix

AMReX-Codes/amrex#4940
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants