CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Recompiling problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 28, 2006, 03:14
Default I followed the user guide to c
  #1
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 8
tangd is on a distinguished road
I followed the user guide to configure the foamUser file and recompile foamUser, then I got something as follows:

e7guest@flux1 > wmake libso
/workdir/flux1/e7guest/OpenFOAM/OpenFOAM-1.3/wmake/wmakeLnInclude: linking include files to /workdir/flux1/e7guest/OpenFOAM/e7gast-1.3/applications/foamUser/lnInclude

make: *** No rule to make target `libfoamUser.dep', needed by `Make/linuxGcc4DPOpt/dependencies'. Stop.

I have no idea how to fix this and need help. Thank you!
tangd is offline   Reply With Quote

Old   June 28, 2006, 03:34
Default Sorry, I figured part of the r
  #2
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 8
tangd is on a distinguished road
Sorry, I figured part of the reasons out, so forget about the previous report. But I got new message after typing "wmake libso":

/workdir/flux1/e7guest/OpenFOAM/OpenFOAM-1.3/wmake/wmakeLnInclude: linking include files to /workdir/flux1/e7guest/OpenFOAM/e7gast-1.3/applications/foamUser/lnInclude

/bin/sh: /workdir/flux1/e7guest/OpenFOAM/OpenFOAM-1.3/wmake/kshScripts/addCompile: /bin/ksh: bad interpreter: No such file or directory
Making dependency list for source file libfoamUser.C
make: *** [libfoamUser.dep] Error 126

Could anybody give me a hand? Thanks!
tangd is offline   Reply With Quote

Old   June 28, 2006, 19:40
Default /bin/ksh: bad interpreter: No
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 698
Rep Power: 12
msrinath80 is on a distinguished road
/bin/ksh: bad interpreter: No such file or directory

Sounds like some shell related problem. What does the output of which ksh tell you?

[username@hostname pwd]$ which ksh
msrinath80 is offline   Reply With Quote

Old   June 29, 2006, 02:25
Default I think the problem has been s
  #4
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 8
tangd is on a distinguished road
I think the problem has been solved, I entered /bin directory and changed "sh -> ksh" into "sh -> bash", then it worked. Maybe the ksh doesn't have the executable staff the compilation process needs.
tangd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Modelling Heat Transfer Problem Deepak R FLUENT 1 December 6, 2007 10:37
Problem in cavity flow problem saad Main CFD Forum 4 November 1, 2007 08:45
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Problem in Tutorial problem of fluent Phanindra FLUENT 5 April 17, 2007 09:57
problem in solving "wave generation" problem san FLUENT 2 April 3, 2006 23:37


All times are GMT -4. The time now is 19:32.