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

wmake error in compiling icoFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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
mcfdma likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 20, 2013, 16:59
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 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 offline   Reply With Quote

Old   May 20, 2013, 20:44
Default wmake error
  #4
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13
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


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
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08: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 04:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 21:45
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 13:28


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