Closed ViniciusMalafatti closed 3 months ago
Have you made sure when installing CRPropa that 'FFTW3' was included during the build process? I.e. that it is installed and was also found by the installer script?
Yes, i checked the files and it was included, i tested if the FFTW3 is working correctly, i use this command below to see which modules they are using, and they are using the module "Turbulence Spectrum", i don´t know if the correct module is the "SimpleTurbulenceSpectrum".
"crpropa_module_names = dir()
for name in crpropa_module_names: print(name)"
Hi @ViniciusMalafatti,
As @ehlertdo said, this error is likely because FFTW3f is not installed.
You should make sure that the corresponding header file and library are found by cmake
when you install CRPropa.
Hi @rafaelab and @ehlertdo , i used the cmake and it works kkkk i can´t explain how, but it is working. Thanks for the help
I installed the CRPropa, and i try to simulate 4D simulation, but when i try to run in the Terminal, i receive this message " File "/home/vinicius/.virtualenvs/crpropa/4dsimulation.py", line 9, in
turbSpectrum = SimpleTurbulenceSpectrum(Brms, lMin, lMax, sIndex)
NameError: name 'SimpleTurbulenceSpectrum' is not defined. Did you mean: 'TurbulenceSpectrum'? "
I use Ubuntu, and i'm using to run crpropa virtualenv, the other examples is working but that not. I don't know what to do.
Thanks..