|
[Sponsors] |
[OpenFOAM.com] v1606+ compilation error fftw3.h |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2016, 17:59 |
v1606+ compilation error fftw3.h
|
#1 |
New Member
Stefano Capra
Join Date: Mar 2012
Posts: 14
Rep Power: 14 |
Hi everyone,
I have tried to compile OpenFOAM-v1606+ on a virtual machine running Ubuntu 16.04 LTS. I followed all the steps reported online and the system passed the foamSystemCheck: Checking basic system... ----------------------------------------------------------------------- Shell: /bin/bash Host: scapra-16 OS: Linux version 4.4.0-28-generic User: scapra System check: PASS Continue OpenFOAM installation. ================== When I launch the compiler I get the following error: fft/fft.C:28:19: fatal error: fftw3.h: No such file or directory compilation terminated. /home/scapra/OpenFOAM/OpenFOAM-v1606+/wmake/rules/General/transform:8: recipe for target '/home/scapra/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/src/randomProcesses/fft/fft.o' failed make: *** [/home/scapra/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/src/randomProcesses/fft/fft.o] Error 1 I tried to install fftw using: sudo apt-get install fftw-dev But that didn't solve the issue. Any suggestion? Please not that I have already compiled successfully OpenFOAM-dev and OpenFOAM 3.0.X on the same machine Thanks |
|
July 4, 2016, 09:18 |
|
#2 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
https://develop.openfoam.com/Develop...lus/issues/171
This is same as issue reported in gitlab . The solution is go inside folder i.e cd src/randomProcesses; and then run ./Allwmake Last edited by pgh; July 4, 2016 at 12:43. |
|
July 4, 2016, 14:03 |
|
#3 |
New Member
Stefano Capra
Join Date: Mar 2012
Posts: 14
Rep Power: 14 |
Hi pgh,
I followed your suggestions and on top of that changed makeFFTW to: #fftwPACKAGE=${fftw_version:-fftw-system} fftwPACKAGE=fftw-3.3.4 The be 100% safe I remove the system installation of fftw as well running sudo apt-get remove fftw-dev After running ./makeFFTW the compilation run fine Thank you very much Ste |
|
July 7, 2016, 06:45 |
|
#4 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Stefano
In which file did you the change: #fftwPACKAGE=${fftw_version:-fftw-system} fftwPACKAGE=fftw-3.3.4 Un saluto, Stephane |
|
July 7, 2016, 06:48 |
|
#5 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
OpenFOAM-v1606+/etc/config.sh/FFTW
or OpenFOAM-v1606+/etc/config.csh/FFTW depending upon your shell |
|
July 7, 2016, 07:14 |
|
#6 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
I have installed fftw3-devel with yast2 and it seems to compile. Regards, Stéphane. |
|
July 7, 2016, 07:53 |
|
#7 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
Now my OpenFOAM-v1606+ works. Regards, Stéphane. |
|
July 7, 2016, 09:30 |
|
#8 |
New Member
Stefano Capra
Join Date: Mar 2012
Posts: 14
Rep Power: 14 |
Hi Stephane,
sorry for the late reply. I changed the line inside makeFFTW in the ThirdParty folder Bests Ste |
|
Tags |
compile, fat, fftw3, noise, openfoam-v1606+ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-3.2 compilation on windows | kirmaks | OpenFOAM Installation | 7 | December 3, 2019 21:20 |
Compilation error for OpenFOAM-ext on Ubantu 10.04 32 bit | Sargam05 | OpenFOAM Installation | 13 | March 22, 2014 06:21 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 06:56 |
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 | ftec | OpenFOAM Installation | 7 | February 23, 2011 07:07 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 16:54 |