CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Recompiling problem (http://www.cfd-online.com/Forums/openfoam-solving/60138-recompiling-problem.html)

tangd June 28, 2006 03:14

I followed the user guide to c
 
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 June 28, 2006 03:34

Sorry, I figured part of the r
 
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!

msrinath80 June 28, 2006 19:40

/bin/ksh: bad interpreter: No
 
/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

tangd June 29, 2006 02:25

I think the problem has been s
 
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.


All times are GMT -4. The time now is 13:29.