|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 1.6.x Installer for Ubuntu |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2010, 13:35 |
|
#21 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
Thanks akidess, the script is not only aimed to install OF, it is intended to do other things also, that comes to be needed as an user evolve his knowledge about the software, like provide easy appliances builds, update from the git and install remote servers (that is way the use of dialogs other then some more visual interfaces).
|
|
April 2, 2010, 19:42 |
|
#22 |
New Member
JohnMichaelKane
Join Date: Mar 2010
Posts: 18
Rep Power: 16 |
Greetings.
Tested the newly updated script, everything installed without issue. Fantastic work. |
|
April 27, 2010, 20:53 |
|
#23 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all,
Quote:
So, as a redundancy effort, I'm posting as a reference to the post #18, which is now outdated! The latest script is available at google code here: openfoam-ubuntu Best regards, Bruno
__________________
|
||
April 28, 2010, 19:20 |
|
#24 |
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17 |
Hi,
I tried to use the script on a 10.04 x86_64 version of Ubuntu. The main compilation process went smoothly, but when building Paraview, I got: Code:
ParaView_DIR=/home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc ---- Configuring paraview-3.6.1 (major version: 3.6) MPI support : false Python support : false MESA support : false Qt dev support : true Source : /home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1 Target : /home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc -DVTK_USE_TK=FALSE -DBUILD_SHARED_LIBS:BOOL=ON -DVTK_USE_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_BUILD_QT_GUI=ON ../.. ---- cmake: /home/vinvin/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake) Starting make make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.01elapsed 0%CPU (0avgtext+0avgdata 4720maxresident)k 0inputs+0outputs (0major+347minor)pagefaults 0swaps Done make For quicker development, linking lib/paraview-3.6/ -> bin/ Creating html documentation make: *** No rule to make target `HTMLDocumentation'. Stop. Installing ParaView to /home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc disabled 'make install' for now, just use links --- Installation complete Set environment variables: export ParaView_INST_DIR=/home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1 export ParaView_DIR=/home/vinvin/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc export PV_PLUGIN_PATH=/home/vinvin/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt export PATH=$ParaView_DIR/bin:$PATH --- -- Replacing path hard links for $ParaView_DIR *.cmake: -- Replacing path hard links for $ParaView_INST_DIR *.cmake: -- Replacing path hard links for $WM_COMPILER_DIR *cmake*: done real 0m0.575s user 0m0.010s sys 0m0.030s |
|
April 28, 2010, 20:20 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings John,
What version of the script did you use? Or in other words, when did you download the script? Because that bug shouldn't happen anymore with the latest version Additionally, what options did you choose when running the script? Or maybe more specifically, did you pick to use OpenFOAM's gcc? Best regards, Bruno
__________________
|
|
April 29, 2010, 10:02 |
|
#26 |
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17 |
I took version 4.1 from http://code.google.com/p/openfoam-ubuntu/
But, I see that a new one is available, which I am going to try ASAP. i used all the default options, which mean using openfoam gcc without rebuilding it. |
|
May 10, 2010, 15:17 |
Missing packages on ubuntu 10.04
|
#27 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Hi all!
First I would like to thank the authors for the good work on the script which worked flawless on ubuntu 9.10! I decided, apparently for no better reason than "I can, so I will", to update my ubuntu. I did a clean install of ubuntu 10.04 and tried installOF.sh v0.5 which failed. It seemed none of the utilities in ~/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/postProcessing/graphics would compile. When I tried running wmake on just PV3FoamReader it gave the following error no rule to create target libpng.so needed by libPV3FoamReader.so I searched the ubuntu package repository and found that the package libpng12-dev provided libpng.so. I installed the package but then wmake complained on missing libxi.so, a found a package that provided it but wmake was not satisfied. In total I had the following missing targets: libpng.so, libxi.so, libXrender.so, libXrandr.so, libXcursor.so, libXinerama.so, libfreetype.so, libfontconfig.so, libgthread-2.0.so and had to install the following packages: libxi-dev libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev libglib2.0-dev after that all went well. I hope this can be of use to anybody else trying the script. Best regards Nicolas |
|
May 10, 2010, 17:21 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Nicolas and welcome to the forum
Many thanks for the report. And here is another missing package: qt4-dev-tools It's necessary for Paraview to have online help up and running. This script project has an experimental script that is in the works and we are thinning out the bugs. And your report comes quite in handy, since I didn't catch that problem yet. Best regards, Bruno
__________________
Last edited by wyldckat; May 10, 2010 at 17:21. Reason: missed a space... |
|
May 11, 2010, 15:11 |
|
#29 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Thanks for the welcome,
Thanks for the advice, I had to compile paraview in order to get the help to work, just using the binaries was not enough. I compiled paraview with the qt-version that comes with Ubuntu but I am experiencing some graphical glitches. I think I'll recompile with the recommended version of qt. With installOF.sh it shouldn't be a problem . Best regards Nicolas |
|
May 12, 2010, 20:26 |
Install on Clean 64bit Lucid
|
#30 |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Hey guys,
Again thanks for all your hard work. I ran the installOF script this afternoon (version 0.9) on a fresh installation of Lucid 64 bit. I selected all the default parameters as well as a custom compilation of the ParaView package. The download, and compilation all worked flawlessly. However, when I tried to run the IcoFoam/cavity example, I was not able to launch ParaView with the paraFoam command. The following error was thrown. $ paraFoam created temporary 'cavity.OpenFOAM' /home/user/OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam: line 129: paraview: command not found Thanks in advance! Aleksey |
|
May 12, 2010, 20:38 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Aleksey,
We're working on the fix right now, but it will take a while until we get it fixed. You probably didn't read what the installOF.sh script gave you near the end, reporting that Paraview didn't build It has happened to us a couple of times now... and hasn't been fixed before, because I tested the script various times in the 32bit version and only recently did I try in the 64bit version Will post here when it is finally fixed Best regards, Bruno
__________________
|
|
May 12, 2010, 20:46 |
|
#32 |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Hi Bruno,
Thanks for the quick reply (as always ). You're right, I just ran it and then left, only to come back to try the tutorials. I will keep an eye out on this thread than for a fix. Thanks again for all your hard work guys! Aleksey |
|
May 13, 2010, 15:51 |
|
#33 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
Alekesey,
Can you provide the logs from the installation ?? They should be located at: OpenFOAM-1.6.x/foamIT.log OpenFOAM-1.6.x/make.log Third-Party-1.6.x/makeParaview.log I compiled with success in x64 10.04 =/ .. so I cannot reproduce the error here... |
|
May 13, 2010, 15:56 |
|
#34 |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Canesin,
Unfortunately because I wasn't able to compile the environment on 10.04 yesterday, I did a complete re-installation last night back to 9.10; so the logs are lost . Did you use the default settings for the installation script? I imagine that I will try to upgrade and install the complete OpenFOAM environment some time again within the next two weeks. I will keep you updated if I receive the same error, and will be sure to save the logs this time. Aleksey |
|
May 13, 2010, 16:27 |
|
#35 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
Okey,
No, i didn't used default ones, but almost.. I only used Paraview with Python. Yes, I'm thinking here, I believe that an automatic upload of the logs when errors are meet will be a nice feature to have... Maybe I implement this until the end of the week... |
|
May 13, 2010, 20:11 |
|
#36 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all,
Hopefully the latest code push I've made will fix most of the problems so far. The bug that affected johndeas and aleksey builds of ParaView, should no longer be a problem. The cause of the problem was that ParaView wasn't getting built if the system's cmake doesn't get access to the system's C++ libraries, i.e., the proper version libraries. Best regards, Bruno
__________________
|
|
May 14, 2010, 10:06 |
Installation issues...
|
#37 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 |
Good morning,
I tried installing openFOAM using the latest version of the script (v 0.9) on a fresh clean install on ubuntu 10.04 LTS, The base system installed fine but I get problems with the 3rd party installation (namely ParaView and ccm26ToFOAM. The output from the prompt is: . .. ,,, Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. done. This report has been saved in file /home/fletcher/OpenFOAM/OpenFOAM-1.6.x/foamIT.log ------------------------------------------------------ Build Paraview: Build process didn't finished with success. Please check the log file for more information. You can post it at this forum thread: http://www.cfd-online.com/Forums/ope...er-ubuntu.html You can also verify that thread for other people who might have had the same problems. ------------------------------------------------------ ------------------------------------------------------ Paraview isn't available where it is expected: /home/fletcher/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc/bin/paraview Therefore it isn't possible to proceed with building the plugin PV3FoamReader. ------------------------------------------------------ ------------------------------------------------------ Build ccm26ToFoam: This will also build the libccmio library, which requires specify downloading of the files for it. The build process is going to be logged in the file: build_ccm26.txt foamIT.txt If you want to, you can follow the progress of this build process, by opening a new terminal and running: tail -F /home/fletcher/OpenFOAM/OpenFOAM-1.6.x/build_ccm26.log Either way, please wait, this will take a while... Build process didn't finished with success. Please check the log file for more information. You can post it at this forum thread: http://www.cfd-online.com/Forums/ope...er-ubuntu.html You can also verify that thread for other people who might have had the same problems. ------------------------------------------------------ ------------------------------------------------------ Installation complete - You have choose to use bash alias Before running OpenFOAM on a new terminal/console, type: startFoam The OpenFOAM environment is ready to be used. Muito obrigado, Bruno F. |
|
May 14, 2010, 10:30 |
|
#38 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Bruno and welcome to the forum!
OK, as for ccm26ToFoam, you were unlucky and didn't get www.cfd-online.com to be online at the time of compilation. We'll take care of adding the files to the script's repository, since Google code has a better chance of being online As for ParaView, did you use any additional options? Like building it with MPI? Could you also post the file build_Paraview.log that is in the ThirdParty-1.6.x folder, so we can make sure what the error was? Probably it says something about "GLIBC 3.4.11". As for the script version, 0.9 doesn't yet reflect the changes I wrote about in post #36 The latest version (although it could be a bit unstable ) can be always downloaded from this link: http://openfoam-ubuntu.googlecode.com/hg/installOF.sh Also, Thanks for reporting! If you can test the latest and check back to us would also be great Best regards, Bruno Santos
__________________
|
|
May 15, 2010, 01:15 |
|
#39 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 |
Thanks Bruno. I'll try running the new script right away...I'll let you guys know if it works or not. Meanwhile here is the log file you requested: build_Paraview.txt.
Cheers, Bruno F. |
|
May 15, 2010, 11:58 |
|
#40 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 |
Bruno,
I had the latest version of the OF install script running on my machine this past night...looks like the new script was able to compile the base system and paraview successfully, which is great! The only remaining issue remaining for me is the starccm+ build error. It would be nice to get the starccm+ script compiled (at least for me) since I use both Star-ccm+ and (more recently) openFOAM at work...anyway, this is just fantastic! I appreciate all of your help! Regards, Bruno F. bluild_ccm26.log error output: WMAKE timing start: PWD='OpenFOAM-1.6.x/applications/utilities/mesh/conversion/Optional' Time Stamp=1273911217 + cd /home/fletcher/OpenFOAM/ThirdParty-1.6.x + ./AllwmakeLibccmio + packageDir=libccmio-2.6.1 + origDir=/home/fletcher/OpenFOAM/ThirdParty-1.6.x + [ ! -d libccmio-2.6.1 ] + [ ! -e libccmio-2.6.1.tar.gz ] + [ -e libccmio-2.6.1.tar.gz ] + tar -xzf libccmio-2.6.1.tar.gz + [ -d libccmio-2.6.1 -a ! -d libccmio-2.6.1/Make ] + [ ! -d wmakeFiles/libccmio/Make ] + cp -r wmakeFiles/libccmio/Make libccmio-2.6.1/Make + [ -d libccmio-2.6.1/Make ] + wmake libso libccmio-2.6.1 WMAKE timing start: PWD='ThirdParty-1.6.x/libccmio-2.6.1' Time Stamp=1273911218 wmake error: file 'Make/files' does not exist + [ -e /home/fletcher/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libccmio.so ] real 0m1.064s user 0m0.870s sys 0m0.290s |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 05:57 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 08:06 |