|
[Sponsors] |
June 23, 2011, 09:19 |
OpenFOAM v2.0 and groovyBC
|
#1 |
Member
Join Date: Jul 2010
Posts: 37
Rep Power: 16 |
Hi,
I can't seem to get groovyBC to work with OpenFOAM 2.0. I had it working with 1.7, even though it isn't listed as compatible on http://openfoamwiki.net/index.php/Contrib_groovyBC so I presume it should work with 2.0. Here's what I get after running wmake (not as sudo); touch: cannot touch `Make/linux64GccDPOpt/dontIncludeDeps': Permission denied SOURCE=PatchValueExpressionDriver.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam200/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PatchValueExpressionDriver.o In file included from Make/linux64GccDPOpt/location.hh:44, from PatchValueExpressionParser.tab.hh:65, from PatchValueExpressionDriver.H:59, from PatchValueExpressionDriver.C:34: position.hh: In function ‘bool pve:perator==(const pve:osition&, const pve:osition&)’: position.hh:136: warning: suggest parentheses around ‘&&’ within ‘||’ PatchValueExpressionDriver.C: In member function ‘void Foam::PatchValueExpressionDriver::error(const pve::location&, const std::string&)’: PatchValueExpressionDriver.C:192: error: expected unqualified-id before ‘::’ token PatchValueExpressionDriver.C:192: error: expected ‘;’ before ‘::’ token PatchValueExpressionDriver.C: In member function ‘void Foam::PatchValueExpressionDriver::error(const std::string&)’: PatchValueExpressionDriver.C:202: error: expected unqualified-id before ‘::’ token PatchValueExpressionDriver.C:202: error: expected ‘;’ before ‘::’ token make: *** [Make/linux64GccDPOpt/PatchValueExpressionDriver.o] Error 1 Any suggestions? Thanks. |
|
June 23, 2011, 23:25 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I'll have a look at this once I'm back from vacation. If you want to be sure that I remember this and want to be updated on the progress of the port open a ticket at http://sourceforge.net/apps/mantisbt...?page_number=1 Bernhard |
||
June 23, 2011, 23:39 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard PS: Stuff from the other posting still applies |
||
June 27, 2011, 08:18 |
|
#4 | |
Member
Join Date: Jul 2010
Posts: 37
Rep Power: 16 |
Quote:
touch: cannot touch `Make/linux64GccDPOpt/dontIncludeDeps': Permission denied /opt/openfoam200/wmake/scripts/addCompile: 53: cannot create PatchValueExpressionDriver.dep: Permission denied /opt/openfoam200/wmake/scripts/addCompile: 57: cannot create PatchValueExpressionDriver.dep: Permission denied /opt/openfoam200/wmake/scripts/addCompile: 59: cannot create PatchValueExpressionDriver.dep: Permission denied /opt/openfoam200/wmake/scripts/addCompile: 60: cannot create PatchValueExpressionDriver.dep: Permission denied /opt/openfoam200/wmake/scripts/addCompile: 61: cannot create PatchValueExpressionDriver.dep: Permission denied /opt/openfoam200/wmake/scripts/addCompile: 62: cannot create PatchValueExpressionDriver.dep: Permission denied Making dependency list for source file PatchValueExpressionDriver.C make: *** [PatchValueExpressionDriver.dep] Error 2 Since it says permission denied I tried as sudo but then it can't understand wmake. Any suggestions? Thanks. |
||
June 27, 2011, 08:56 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
June 27, 2011, 12:03 |
|
#6 |
New Member
Michael B Martell Jr
Join Date: Feb 2010
Location: Amherst, MA
Posts: 18
Rep Power: 16 |
Adam, where did you place the groovyBCs source files?
Mike |
|
June 27, 2011, 17:43 |
|
#7 |
Member
Join Date: Jul 2010
Posts: 37
Rep Power: 16 |
||
July 14, 2011, 22:30 |
|
#8 |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFoam 230 | imani | OpenFOAM Community Contributions | 19 | April 6, 2015 08:25 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
[swak4Foam] OpenFOAM 1.6 and 1.7 with interFoam, groovyBC give different strange results | Arnoldinho | OpenFOAM Community Contributions | 7 | December 9, 2010 17:29 |
[swak4Foam] wmake groovyBC in OpenFOAM 1.7 ? | randomid | OpenFOAM Community Contributions | 1 | August 27, 2010 06:15 |
[swak4Foam] how to compile groovyBC to OpenFoam v1.6? | tamsilian | OpenFOAM Community Contributions | 1 | May 27, 2010 04:15 |