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

wmake Problem while compiling a Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2016, 08:21
Exclamation wmake Problem while compiling a Solver
  #1
Member
 
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 13
mohsen.boojari is on a distinguished road
i tried to compile a solver in OpenFOAM but i get this message . can anyone help me??
Thanks
mossen@mossen-desktop:/opt/openfoam211/src/OffwindModels$ wmake libso
touch: cannot touch `Make/linux64GccDPOpt/dontIncludeDeps': Permission denied
/bin/sh: cannot create Make/linux64GccDPOpt/dependencies: Permission denied
make: *** [Make/linux64GccDPOpt/dependencies] Error 2

also this one:

mossen@mossen-desktop:/opt/openfoam211/applications/solvers/OffWindSolver$ wmake
touch: cannot touch `Make/linux64GccDPOpt/dontIncludeDeps': Permission denied
Fatal error: can't create Make/linux64GccDPOpt/Offwind.o: Permission denied
make: *** [Make/linux64GccDPOpt/Offwind.o] Error 1
mohsen.boojari is offline   Reply With Quote

Old   February 5, 2016, 10:25
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
It is trying to issue the command:

Code:
touch /opt/openfoam211/applications/solvers/OffWindSolver/Make/linux64GccDPOpt/dontIncludeDeps
but you don't have write permission on that folder.

Change the folder permissions, change the user access, change the installation location. One of those should help.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   February 5, 2016, 10:36
Default
  #3
Member
 
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 13
mohsen.boojari is on a distinguished road
Quote:
Originally Posted by marupio View Post
It is trying to issue the command:

Code:
touch /opt/openfoam211/applications/solvers/OffWindSolver/Make/linux64GccDPOpt/dontIncludeDeps
but you don't have write permission on that folder.

Change the folder permissions, change the user access, change the installation location. One of those should help.
Hi David,
thanks for your help. now I'm facing this error. what's is this for?

.................................................. ................................................
Assembler messages:
Fatal error: can't create Make/linux64GccDPOpt/Offwind.o: Permission denied
make: *** [Make/linux64GccDPOpt/Offwind.o] Error 1
mohsen.boojari is offline   Reply With Quote

Old   February 5, 2016, 11:17
Default
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Same kind of problem, different folder. You need to have access to you full OpenFOAM installation.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Reply

Tags
compile solver, solver error, touch, wmake error


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
[solidMechanics] Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X codder OpenFOAM CC Toolkits for Fluid-Structure Interaction 4 January 11, 2014 17:34
Divergence problem Smaras FLUENT 13 February 21, 2013 05:03
fireFoam.1.7.x_0.4 compilation error !link OpenFOAM Installation 9 December 24, 2012 04:15
Problems about compiling OF1.5.x on Bluegene/P ywang OpenFOAM 1 August 25, 2011 05:22
Problem in Compiling the solver m.maneshi OpenFOAM Running, Solving & CFD 4 November 3, 2010 02:07


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