problem with wmake
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 |
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 |
Thank you Bruno!
The second suggestion worked perfectly. |
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:
|
It executes the script /opt/openfoam171/etc/bashrc. The dot is just an alias for the Linux source command.
|
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 |
Quote:
|
All times are GMT -4. The time now is 13:13. |