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
{{ message }}
Repository navigation
gtest-roofit-roofitcore-testRooFitCore runs but fails if fftw3.h is not available #24045
gtest-roofit-roofitcore-testRooFitCore runs but fails with:
[ RUN ] RooHistPdf.EnsurePositiveValuesInFFTConvPdf
input_line_325:1:10: fatal error: 'fftw3.h' file not found
#include "fftw3.h"
^~~~~~~~~
[#0] ERROR:Eval -- RooFFTConvPdf evaluation Failed! The interpreter could not find the fftw3.h header.
You have three options to fix this problem:
1) Install fftw3 on your system so that the interpreter can find it
2) In case fftw3.h is installed somewhere else,
tell ROOT with gInterpreter->AddIncludePath() where to find it
3) Compile ROOT with the -Dfftw3=ON in the CMake configuration,
such that ROOT comes with built-in fftw3 convolution routines
unknown file: Failure
C++ exception with description "RooFFTConvPdf evaluation Failed! The interpreter could not find the fftw3.h header" thrown in the test body.
[ FAILED ] RooHistPdf.EnsurePositiveValuesInFFTConvPdf (38 ms)
The issue also affects gtest-roofit-roofitcore-testRooWorkspace:
[#1] INFO:ObjectHandling -- RooWorkspace::import(workspace) importing RooRealVar::sigma
[#1] INFO:Eval -- RooRealVar::setRange(x) new range named 'refrange_fft_signal' created with bounds [980,1090]
input_line_40:1:10: fatal error: 'fftw3.h' file not found
#include "fftw3.h"
^~~~~~~~~
[#0] ERROR:Eval -- RooFFTConvPdf evaluation Failed! The interpreter could not find the fftw3.h header.
You have three options to fix this problem:
1) Install fftw3 on your system so that the interpreter can find it
2) In case fftw3.h is installed somewhere else,
tell ROOT with gInterpreter->AddIncludePath() where to find it
3) Compile ROOT with the -Dfftw3=ON in the CMake configuration,
such that ROOT comes with built-in fftw3 convolution routines
unknown file: Failure
C++ exception with description "RooFFTConvPdf evaluation Failed! The interpreter could not find the fftw3.h header" thrown in the test body.
[ FAILED ] RooWorkspace.Issue_10577 (5 ms)
Activity
pcanal commentedon Nov 6, 2026
The issue also affects
gtest-roofit-roofitcore-testRooWorkspace:guitargeek commentedon Nov 6, 2026
Thanks for opening an issue about this! I'm aware of this, and my idea to fix it was to get rid of the
fftw3.hdependency altogether.The PR was coincidentally opened just 2 days ago: