CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] Problems running Allwmake.sh in CFDSupport's v1710

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2017, 04:14
Unhappy Problems running Allwmake.sh in CFDSupport's v1710
  #1
New Member
 
gemxx
Join Date: Feb 2015
Posts: 28
Rep Power: 11
gemxx is on a distinguished road
When I run Allwmake.sh file, there are the errors on the command line.


wmake lib.so .
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 'lib.so'. 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?

Last edited by gemxx; October 4, 2017 at 04:40.
gemxx is offline   Reply With Quote

Old   December 31, 2017, 12:52
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] problems running in parallel on Mac OS X and Windows: only 1 cpu windscion OpenFOAM Installation 20 June 5, 2020 17:27
Problems detected after running more than 500 iterations JX- FLUENT 3 February 21, 2017 12:31
Problems running icoFoam: sigSegv with 4x mesh resolution SUBHANKAR OpenFOAM Running, Solving & CFD 4 December 29, 2016 23:53
running CFX 11.0 on Fedora 7 : display problems Eric Joubarne CFX 1 October 3, 2007 17:51
Problems in a Background running of Intel Fortran Minsuk Choi Main CFD Forum 2 February 11, 2005 05:55


All times are GMT -4. The time now is 01:08.