CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] groovyBC does not compile

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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
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
Marc_r is offline   Reply With Quote

Old   May 10, 2010, 05:40
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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
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
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: 15
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: 4,225
Rep Power: 51
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, 12:20
Default
  #5
New Member
 
Wai Sam Wong
Join Date: Sep 2010
Posts: 7
Rep Power: 15
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, 13:29
Default Help
  #6
New Member
 
Joseph
Join Date: Mar 2010
Posts: 14
Rep Power: 15
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam dani2702 OpenFOAM Community Contributions 0 November 17, 2016 03:30
[swak4Foam] error when Compile groovyBC lilinghan8 OpenFOAM Community Contributions 7 February 9, 2012 08:28
[swak4Foam] groovyBC - compile error? rieuk OpenFOAM Community Contributions 7 June 15, 2011 11:06
[swak4Foam] how to compile groovyBC to OpenFoam v1.6? tamsilian OpenFOAM Community Contributions 1 May 27, 2010 03:15
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


All times are GMT -4. The time now is 21:36.