beginner - compilation question userguide chapter3
Hi,
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? Thanks Naveen |
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.
|
Greetings to all!
Quote:
So, as for solutions, you have plenty to choose from and here are a few:
Bruno |
All times are GMT -4. The time now is 19:38. |