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

wmake error in compiling icoFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2013, 04:48
Default wmake error in compiling icoFoam
  #1
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 4
haghgoo_reza is on a distinguished road
Hello All,

I am a new user of OpenFOAM and I have already installed OpenFOAM 2.2.0 on ubuntu.
I'm trying to run the command "wmake" for icoFoam but it does not work. the out put is:

mkdir: cannot create directory `linux64GccDPOpt': Permission denied
/bin/sh: 1: cannot create linux64GccDPOpt/options: Directory nonexistent
make: *** [linux64GccDPOpt/options] Error 2
/opt/openfoam220/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/openfoam220/applications/solvers/incompressible/icoFoam


could you please help me understand what is wrong with it?
haghgoo_reza is offline   Reply With Quote

Old   May 20, 2013, 08:45
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Dear Reza

you installed a deb package, so your source files are in /opt address.
in opt you dont access to writing permission you should be root,
so you can go to Make folder, and in file and change the address where binary file is going to be created to user it would be like
this:
Code:
EXE = $(FOAM_USER_APPBIN)/icoFoam
this would solve your problem
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   May 20, 2013, 16:59
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Reza: To add to the answer by Nimasam, I suggest that you have a look into this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam - from it you should be able to learn how to create a modified OpenFOAM based solver.

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   May 20, 2013, 20:44
Default wmake error
  #4
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 4
haghgoo_reza is on a distinguished road
Thank you both Nima and Bruno for your reply.
I uninstalled the Deb pack and installed source pack on my system. Apparently, it does work well.

Cheers
Reza
haghgoo_reza 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
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 01:36
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 21:45
ParaFoam error message joey OpenFOAM Paraview & paraFoam 1 October 2, 2006 13:28


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