wmake error in compiling icoFoam
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?
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
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.
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.:)
|All times are GMT -4. The time now is 17:36.|