Indeed, I'm stumped as well here. I just ran with the latest OpenFOAM-1.7.x and ThirdParty-1.7.x, both from the git repository on an old Ubuntu 8.04 64 bit inside a virtual machine and there were no problems! It uses by default flex 2.5.34!
By the way, the "git clone" I had posted a while back, namely post #22, was pointing to the OpenFOAM repo when it should have been pointed as now it is, to ThirdParty-1.7.x: Code:
git clone git://github.com/OpenCFD/ThirdParty-2.0.x.git
Best regards and good luck! Bruno |
1 Attachment(s)
Dear Bruno.
I did the steps that you suggested now 3 or 4 times, always starting from the beginning. Nevertheless the compilation failed. HTML Code:
/usr/bin/ld: cannot find -lEulerianInterfacialModels |
Hi Anne,
:eek: Hold on... I think with all of going back and forth, the system's gcc got in the way! Check which gcc and g++ is visible: Code:
which gcc Quote:
Code:
alias of20x-linux64='. $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc foamCompiler=ThirdParty WM_COMPILER=Gcc45' Code:
foamCompiler=ThirdParty Code:
alias of20x-linux64='. $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc' Code:
foam Best regards and good luck! Bruno |
1 Attachment(s)
Good morning Bruno!
I checked for the gcc, and found out that the right gcc - version was already visible. HTML Code:
lincke@master:~/OpenFOAM/OpenFOAM-2.0.x> which gcc The output is attached once again.... Thank you very much for your help. I wish you a nice day! Regards Anne |
Good morning Anne,
:mad: that flex is sure being uncooperative :mad: It's the only problem in the whole installation process!! You're going to have to either demand the latest flex 2.5.35, or install it yourself from here onto your workspace. You can download it from here: http://flex.sourceforge.net/ Building flex should be simple enough: Code:
./configure --prefix=/home/lincke/OpenFOAM/ThirdParty-2.0.x/platforms/linux64/gcc-4.5.1/ Then try running Allwmake straight away. If it still won't work, try cleaning up again... If after that it still won't work... it's going to have to be some other crazy problem :confused: Best regards, Bruno |
:D:D:D:D:D:D:D:D:D:D
I installed the latest flex version, and now everything is fine. It compiled for hours and there was no error (as far as I can see)!! I can't believe it. For the future I definitely learned that I should always check for gcc and flex. THANK YOU VERY MUCH!!! |
Hi there,
I'm also trying to install OpenFOAM 2.0.x on my computer (clean OpenSUSE 11.4 installation). When checking the installation with foamInstallationTest I get: PHP Code:
Kind regards Homer |
Hi everybody,
I'm trying to install paraFoam (OF-2.0.0). The OS is an OpenSuse11.2 64 bits. I have put the librairies qt-everywhere-opensource-src-4.6.4 and gmp-5.0.1 in the ThirdParty-2.0.0 folder. Then I have compiled both creating a folder "./build/linux64Gcc". Finally, I have modified the path of the qmake in the makeParaFoam file and launched the compilation. There was no error message but when I try to launch paraFoam (or paraview) after sourcing OF-2.0.0, I get : "/home/trap/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/paraview-3.10.1/lib/paraview-3.10.1/paraview: symbol look up error: /home/trap/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/paraview-3.10.1/lib/paraview-3.10.1/lib/paraview-3.10/libpqWidgets.so: undefined symbol: _ZNK16QAbstractSpinBox16inputMethodQueryEN2Qt16Inp utMethodQueryE" I don't understand the meaning of this error. I tried to find the .so file mentionned but unsuccessfully. All I found was paraFoam .rpm files... Does anyone of you have an idea to solve this problem ? Thank you. Aurelien |
OK, I'm going to post in a two for one...
______________ Greetings Homer and welcome to the forum! Try following these instructions: OpenFOAM 2.0.x and openSUSE 11.4 ______________ Hi Aurelien, Unfortunately I haven't yet built ParaView 3.10.1 in OpenFOAM 2.0. The only clues I can provide right now are these:
Best regards, Bruno |
Quote:
Code:
Checking basic setup... |
@Anne: I haven't had time to fully verify these instructions: http://www.cfd-online.com/Forums/blo...-qt-4-6-4.html
At the time of writing this post, ParaView was still building :( edit: OK, it's now somewhat confirmed that the instructions work, after I made some changes to them. Keep in mind that for now they only work with bash; csh is going to have to wait... @Homer: What do you have at the end of the file "~/.bashrc"? Is it something like this :confused:: Code:
source $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc Best regards, Bruno |
My bash-File is:
Code:
# Sample .bashrc for SuSE Linux |
1 Attachment(s)
I also saved the makelog-File. Maybe this helps?
|
Hi Homer,
Good thing you posted the log file. Apparently OpenMPI isn't being seen by OpenFOAM's build system. Did you install all of the necessary packages for OpenMPI? Best regards, Bruno |
Hi Bruno,
as I am no Linux-Specialist, I'm sometimes not sure, if I do it right. But I followed precisely the ToDo here: http://albertopassalacqua.com/?p=973 But I checked it once again: Code:
simulation@dhcppc3:~/OpenFOAM/OpenFOAM-2.0.x> sudo zypper install openmpi |
Hi Homer,
Well this is a bit surreal... I usually fix these kinds of things by starting a new terminal. In this case, we have actually have to log out and log back in!! :eek: I only figured this out after reading this post at forums.opensuse.org: http://forums.opensuse.org/english/o...ml#post1977744 But before that, I already had used the command mpi-selector-menu as root to set it as "system wide" and then as "user based", with no change in the outcome. Logging out and logging back in fixed the missing link... :mad: ---- Now where's my shotgun... I've gotta blow a hole or two on a certain Linux distro... (walks out the door raging mad with a shotgun...) (Now looking at openSUSE) What's the big idea of acting like Windows? (Bam Bam...) Did you learn your lesson now? Y'ain't no stinking Windows, now ar'ya? ---- :rolleyes: Anyway, interlude aside... Another package you are going to need is openmpi-devel. This provides the much needed mpi.h file and respective company :D. I hope this will fix the problem :) Best regards, Bruno |
Quote:
Code:
Summary Thank you very much for your assistance. Kind regards Homer |
Revised HowTo online
Dear Foamers,
somewhere up this thread (Post #25) I posted a HowTo on installing OF2 on SLC 5.6. A slightly more extensive Howto by now is available at http://cern.ch/blinseis in the section about OpenFOAM. In case anybody else tried it (and succeeded), could you please send me a message, particularly stating on what version you built? I would like to know, how far down-gradable that HowTo would be, but I don't have any experience concerning virtual machines and setting up older systems within them, so trials would mean completely setting up a new system for me... |
hii brunosir,
plz tel me installation about openfoam2.0.0
i m new user of openfoam Actually i install openfoam2.0.0 ubuntu pack on my ubuntu11.04. i started to solved the tutorials. but plz tel me after installing the openfoam ubuntu pack is it require to install any source pack? and also tel me is it necessary to install git repository? because when i install it i found error like apt-get install git-core E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? so plz solve my problem i m waiting for ur reply |
Greetings jignesh_thaker2007,
Quote:
Quote:
Code:
sudo apt-get install git-core Bruno |
All times are GMT -4. The time now is 17:24. |