|
[Sponsors] |
May 20, 2013, 04:48 |
wmake error in compiling icoFoam
|
#1 |
New Member
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13 |
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? |
|
May 20, 2013, 08:45 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
May 20, 2013, 16:59 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
May 20, 2013, 20:44 |
wmake error
|
#4 |
New Member
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13 |
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 |
|
|
|
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 |