CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   [Other] Problems running in CFDSupport's v1710 (

gemxx October 3, 2017 03:14

Problems running in CFDSupport's v1710
When I run file, there are the errors on the command line.

wmake .
make: stat: /root/OpenFOAM/root-dev-17.10-cfdsupport/platforms/linux64Gcc62DPInt32Opt/lib/fftw-3.3.3/include/fftw3.h: Permission denied
make: *** No rule to make target ''. Stop.
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/kale/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/randomProcesses/lnInclude -I/home/kale/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/sampling/lnInclude -I../../lib/lnInclude -IlnInclude -I. -I/home/kale/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/kale/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c surfaceNoise.C -o Make/linux64Gcc62DPInt32Opt/surfaceNoise.o
surfaceNoise.C:61:28: fatal error: FoamFftwDriver.H: No such file or directory
#include "FoamFftwDriver.H"
compilation terminated.
/home/kale/OpenFOAM-in-Box-17.10/OpenFOAM-dev/wmake/rules/General/transform:25: recipe for target 'Make/linux64Gcc62DPInt32Opt/surfaceNoise.o' failed
make: *** [Make/linux64Gcc62DPInt32Opt/surfaceNoise.o] Error 1

I think that it is related to the permission of
platforms directory, but I couldn't solve this problem. Could you please help me about the reason of this error?

wyldckat December 31, 2017 11:52

Quick answer: I'm a bit late on this, but from the look of it, it looks like the problem has to do with the command being executed as "root" instead of "kale", which results in not finding the correct installation paths.

Because it looks like the path "/root/OpenFOAM/root-dev-17.10-cfdsupport/" does not exist, while the ones at "/home/kale/OpenFOAM-in-Box-17.10/" do exist.

All times are GMT -4. The time now is 21:12.