|
[Sponsors] |
beginner - compilation question userguide chapter3 |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Naveen
Join Date: Feb 2010
Location: Los Angeles
Posts: 65
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all!
Quote:
So, as for solutions, you have plenty to choose from and here are a few:
Bruno
__________________
|
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A beginner question | walk_and_see | OpenFOAM | 3 | March 8, 2011 03: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 | Siemens | 2 | February 26, 2001 02:39 |