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

Problem running wmake on simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2011, 12:50
Default Problem running wmake on simpleFoam
  #1
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 16
Greg Givogue is on a distinguished road
Hi Everyone!

I've corrected the KOmegaSST.C bug in 1.7.1 but am unable to recompile simpleFoam using wmake.

First I run 'touch simpleFoam.C' then...

greggivogue@ubuntu:/opt/openfoam171/applications/solvers/incompressible/simpleFoam$ wclean
greggivogue@ubuntu:/opt/openfoam171/applications/solvers/incompressible/simpleFoam$ wmake
mkdir: cannot create directory `linux64GccDPOpt': Permission denied
/bin/sh: cannot create linux64GccDPOpt/options: Directory nonexistent
make: *** [linux64GccDPOpt/options] Error 2
/opt/openfoam171/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 someone please chime in and help me with this likely bonehead problem! I'm really stuck here. It looks like it has to do with permissions but I'm not really sure how to fix this... Thanks!
Greg Givogue is offline   Reply With Quote

Old   March 1, 2011, 13:42
Default
  #2
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 16
Greg Givogue is on a distinguished road
Problem solved but changing permissions.
Greg Givogue is offline   Reply With Quote

Old   April 23, 2011, 04:59
Default a similar question?
  #3
New Member
 
Quan Zhou
Join Date: Jul 2010
Posts: 5
Rep Power: 16
iampolaris is on a distinguished road
Quote:
Originally Posted by Greg Givogue View Post
Problem solved but changing permissions.
Hi, Greg.
I have encountered a similar problem like you, can you tell me how to change the permission and solve it?
Thx.
iampolaris is offline   Reply With Quote

Old   April 23, 2011, 11:10
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to both!

@iampolaris: Although I'm against modifying permissions on root folders, here is what you can do:
Code:
sudo chmod -R o+w /opt/openfoam171
This will give all users, who aren't part of the root group, write permissions to OpenFOAM's folder.

This is very dangerous, since this way anyone can damage your OpenFOAM installation. It would be advisable that after you do the tweaks you want to do, you reverse the permissions by running:
Code:
sudo chmod -R o-w /opt/openfoam171
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 23, 2011, 21:40
Default
  #5
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 16
Greg Givogue is on a distinguished road
This is basically what I did. Good luck
Greg Givogue is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 15:44
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
Error running simpleFoam in parallel skabilan OpenFOAM Running, Solving & CFD 2 August 29, 2008 10:42
Problem with running FoamX in a distributed environment susana OpenFOAM Pre-Processing 1 March 28, 2007 18:11


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