i just have installed openfoam-dev with the debian installation. It worked out quicky and easily. Now i want to run a acse i did 6 months ago with a rotating sliding mesh and the solver turbDyMFoam says that it doesn't find the topo changer mixerFvMesh. This is ok. In the old version i have compiled (it was still OF-dev-1.5) i just had to add the library lengine. Here i tried but there is no application folder with the code of turbDyMFoam. Where can i update my turbDyMFoam solver?
I tried also to download from the powerlab the dev version and compile it, but when i update the bashrc, it get stucked in an error:
cfduser-dev@antonio-desktop:~/OpenFOAM/OpenFOAM-1.5-dev$ . ~/.bashrc
-bash: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc: line 188: syntax error near unexpected token `<<<'
-bash: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc: line 188: `<<<<<<< .mine'
thanks in advance
I got exactly the same problem on installing OpenFOAM-1.5-dev on Ubuntu 9.10 64bit. Has anyone a solution yet? Are there missing any libraries? I installed all packages I found on the net and it worked perfectly with the older 1.5-dev a few month ago. The packages installed additionally to the original Ubuntu 9.10 64bit are:
Anyone got an idea what could be the reason for this error?
Thanks in advance, Julius
commenting out the following two lines (line no. 188 ff) of my OpenFOAM-1.5-dev/etc/bashrc fixed the error.
I did this after comparing the actual bashrc with an older one where these two lines were nearly the only difference. For me it worked fine. I'm going to describe the compilation errors I had to fix afterwards in another thread.
thanks for your answer. I wasn't doing anything with svn repositories. I just downloaded the zip-files from Hrvoje's website (http://powerlab.fsb.hr/ped/kturbo/openfoam/release/) where these lines are already included in the bashrc. Maybe just another bug / type-o that should be fixed.
I had the same problem that antonio had mentioned. I did what you have suggested and got rid of that problem. But now when I run the command foamInstallationTest I get the following error message:
at the moment I see two errors on your Installation. The first one is the version of your openmpi. You should change the version in your settings.sh. Compare bigPhils comment on that.
The second thing is that you should install ssh. On Ubuntu just install by typing
sudo aptitude install ssh
This will download some packages but the error should not be critical. Now compile the whole project again.
Thank you very much for the reply and sorry for the late reply.
I solved the first problem by setting the compiler installation to OpenFOAM instead of system in openfoam-1.5-dev/etc/settings.sh.
For the second problem, is there any particular version of ssh that I should download and install? I am using OpenSuse 10.3 and not Ubuntu.
There is nothing inside the folder: OpenFOAM-1.5-dev/applications/binlinux64GccDPOpt folder.
Do you have any idea what the problem could be?
Thank you very much,
I'm having the same problem in that I've an empty DOpt folder. I know that I can fill this with binaries from OpenFOAM-1.6 but I think the problem is a linking error as I get lots of
/usr/bin/ld: cannot find -l... error messages.
Sound familiar? Have the objects in the src file have been made? They'll be in various 64GccDPOpt folders in the make files. If so it's the linker ld.
Someone did post something about this problem and the fact that it should not be looking in the
/usr/bin directory but I haven't found how to change that yet
Hi again Srikara
Have just copied the files in /home/****/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.3.3 to the level above and this solved the linking problem. Now it all seems to be compiling with no errors and OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt is filling up!
Make sure that you have compiled all the third party and src files without errors first.
I tried to comment the lines 188 an 193, as suggested by Julius. When I ran the bashrc file, my terminal responded like this:
I must mention that my computer passed the foamSystemCheck.
Any suggestions? Or does anyone know what the answer "System" means?
this means that your compiler (gcc) is set to "system". In order to avoid compiling problems you should set it to OpenFOAM. This can be done in the OpenFOAM-1.5-dev/etc/settings.sh (line 111 to 115) and looks like:
# Select compiler installation
# compilerInstall = OpenFOAM | System
You can also use the "system compiler" but most likely it is not exactly the same version as the one used by the OpenFOAM developers what can cause a lot of trouble (in my case it did).
Good luck, regards Julius
Indeed my system compiler is a wrong version.
1. I also had to "steal" the following folders from version 1.6:
2. Unlike NickG in #10 of this thread, I did not (yet) need to move the files in OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.3.3 to the level above
After this, foamInstallationTest and the cavity tutorial ran without errors.
|All times are GMT -4. The time now is 14:44.|