groovyBC: problems compiling: "flex: not found" and "undefined reference to ..."
Maybe its the right time and place to put some questions about groovyBC into a separate thread instead of posting them into other threads about transient boundary condition.
First I have to say, I'm talking about two different computers with two different errors: First one (running Kubuntu 9.04) Code:
rm: Entfernen von „Make/linux64GccDPOpt/PatchValueExpressionLexer.C“ nicht möglich: No such file or directory Second one (running OpenSUSE 10.3) Code:
Make/linux64GccDPOpt/groovyBCPointPatchFields.o: In function `Foam::getFvPatch(Foam::pointPatch const&)': |
Quote:
Quote:
Code:
Make/linux64GccDPOpt/groovyBCPointPatchFields.o: In function `Foam::getFvPatch(Foam::pointPatch const&)': [/QUOTE] That's a strange one. There seem to be some very essential things to be missing from libOpenFOAM.so OR the .so is missing. Did anything every get successfully compiled on that machine? Bernhard |
Quote:
I'm working with this machine at the university, but as far as I know there has been big trouble to compile OpenFOAM 1.5.x at all... |
Quote:
You're on your own. Good luck |
Quote:
|
Quote:
Quote:
Quote:
file $FOAM_LIBBIN/libOpenFOAM.so prints something like libOpenFOAM.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped If for instance you look at a .o file with file example.o the output should be similar: example.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped Quote:
The ABIs of g++ are usually downward compatible. But if your OpenFOAM was compiled with a NEWER version of g++ than you are currently using (strange things happen) Quote:
g++ -v But honestly: a recompile of your OF-installation seems to me to be the easiest solution in your case |
Hi,
I have also started using OpenFOAM for some of my simulations. When trying to use the groovyBC condition and testing the Demo cases coming with the boundary condition, I always get the following error, which is independent of the demo I am running (circulatingSplash, pulsedPitzDaily, groovywaveTank): Quote:
Arne |
I'm not very familiar with groovyBC, but I guess you're using 1.6.x which reads the gravitational acceleration from file in <case>/constant/g file. In previous versions the file was called different. So the only thing you have to do is to look into tutorials of your OpenFOAM installation and copy the g file to your case and check the vector of gravity is heading to where you want.
good luck matej |
Quote:
Bernhard |
Hello,
I think I need some help with the compilation of the groovybc!! When I'm trying to do 'wmake libso', I get the following error: Code:
michael@wopl:~/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/fields/fvPatchFields/derived/groovyBC> wmake libso Can somebody help me?? I'm using OpenFOAM 1.6.x and Bison 2.3 Cheers Michael |
Well, I think I have another problem with my installation...
|
Yep. It looking at the topmost error, the shell does not know anything about your foam installation. Have you checked the foamInstallationTest ? Your comp. does not see the src I would say. Always look at the topmost error first ;).
good luck matej |
Hi Michael,
Besides the OF installtion issue you mentioned, on the groovyBC wiki it says that groovyBC is know to work with Bison 2.4.1. Maybe you need to have a look at that as well ... |
All times are GMT -4. The time now is 12:17. |