Hi all!
I’m trying to use RootFit to perform a fit using a convolution between a Landau distribution and a gaussian.
In order to do the convolution, I use RooFFTConvPdf:
RooFFTConvPdf conv("conv", "Landau convoluted with Gaussian", x, landau, gauss);
(with landau and gauss previously defined).
When I try to execute the code, I get the following error message:
Error in <TVirtualFFT::FFT>: handler not found
Error in <TVirtualFFT::FFT>: handler not found
Error in <TVirtualFFT::FFT>: handler not found
[#0] FATAL:Eval -- RooFFTConvPdf::fillCacheSlice(convCannot get a handle to fftw. Maybe ROOT was built without it?
libc++abi: terminating due to uncaught exception of type std::runtime_error: Cannot get a handle to fftw.
Typing brew list | grep fftw I get fftw: so it looks like fftw is properly installed.
Does anyone know what the problem is? How can I solve it?
I’m using a MacBook and I have installed ROOT with Homebrew.
Thanks for the info. It’s not a recent release, but that should not count much in this context.
Could you please check the configuration features of your installation and if fftw3 is included? You can do it like this, at the prompt:
I updated ROOT and now I have version 6.32.08.
I tried to run my code but the same error message occurs.
But I tried again root [0] gROOT->GetConfigFeatures() and root [1] strstr(gROOT->GetConfigFeatures(), "fftw3"):