You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building HiPACE++ on a Mac desktop, and I got an error from cmake saying it couldn't find the fftw3 package. I found a solution, which is described below. I initially installed all the packages with Homebrew, and my interpretation is that fftw is not installed/linked properly using Homebrew, so I compiled the package manually for different precisions (not sure if that's necessary, but it worked anyway).
Not sure whether this counts as an issue, but I just wanted to share the solution I found in case someone has the same problem. Maybe a note about this could be included in the Homebrew section of the installation guide?
...
-- Checking for module 'fftw3'
-- No package 'fftw3' found
CMake Error at /usr/local/Cellar/cmake/3.27.7/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.27.7/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
cmake/dependencies/FFT.cmake:92 (pkg_check_modules)
CMakeLists.txt:114 (include)
...
Hello!
I'm building HiPACE++ on a Mac desktop, and I got an error from
cmake
saying it couldn't find thefftw3
package. I found a solution, which is described below. I initially installed all the packages with Homebrew, and my interpretation is thatfftw
is not installed/linked properly using Homebrew, so I compiled the package manually for different precisions (not sure if that's necessary, but it worked anyway).Not sure whether this counts as an issue, but I just wanted to share the solution I found in case someone has the same problem. Maybe a note about this could be included in the Homebrew section of the installation guide?
Details
default build options
Intel processor with integrated GPU unit
FFTW version on Homebrew: 3.3.10
Homebrew version: 4.1.15
MacOS version: Ventura 13.5.2
error after running
cmake -S . -B build
:Solution
Adapted from this solution to a similar issue.
(note that I had to use
sudo
for themake
andrm
commands, but this might be unnecessary in your case)The text was updated successfully, but these errors were encountered: