CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

groovyBC does not compile

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2010, 04:14
Question groovyBC does not compile
  #1
New Member
 
Marc Redmer
Join Date: Apr 2010
Posts: 3
Rep Power: 6
Marc_r is on a distinguished road
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
Transient boundary conditions


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
Marc_r is offline   Reply With Quote

Old   May 10, 2010, 05:40
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,735
Rep Power: 36
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Marc_r View Post
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
Transient boundary conditions


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
gschaider is offline   Reply With Quote

Old   May 26, 2010, 14:53
Default groovyBC
  #3
New Member
 
Joseph
Join Date: Mar 2010
Posts: 14
Rep Power: 5
tamsilian is an unknown quantity at this point
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
tamsilian is offline   Reply With Quote

Old   May 26, 2010, 18:59
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,735
Rep Power: 36
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by tamsilian View Post
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?)
gschaider is offline   Reply With Quote

Old   November 4, 2010, 13:20
Default
  #5
New Member
 
Wai Sam Wong
Join Date: Sep 2010
Posts: 7
Rep Power: 5
anthropoy is on a distinguished road
Hi Marc_c

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


Thanks!
Sam
anthropoy is offline   Reply With Quote

Old   November 4, 2010, 14:29
Default Help
  #6
New Member
 
Joseph
Join Date: Mar 2010
Posts: 14
Rep Power: 5
tamsilian is an unknown quantity at this point
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
tamsilian is offline   Reply With Quote

Reply

Tags
groovybc, tab.cc, tab.hh

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 30 March 21, 2014 06:34
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 13:24
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
compile the UDF Li Jingping FLUENT 2 April 14, 2003 21:18


All times are GMT -4. The time now is 15:39.