OpenFOAM 2.1.1 installation on openSUSE 12.2 32 bit
Dear Foamers:
I have a laptop that I recently installed openSUSE 12.2 32 bit. It runs gnome with the cinnamon flavor. uname -a returns: Code:
Linux 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) i686 i686 i386 GNU/Linux 1. sudo zypper in libqt4 libQtWebKit4. These libraries were already included in the installation. 2. sudo zypper in openmpi. This installs openmpi-1.5.4-4.1.4 which is not liked by openFOAM installation and complains about several libraries missing. Code:
sudo rpm -i http://www.openfoam.org/download/sus...1.1-1.i586.rpm Code:
ln -s libmpi.so.1.0.2 libmpi.so.0 3. openmpi-1.4.3-18.1.2.i586.rpm was installed. 4. OpenFOAM-2.1.1-1.i586.rpm was installed. 5. cmake was installed. 6. As root, source /opt/OpenFOAM-2.1.1/etc/bashrc works? 7. As user, source /opt/OpenFOAM-2.1.1/etc/bashrc returns; Code:
bash: /opt/OpenFOAM-2.1.1/etc/bashrc: line 143: syntax error near unexpected token `done' 8. And finally, Allwmake complains about libOpenFOAM and OpenFOAM does not work. The errors in Allwmake (run several times) are given below; Code:
grep -i error log.allwmake.txt Any suggestions on fixing this problem is greatly appreciated. Kind regards, K1. |
Greetings saturn_53 and welcome to the forum!
You better uninstall the RPM package and install from source: http://openfoamwiki.net/index.php/In...#openSUSE_12.2 Best regards, Bruno |
OpenFOAM 2.1.1 installation on openSUSE 12.2 32 bit
Hi Bruno:
Thank you very much for the information. Kind regards, K1. |
Hi Guys,
I get many errors(target application' not remade...) when running ./Allwmake , and i cannot install the dependent packages(suggested in the install instructions) because im installing OpenFOAM on a computer at university and i cannot use 'sudo'. Do you know how i can do that? Thanks in advance |
Greetings Daniel73,
Please follow the steps #8 and #9... more specifically, run: Code:
./Allwmake > make.log 2>&1 Best regards, Bruno |
1 Attachment(s)
Quote:
Please find it in the attachment. (Sorry i don't know #8 an #9 of what? this link? : http://www.openfoam.org/download/source.php) |
Ooops, sorry, I had assumed you had already had a look into what I had written in post #2:
Quote:
I had a look into the "make.log" file and it's far too incomplete. Please run again the commands from my previous post, but run them inside the main "OpenFOAM-2.2.2" folder. |
Quote:
By implementing the ./Allwmake in the OpenFOAM-2.2.2 again i got some compilation errors, but after following #6 (which was not in the official website) , the problem was solved and now everything works fine. Thanks. |
Hi all, hi Bruno,
trying to compile the OF 2.1.x on openSUSE 13.2 (Harlequin) (x86_64) I also get the PV3blockMeshReader_SM errors: Code:
[ 94%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/PV3blockMeshReader_SM_Plugin.cxx.o Quote:
Any idea, what could be the reason? Linux-version: Quote:
Quote:
|
Greetings Illya,
That's a very strange error to be happening so late in the build... a few questions:
Bruno |
Quote:
Quote:
Code:
wclean all Quote:
Code:
./Allclean Best regards, Ilya |
1 Attachment(s)
Hi Bruno,
indeed, the reason was the paraview. Deleting ThirdParties and downloading them over new helped to compile the OF without problems. But there still some issues I don't really understand. There is also another version of paraview (version 4.2.0) already installed with the system 1) While compiling the ThirdParties using Allwmake, OF-paraview is not being compiled. Is it because of the system-paraview? 2) Trying to compile the OF-paraview manually by ./makeParaView causes errors (attachment) 3) paraFoam script doesn't work: Quote:
a) Are there any disadvantages when using the system-paraview instead of the OF-paraview? As far as I could observe, paraview can handle OF cases on it's own, reconstructed as well as decomposed b) can both the system and the OF paraview coexist, without conflicts? Best regards, Ilya |
Hi Ilya,
The system ParaView can coexist with the custom one, although in some situations there were some issues, because one version was trying to use the libraries from the other one. But since it's 3.12.0 versus 4.2.0, there shouldn't be such a collision. Some of the problems you're seeing in building ParaView 3.12.0 also occur when building ParaView 4.1.0 from source code, as indicated in these instructions: http://openfoamwiki.net/index.php/In...#openSUSE_13.2 - as you can see in step #13. The detail is that the necessary patches will have to be slightly different for ParaView 3.12.0. If you already have ParaView 4.2.0 in your system, then you can stop investing time in compiling the much older ParaView 3.12.0. You can simply follow the instructions on this FAQ: http://openfoamwiki.net/index.php/FA...er_in_ParaView Nonetheless, there will be some issues with some of the more recent boundary conditions that are present in OpenFOAM 2.*. For example: http://www.cfd-online.com/Forums/ope...how-field.html - if you reaaaaaaaaaaally need to post-process such cases, I can try and find some time next weekend to build OpenFOAM 2.1.1 and ParaView 3.12.0 on openSUSE 13.2 and then write the respective instructions on the wiki. Best regards, Bruno |
Hi Bruno,
Quote:
Thank you very much! Best regards, Ilya |
All times are GMT -4. The time now is 14:25. |