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

Reinstalled OpenFOAM getting wmake error

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 05:59
Default
  #21
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
Quote:
EXE = $(FOAM_USER_APPBIN)/multiphaseEulerFoamNEW

Sorry, forgot about braces.
No prob, I already had the braces - still the same problem.
maybee is offline   Reply With Quote

Old   March 5, 2014, 06:03
Default
  #22
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Ok, show me the output of

Code:
echo $FOAM_USER_APPBIN
and maybe

Code:
export | grep -E '(WM_|FOAM_)'
alexeym is offline   Reply With Quote

Old   March 5, 2014, 06:11
Default
  #23
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
Here the output:

Quote:
echo $FOAM_USER_APPBIN
EMPTY LINE
Quote:
export | grep -E '(WM_|FOAM_)'
declare -x FOAM_APP="/home/USER/OpenFOAM/OpenFOAM-2.2.2/applications"
declare -x FOAM_APPBIN="/home/USER/OpenFOAM/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/bin"
declare -x FOAM_EXT_LIBBIN="/home/USER/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGccDPOpt/lib"
declare -x FOAM_INST_DIR="/home/USER/OpenFOAM"
declare -x FOAM_JOB_DIR="/home/USER/OpenFOAM/jobControl"
declare -x FOAM_LIBBIN="/home/USER/OpenFOAM/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/lib"
declare -x FOAM_MPI="openmpi-1.6.3"
declare -x FOAM_RUN="/home/USER/OpenFOAM/USER-2.2.2/run"
declare -x FOAM_SETTINGS=""
declare -x FOAM_SIGFPE=""
declare -x FOAM_SITE_APPBIN="/home/USER/OpenFOAM/site/2.2.2/platforms/linuxGccDPOpt/bin"
declare -x FOAM_SITE_LIBBIN="/home/USER/OpenFOAM/site/2.2.2/platforms/linuxGccDPOpt/lib"
declare -x FOAM_SOLVERS="/home/USER/OpenFOAM/OpenFOAM-2.2.2/applications/solvers"
declare -x FOAM_SRC="/home/USER/OpenFOAM/OpenFOAM-2.2.2/src"
declare -x FOAM_TUTORIALS="/home/USER/OpenFOAM/OpenFOAM-2.2.2/tutorials"
declare -x FOAM_USER_APPBIN="/home/USER/OpenFOAM/USER-2.2.2/platforms/linuxGccDPOpt/bin"
declare -x FOAM_USER_LIBBIN="/home/USER/OpenFOAM/USER-2.2.2/platforms/linuxGccDPOpt/lib"
declare -x FOAM_UTILITIES="/home/USER/OpenFOAM/OpenFOAM-2.2.2/applications/utilities"
declare -x WM_ARCH="linux"
declare -x WM_ARCH_OPTION="64"
declare -x WM_COMPILER="Gcc"
declare -x WM_COMPILE_OPTION="Opt"
declare -x WM_DIR="/home/USER/OpenFOAM/OpenFOAM-2.2.2/wmake"
declare -x WM_LINK_LANGUAGE="c++"
declare -x WM_MPLIB="OPENMPI"
declare -x WM_OPTIONS="linuxGccDPOpt"
declare -x WM_OSTYPE="POSIX"
declare -x WM_PRECISION_OPTION="DP"
declare -x WM_PROJECT="OpenFOAM"
declare -x WM_PROJECT_DIR="/home/USER/OpenFOAM/OpenFOAM-2.2.2"
declare -x WM_PROJECT_INST_DIR="/home/USER/OpenFOAM"
declare -x WM_PROJECT_USER_DIR="/home/USER/OpenFOAM/USER-2.2.2"
declare -x WM_PROJECT_VERSION="2.2.2"
declare -x WM_THIRD_PARTY_DIR="/home/USER/OpenFOAM/ThirdParty-2.2.2"
maybee is offline   Reply With Quote

Old   March 5, 2014, 07:09
Default
  #24
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
It is rather funny cause these two outputs are contradictory, you write that
Code:
echo $FOAM_USER_APPBIN
return empty line and at the same time command
Code:
export | grep -E '(WM_|FOAM_)'
gives you
Code:
...
declare -x FOAM_USER_APPBIN="/home/USER/OpenFOAM/USER-2.2.2/platforms/linuxGccDPOpt/bin"
...
did you execute the commands in the same terminal session?

The error you've shown is indeed caused by FOAM_USER_APPBIN being empty, so wmake tries to create binary for the solver in the / folder (and obviously fails). You can try run clean before wmake, maybe where is some stale files with old settings. And cause I don't know your exact environment when you run wmake, I can not suggest you anything concrete.
maybee likes this.
alexeym is offline   Reply With Quote

Old   March 5, 2014, 08:56
Default
  #25
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
I ve run wclean first and afterward wmake:

Code:
wclean
wmake
make: *** No rule to make target `multiphaseEulerFoam.dep', needed by `Make/linuxGccDPOpt/dependencies'.  Stop
EDIT: Ok, solved. wclean did it. I just forgot to change the .c file name back to multiphaseEulerFoam.c

Thx alot for the help.

greetings maybee
maybee 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
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 13:28


All times are GMT -4. The time now is 05:50.