CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problems with "wmake" (https://www.cfd-online.com/Forums/openfoam-installation/104682-problems-wmake.html)

mathslw July 12, 2012 22:25

Problems with "wmake"
 
Hi there,

I have problem about "wmake" ,
at folder --> /opt/openfoam211/applications/solvers/incompressible/pisoFoam
I type: wmake
It shows:

/bin/sh: 1: cannot create linux64GccDPOpt/options: Directory nonexistent
make: *** [linux64GccDPOpt/options] Error 2
/opt/openfoam211/wmake/MakefileFiles:40: 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 in /opt/openfoam211/applications/solvers/incompressible/pisoFoam

Dose anyone know what is the problem?
Many thanks!

Wei

akidess July 13, 2012 03:24

You're trying to compile as a normal user, but the directory is only writable for super-users. Either compile in your home directory or use sudo.

wyldckat July 13, 2012 04:13

Greetings to all!

@mathslw: Follow this tutorial, so you can first understand the basics of creating your own solver: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

Best regards,
Bruno

mathslw July 13, 2012 12:53

Quote:

Originally Posted by akidess (Post 371234)
You're trying to compile as a normal user, but the directory is only writable for super-users. Either compile in your home directory or use sudo.

Hi, I tried the root user, but it failed again. But it works if I compile in my home directory. Many thanks!

mathslw July 13, 2012 12:55

Quote:

Originally Posted by wyldckat (Post 371249)
Greetings to all!

@mathslw: Follow this tutorial, so you can first understand the basics of creating your own solver: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

Best regards,
Bruno

Hi Bruno,

The tutorial is very helpful. Now I can compile it in my home directory!
Many thanks!

Wei


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