CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Problems with "wmake"

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2012, 22:25
Default Problems with "wmake"
  #1
New Member
 
Wei Liu
Join Date: Apr 2011
Location: West Lafayette, IN
Posts: 28
Rep Power: 6
mathslw is on a distinguished road
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
mathslw is offline   Reply With Quote

Old   July 13, 2012, 03:24
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
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.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   July 13, 2012, 04:13
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   July 13, 2012, 12:53
Default
  #4
New Member
 
Wei Liu
Join Date: Apr 2011
Location: West Lafayette, IN
Posts: 28
Rep Power: 6
mathslw is on a distinguished road
Quote:
Originally Posted by akidess View Post
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 is offline   Reply With Quote

Old   July 13, 2012, 12:55
Default
  #5
New Member
 
Wei Liu
Join Date: Apr 2011
Location: West Lafayette, IN
Posts: 28
Rep Power: 6
mathslw is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
mathslw is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
Some problems with Star CD Micha CD-adapco 0 August 6, 2003 13:55
Airpak: Problems with heat flow contour conditions Ivan de Miguel Urain FLUENT 1 November 16, 2001 10:36
unstructured grid sreekanth Main CFD Forum 1 August 6, 2001 15:09


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