|
[Sponsors] |
September 12, 2008, 06:45 |
Tried the script and it just w
|
#1 |
New Member
Louise Jivan Shah
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
Tried the script and it just work great!!! Thanks a lot Jure!
|
|
September 20, 2008, 08:55 |
I tried the script on my 32 bi
|
#2 |
Senior Member
|
I tried the script on my 32 bit machine with success.
So first of all! Thanks a lot Jure! But compiling QT 4.3.5 take a lot of time. My thoughts were to use (libqt4xx) comment wget 4 QT 4.3.5 download and put some more debs to aptitude libqt4-dev qt4-dev-tools libqt4-opengl-dev in the script, that would install QT 4.4 modify "CMakeLists.txt" => comment the line: 94 as described in http://www.cfd-online.com/cgi-bin/OpenFOAM_Discus/show.cgi?tpc=126&post=24573#POST245 73 and use the rest of the install script as before |
|
September 21, 2008, 09:58 |
Jure,
I use SUSE10 SP1 an
|
#3 |
Guest
Posts: n/a
|
Jure,
I use SUSE10 SP1 and do not have sudo and apitude packages. I guess these two are not for SUSE. Is there another way that I can go around so I can install OpenFOAM on my server? By the way, it is a Sun server using AMD64 processors. Thanks, Yongsheng |
|
September 22, 2008, 09:56 |
Dear Lian,
sudo is part of
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Dear Lian,
sudo is part of all distributions, and SUSE installs it by default. You can check with: rpm -qa sudo However it is easier to use "su", so that you have to insert root's password only once. The command line interface for the package manager o is "rug", and the syntax to install packages is: rug in <package_name> You might want to check if you have "zypper", that was introduced in openSUSE 10.2, and probably also in SLE 10 with SP1. The syntax is the same: zypper in <package_name> but it does not rely on the ZENWorks daemon, making it more efficient. I hope this helps, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
September 22, 2008, 17:46 |
Hi Alberto,
Thank you for
|
#5 |
Guest
Posts: n/a
|
Hi Alberto,
Thank you for the response I checked with our system administrator and he knows suse but not others. So follow the instruction in the INSTALL of OPENFOAM-1.5. We almost get there but get error message like /usr/local/bin/ld: cannot find -lfiniteVolume collect2: ld returned 1 exit status It seems that this is a common error. I am not sure whether there is a solution. I use SUSE10, sp1. gcc4.3.1 cmake 2.4--patch 6 ld --2.18 I compiled all these over the weekend and the installation still does not work. Maybe should switch to others. Thanks, Yongsheng |
|
September 22, 2008, 22:13 |
I don't think the distribution
|
#6 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
I don't think the distribution is the problem (I have SUSE 10 too), but a library path problem. Is the OF bashrc sourced correctly?
You might want to try the easy way of using the third party tools (compiler, cmake, ...) provided by OpenCFD. Regards, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
September 25, 2008, 06:48 |
Alberto,
I compile the so
|
#7 |
Guest
Posts: n/a
|
Alberto,
I compile the source code using the binary version of the Thirdparty package. When I compile the code, it has the same error. /usr/bin/ld cannot find lfiniteVolume. So I installed sudo but cannot install aptitude on my SUSE. If I do not have apitude, how can I use the script posted here? Thanks, Yongsheng |
|
September 25, 2008, 11:48 |
You don't need the script post
|
#8 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
You don't need the script posted here to install OpenFOAM 1.5 on your system. That script is specific for Ubuntu.
The error you obtain is not related to the fact you don't have aptitude, but to a wrong setting in your paths. First of all, you need to install QT 4.3.5, and being a SLE 10 user, you're lucky, because you can install the pre-packaged RPM offered on the Novell buildservice, without conflicts with newer versions. Simply add this repository to your installation sources in YaST: http://download.opensuse.org/reposit...:/Qt43/SLE_10/ and then install libqt4-devel-4.3.5-2.1.i586.rpm and libqt4-4.3.5-2.1.i586.rpm After that, simply follow the installation instructions provided by OpenCFD in their package, and you will be able to compile OpenFOAM. - Create a directory called OpenFOAM in your home - Obtain the source from the git repository, so you have the latest updated version. - Extract the third party package. - Run ./Allwmake in the main directory ~/OpenFOAM/OpenFOAM-1.5.x I hope this helps. Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
September 25, 2008, 12:44 |
Of course, if you work on a 64
|
#9 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Of course, if you work on a 64 bit platform, use the 64-bit RPMS for Qt.
A.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
September 27, 2008, 15:40 |
Hi,
I just installed Ubuntu
|
#10 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18 |
Hi,
I just installed Ubuntu 8.04 LTS Desktop Edition for the first time on my new Dell Latitude D430 Laptop with Intel Core 2 Duo U7700 (64 bit) CPUs. I used the script provided by Jure (thanks!), but I would like to add a couple of comments that might help others who are trying to do the same. First of all, in order to be able to use the script in a freshly installed Ubuntu distribution you must first download all the packages (APT). Otherwise the sudo and aptitude will not work. I guess that this is what Jure was trying to tell me, but I'm too fresh with linux installations to understand this completely. The script by Jure worked nicely until the buildParaView3.3-cvs. Then I had the following error message: -------------------------------------------- -- Check for working C compiler: /home/hani/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken CMake Error: The C compiler "/home/hani/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc" is not able to compile a simple test program. It fails with the following output: /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory `/home/hani/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp' /home/hani/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/hani/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/C MakeTmp/CMakeFiles 1 make[1]: /home/hani/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake: Command not found make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 127 make[1]: Leaving directory `/home/hani/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp' make: *** [cmTryCompileExec/fast] Error 2 CMake will not be able to correctly generate this project. -------------------------------------------- This problem was solved by sourcing the OpenFOAM bashrc file in order to use the gcc-2.4.6 distributed with OpenFOAM. However, for some reason it was necessary to comment out the cmake part of the OpenFOAM-1.5/etc/apps/paraview3/bashrc so that the system cmake (version 2.4-patch 7) was used instead of the one distributed with OpenFOAM. Don't ask me why, but perhaps someone else knows why. Then I was able to continue with the rest of the script by Jure successfully. Good luck with your installations! Håkan. |
|
September 29, 2008, 21:53 |
Thank both. Here is what I did
|
#11 |
Guest
Posts: n/a
|
Thank both. Here is what I did.
1: I reloaded the SUSE10 SP1 on the server. (I am afraid that I messed up some files) 2: install qmake4.3.5 3: install gmp4.2.2 (because when I compiled the OpenFOAM the makefile does not recognize the binary format of some libraries in the ThirdParty) 4: install mprf2.3.2 5: try to configure gcc4.3 However, I always get the waring message saying that Building GCC requires GMP 4.1+ and MPFR 2.3.0+. 6: I use > rpm -q mpfr and find that my mpfr/gmp are a lower version mpfr-2.2.1-6.6 Confused. Is anyone in US? Someone can send me his contact so I can call for some help? send email to y0lian05@louisville.edu. Thanks |
|
January 17, 2009, 12:22 |
I think use apt-get and not ap
|
#12 |
Member
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17 |
I think use apt-get and not apitude is best solution.
|
|
January 18, 2009, 19:54 |
I stand corrected. Apparently
|
#13 |
Guest
Posts: n/a
|
I stand corrected. Apparently there is an APT for RPM-based distributions:
http://www.linux-magazine.com/issue/54/apt4rpm.pdf Jure |
|
January 25, 2009, 07:52 |
For Ubuntu system this package
|
#14 |
Member
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17 |
For Ubuntu system this package are not aviable:
. No candidate version found for firebird2-dev . No candidate version found for libmpfr1 change to . firebird2.0-dev automatically add other dependences, I try to find substitute for libmpfr1 |
|
January 25, 2009, 08:00 |
For Ubuntu system this package
|
#15 |
Member
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17 |
For Ubuntu system this package are not aviable:
. No candidate version found for firebird2-dev . No candidate version found for libmpfr1 change to . firebird2.0-dev automatically add other dependences, I try to find substitute for libmpfr1 |
|
January 25, 2009, 15:53 |
Well, if you look closely, the
|
#16 |
Guest
Posts: n/a
|
Well, if you look closely, the script installs both firebird2-dev and firebird2.0-dev as well as libmpfr1 and libmpfr1ldbl, because Ubuntu and Debian name some of their packages differently. So ignore the errors, the appropriate packages still get installed.
|
|
January 27, 2009, 09:18 |
Hi GUYS
I am running the s
|
#17 |
Guest
Posts: n/a
|
Hi GUYS
I am running the script for the installation but after downloading and extracting the files, the installation process is halted due to missing libraries. here is on the of the message i received. Initializing package states... Done Couldn't find any package whose name or description matched "build-essential" Couldn't find any package whose name or description matched "cmake" Couldn't find any package whose name or description matched "firebird2-dev" Couldn't find any package whose name or description matched "firebird2.0-dev" No candidate version found for flex please kindly give me directions Regards |
|
January 27, 2009, 09:30 |
Which Linux distribution are y
|
#18 |
Guest
Posts: n/a
|
Which Linux distribution are you running?
|
|
January 27, 2009, 10:18 |
I am runing Ubuntu 8.10
|
#19 |
Guest
Posts: n/a
|
I am runing Ubuntu 8.10
|
|
January 27, 2009, 10:28 |
Post the output of the command
|
#20 |
Guest
Posts: n/a
|
Post the output of the command
cat /etc/apt/sources.list |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install OpenFoam in Windows XP | robert_dekker | OpenFOAM Installation | 4 | October 20, 2010 22:15 |
install the openfoam | aya | CFX | 4 | July 23, 2008 08:58 |
How to run Openfoam in a cluster after I install it | xiuying | OpenFOAM Installation | 5 | May 5, 2008 13:54 |
OpenFOAM and Paraview install issues | spridal86 | OpenFOAM Installation | 7 | February 13, 2008 14:15 |
Having problems to Install OpenFOAM 13 release of PowerLab2 | ed_teller | OpenFOAM Installation | 0 | June 11, 2007 11:50 |