CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   groovyBC does not compile (http://www.cfd-online.com/Forums/openfoam-solving/75728-groovybc-does-not-compile.html)

Marc_r May 4, 2010 04:14

groovyBC does not compile
 
Hi,

i'm trying to compile groovyBC(1.6) for FOAM 1.6x

Got the new versions of bison and m4
bison (GNU Bison) 2.4.1
m4 (GNU M4) 1.4.14


It's probably somthing with:

NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)

but i'm somehow lost.
Already looked at a similar post here
http://www.cfd-online.com/Forums/ope...ditions-6.html


Heres the complete output:

[groovyBC] wmake libso
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file PatchResult.C
Making dependency list for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy
Making dependency list for source file PatchValueExpressionLexer.ll
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll
Making dependency list for source file PatchValueExpressionDriver.C
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C
Making dependency list for source file groovyBCFvPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCFvPatchFields.C
Making dependency list for source file groovyBCPointPatchFields.C
could not open file MixedPointPatchField.H for source file groovyBCPointPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCPointPatchFields.C
could not open file PointPatchFieldMapper.H for source file groovyBCPointPatchFields.C
SOURCE=PatchResult.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PatchResult.o
PatchResult.C: In member function »void Foam::PatchResult::uglyDelete()«:
PatchResult.C:97: Warnung: Löschen von »void*« ist nicht definiert
SOURCE=PatchValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/PatchValueExpressionParser.C Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linux64GccDPOpt/PatchValueExpressionParser.C ; mv *.tab.hh Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh ; mv *.hh Make/linux64GccDPOpt ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/PatchValueExpressionParser.C -o Make/linux64GccDPOpt/PatchValueExpressionParser.o
NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
mv: Aufruf von stat für »*.tab.cc« nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »*.tab.hh« nicht möglich: Datei oder Verzeichnis nicht gefunden
g++: Make/linux64GccDPOpt/PatchValueExpressionParser.C: Datei oder Verzeichnis nicht gefunden
g++: keine Eingabedateien
make: *** [Make/linux64GccDPOpt/PatchValueExpressionParser.o] Fehler 1

Every guess is welcome

Regards,
Marc

gschaider May 10, 2010 05:40

Quote:

Originally Posted by Marc_r (Post 257443)
Hi,

i'm trying to compile groovyBC(1.6) for FOAM 1.6x

Got the new versions of bison and m4
bison (GNU Bison) 2.4.1
m4 (GNU M4) 1.4.14


It's probably somthing with:

NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)

but i'm somehow lost.
Already looked at a similar post here
http://www.cfd-online.com/Forums/ope...ditions-6.html


Heres the complete output:

[groovyBC] wmake libso
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file PatchResult.C
Making dependency list for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy
Making dependency list for source file PatchValueExpressionLexer.ll
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll
Making dependency list for source file PatchValueExpressionDriver.C
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C
Making dependency list for source file groovyBCFvPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCFvPatchFields.C
Making dependency list for source file groovyBCPointPatchFields.C
could not open file MixedPointPatchField.H for source file groovyBCPointPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCPointPatchFields.C
could not open file PointPatchFieldMapper.H for source file groovyBCPointPatchFields.C
SOURCE=PatchResult.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PatchResult.o
PatchResult.C: In member function »void Foam::PatchResult::uglyDelete()«:
PatchResult.C:97: Warnung: Löschen von »void*« ist nicht definiert
SOURCE=PatchValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/PatchValueExpressionParser.C Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linux64GccDPOpt/PatchValueExpressionParser.C ; mv *.tab.hh Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh ; mv *.hh Make/linux64GccDPOpt ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/efs/Software/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/PatchValueExpressionParser.C -o Make/linux64GccDPOpt/PatchValueExpressionParser.o
NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
mv: Aufruf von stat für »*.tab.cc« nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »*.tab.hh« nicht möglich: Datei oder Verzeichnis nicht gefunden
g++: Make/linux64GccDPOpt/PatchValueExpressionParser.C: Datei oder Verzeichnis nicht gefunden
g++: keine Eingabedateien
make: *** [Make/linux64GccDPOpt/PatchValueExpressionParser.o] Fehler 1

Every guess is welcome

Regards,
Marc

No idea. Looks to me like the temporary m4-file that bison generates was not correctly written. Check whether you did not hit the quota on your system and there is space left on /tmp (but this is just a wild guess). If you have access to another machine try it on that too, just to be sure

Bernhard

tamsilian May 26, 2010 14:53

groovyBC
 
Hi
i simulated polymer in extruder(screw mill) by ViscoElastic fluidFoam,Jovani. According to my geometry, velocity vectors in boundary condition are changed .As result i should code variables condition in 0File>> U>> movingWalls.do you know that GroovyBC was compiled to OpenFoam as defualt or i have to compile it?and how to compile groovyBC to OpenFoam v.1.6?if anybody coded one geometry by groovyBC this is thanksful to sent it me by tamsilian@gmail.com.
Thanks in advanced your help

gschaider May 26, 2010 18:59

Quote:

Originally Posted by tamsilian (Post 260399)
Hi
i simulated polymer in extruder(screw mill) by ViscoElastic fluidFoam,Jovani. According to my geometry, velocity vectors in boundary condition are changed .As result i should code variables condition in 0File>> U>> movingWalls.do you know that GroovyBC was compiled to OpenFoam as defualt or i have to compile it?and how to compile groovyBC to OpenFoam v.1.6?if anybody coded one geometry by groovyBC this is thanksful to sent it me by tamsilian@gmail.com.
Thanks in advanced your help

This is the 6th instance of the same question. Spamming the message board is the best way to get NO answer to your question (nevertheless at least one of these questions got an answer, so why do you continue asking?)

anthropoy November 4, 2010 13:20

Hi Marc_c

Did you manage to resolve this compile error? I've got the same problem too.


Thanks!
Sam

tamsilian November 4, 2010 14:29

Help
 
Dear Sir/Madam. Fortunatelt, I would solved this problem. this problem was orginated by your GroovyBC file that was donloawded from related site. Please, send your email to me until i can mail the suitable groovyBC file.
TNX
Joseph


All times are GMT -4. The time now is 12:37.