|July 22, 2010, 18:21||
beginner - compilation question userguide chapter3
Join Date: Feb 2010
Location: Los Angeles
Posts: 65Rep Power: 9
I am trying to learn OpenFOAM (I installed Ubunt/Debian package), in the user guide chapter 3, there is a compilation example (3.2.4), in that on page U-79 it says "The user can compile pisoFoam by going to the $FOAM_CFD/pisoFoam directory and typing..." what is this $FOAM_CFD directory, I could not find this directory, when I type "cd $FOAM_CFD" or "echo $FOAM_CFD" there is no response in the shell.
So without wasting my time I went to "/opt/openfoam170/applications/solvers/incompressible/pisoFoam" and then typed wmake, I got following errors
mkdir: cannot create directory `linux64GccDPOpt': Permission denied
/bin/sh: cannot create linux64GccDPOpt/options: Directory nonexistent
make: *** [linux64GccDPOpt/options] Error 2
/opt/openfoam170/wmake/MakefileFiles:39: linux64GccDPOpt/options: No such file or directory
make: *** No rule to make target `linux64GccDPOpt/options'. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created
can anyone please tell me whether I am doing this wmake in the correct directory?
|July 23, 2010, 04:02||
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,182Rep Power: 21
My guess is that you installed OF to /opt using root privileges, and now you are trying to compile as a regular user. This fails, because naturally compiling involves writing data to the folder which you do not have access to. You should try compiling as root, or move OF to your home directory.
|July 23, 2010, 06:25||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 106
Greetings to all!
So, as for solutions, you have plenty to choose from and here are a few:
|Thread||Thread Starter||Forum||Replies||Last Post|
|A beginner question||walk_and_see||OpenFOAM||3||March 8, 2011 04:58|
|Beginner Question||me.ouda||FLOW-3D||2||May 3, 2010 17:47|
|Beginner question :(. Turning on and off zones?||Cjlaumans||FLUENT||6||September 2, 2009 15:44|
|LES beginner question||Shuo||Main CFD Forum||4||July 9, 2007 08:40|
|Beginner question – mesh generation.||Oleg Melnik||CD-adapco||2||February 26, 2001 03:39|