|
[Sponsors] |
November 5, 2010, 14:13 |
problem with wmake
|
#1 |
Member
Hagen Müller
Join Date: Nov 2010
Posts: 34
Rep Power: 16 |
Hello,
if I run wmake libso to compile a turbulencemodel, I get the following message: mkdir: cannot create directory `linuxGccDPOpt': Permission denied /bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent make: *** [linuxGccDPOpt/options] Error 2 /opt/openfoam171/wmake/MakefileFiles:39: linuxGccDPOpt/options: No such file or directory make: *** No rule to make target `linuxGccDPOpt/options'. Stop. wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created Unfortunately I can't run wmake with sudo either. It would be great if someone would be able to help, Thank you Hagen |
|
November 6, 2010, 07:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Hagen and welcome to the forum!
Is it your own modified turbulence model? Or are you modifying the original code? Because each of these have different ways of handling. For the first method, read: 3.2.4 Compilation example: the pisoFoam application If it's the second method, it will be a bit tricky:
Bruno
__________________
|
|
November 7, 2010, 00:41 |
|
#3 |
Member
Hagen Müller
Join Date: Nov 2010
Posts: 34
Rep Power: 16 |
Thank you Bruno!
The second suggestion worked perfectly. |
|
April 11, 2013, 17:35 |
|
#4 |
New Member
Cameron
Join Date: Apr 2013
Posts: 4
Rep Power: 13 |
Thank you for the work around Bruno. Your comments helped me install an OF extension .
I am curious about the code in the second step. As the bashrc file is not an executable, what does the following line do? Code:
. /opt/openfoam171/etc/bashrc |
|
April 12, 2013, 04:45 |
|
#5 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 |
It executes the script /opt/openfoam171/etc/bashrc. The dot is just an alias for the Linux source command.
|
|
April 14, 2013, 08:28 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
To complement cutter's answer, check the section "Variable related commands" in the following page: http://openfoamwiki.net/index.php/In...lated_commands Best regards, Bruno
__________________
|
|
December 4, 2019, 09:42 |
|
#7 | |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
OpenFOAM installation problem. File missing in wmake | shangzung | OpenFOAM Installation | 1 | July 8, 2010 11:57 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |