CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 17, 2008, 12:52
Default Hello, i have the same error a
  #21
New Member
 
clément ROSCHENKO
Join Date: Mar 2009
Posts: 1
Rep Power: 0
neshi is on a distinguished road
Hello, i have the same error as Samuel....

I succesfully install OpenFOAM and he can calculate some case (tutorials for example). But i can't display results with paraview because the native reader for openFOAM file is missing.....

I tried to install the native reader for OpenFOAM, as the README file explains (PV3Foamreader), but during the process the script cannot find 'libPV3Foamreader.so' in directory :

$HOME/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libPV3FoamReader.so.

I checked the directory and the file wasn't here! So, i think the file is not in the binary file and i would like to know if is it possible to retrieve this file from another source?

I use the "32 bits" version of OpenFOAM and i work on ubuntu 8.10 with this kernel '2.6.27-9-generic'.

On the other hand, i installed successfully the '64 bits' version of OpenFOAM on another computer. This version works perfectly, paraview too.....with the native reader ;).

And for this, 'libPV3Foamreader' exists in the correct location...

I need to make the '32 bits' version worked, somebody can help me please. I read many topics here and i couldn't find a complete solution to my problem.

Thank you in advance for any help you could give to me.

Neshi
neshi is offline   Reply With Quote

Old   December 17, 2008, 15:32
Default Hi, That is odd. I was abl
  #22
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 8
hsieh is on a distinguished road
Hi,

That is odd. I was able to compile paraview/paraFoam on 32 bit Ubuntu 8.10 without any problem (do need Qt-4.3.5). There is a thread on paraview/paraFoam on Ubuntu. Some additional packages (libmpfr-dev..) are needed according to the thread. You can check it out.

Pei
hsieh is offline   Reply With Quote

Old   December 19, 2008, 04:18
Default @Clement: Sorry, but I don'
  #23
New Member
 
Tammo Wenterodt
Join Date: Mar 2009
Posts: 24
Rep Power: 7
wenterodt is on a distinguished road
@Clement:

Sorry, but I don't know Samuel nor his error...

As mentioned before by others, it may be necessary to not only recompile the Foamreader, but also Paraview itself. I think you should try if the error disappears after compiling both.

//Tammo
wenterodt is offline   Reply With Quote

Old   January 2, 2009, 11:24
Default Hi all, I'm new to linux an
  #24
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 7
marico is on a distinguished road
Hi all,

I'm new to linux and OpenFOAM so I spent a few hours in try and error...

on my OpenSUSE 11.0 64bit I first got the same problem with the visualization of geometry etc... Then I followed the instructions of Tammo and got the same problem like others: I wasnt anymore able to login as a user (except of root).. I tried a lot and finally it worked by erasing the last line from the command:

# set QT related variables
QT=~/OpenFOAM/ThirdParty/Qt-4.3.5
export PATH=$QT/bin:$PATH
export LD_LIBRARY_PATH=$QT/lib:$LD_LIBRARY_PATH

Dont know if it is needed... now post-processing works and Linux allows me to log in ;) ...

PS: I had to recompile Paraview
marico is offline   Reply With Quote

Old   January 9, 2009, 04:11
Default Hi All, I was able to insta
  #25
New Member
 
Jaap Louwen
Join Date: Mar 2009
Location: Amsterdam, N-Holland, Netherlands
Posts: 2
Rep Power: 0
jaaplouwen is on a distinguished road
Hi All,

I was able to install everything and get it working by following Tammo's instructions. At one point I too found I could not login. The reason that was that I sourced the OpenFOAM bashrc (modified to allow the use of Qt-4.3.5) in my .bashrc file. Apparently, this is a problem for KDE4. If I source the OpenFOAM bashrc after login, there is no such problem. This may explain the problems some of you had.

Jaap
jaaplouwen is offline   Reply With Quote

Old   January 9, 2009, 04:12
Default Hi All, I was able to insta
  #26
New Member
 
Jaap Louwen
Join Date: Mar 2009
Location: Amsterdam, N-Holland, Netherlands
Posts: 2
Rep Power: 0
jaaplouwen is on a distinguished road
Hi All,

I was able to install everything and get it working by following Tammo's instructions. At one point I too found I could not login. The reason that was that I sourced the OpenFOAM bashrc (modified to allow the use of Qt-4.3.5) in my .bashrc file. Apparently, this is a problem for KDE4. If I source the OpenFOAM bashrc after login, there is no such problem. This may explain the trouble some of you had.

Jaap
jaaplouwen is offline   Reply With Quote

Old   January 9, 2009, 05:44
Default Hi Tammo, great work, no pr
  #27
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 60
Rep Power: 7
anger is on a distinguished road
Hi Tammo,

great work, no problems here.
Installed it according to your recipe, worked out of the box. The only thing I changed was to not use the tilda for setting the variable QT:

QT=/home/foamuser/OpenFOAM/ThirdParty/Qt-4.3.5

System: Debian Sid based on Kanotix 2006-4, x86_64

Best regards,
-Thomas
anger is offline   Reply With Quote

Old   January 13, 2009, 13:06
Default Thanks to Thomas! I used th
  #28
New Member
 
Ken Helland
Join Date: Mar 2009
Location: USA
Posts: 9
Rep Power: 7
kenhelland is on a distinguished road
Thanks to Thomas!

I used the variable QT:

QT=/home/OpenFOAM/ThirdParty/Qt-4.3.5

since I followed Tammo's prescription for locating the Qt pkg.

This solved my login problems using KDE4. I am now running openSUSE 11.1 and with this QT I can use KDE4 without problems. There are a few nice improvements in 11.1 so I am pleased.

Again, thanks for idea
Ken
kenhelland is offline   Reply With Quote

Old   January 18, 2009, 12:14
Default hi everybody i am new t
  #29
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 117
Rep Power: 7
naveen is on a distinguished road
hi everybody

i am new to OpenFOAM..I AM FACING PROBLEM IN INSTALLING openfoam 1.4.1 in mandriva LINUX 2008.1 VERSION...can u please help me how to install this with detailed procedure...
naveen is offline   Reply With Quote

Old   January 18, 2009, 12:18
Default hi everybody i am new t
  #30
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 117
Rep Power: 7
naveen is on a distinguished road
hi everybody

i am new to OpenFOAM..I AM FACING PROBLEM IN INSTALLING openfoam 1.4.1 in mandriva LINUX 2008.1 VERSION...can u please help me how to install this with detailed procedure...
naveen is offline   Reply With Quote

Old   January 18, 2009, 12:24
Default hi everybody i am new t
  #31
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 117
Rep Power: 7
naveen is on a distinguished road
hi everybody

i am new to OpenFOAM..I AM FACING PROBLEM IN INSTALLING openfoam 1.4.1 in mandriva LINUX 2008.1 VERSION...can u please help me how to install this with detailed procedure...
naveen is offline   Reply With Quote

Old   January 18, 2009, 12:30
Default hi everybody i am new t
  #32
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 117
Rep Power: 7
naveen is on a distinguished road
hi everybody

i am new to OpenFOAM..I AM FACING PROBLEM IN INSTALLING openfoam 1.4.1 in mandriva LINUX 2008.1 VERSION...can u please help me how to install this with detailed procedure...
naveen is offline   Reply With Quote

Old   January 20, 2009, 05:42
Default I am trying to get paraFoam wo
  #33
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 183
Rep Power: 7
grtabor is on a distinguished road
I am trying to get paraFoam working for OF1.5. I have installed and compiled Qt as detailed by Tammo at the top of this message - no trouble. I then try to recompile ParaView using the instructions from the README file, but get the following error message:

<foam@lutoslawski>buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /opt/foam/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /opt/foam/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc
CMake Error: ParaView requires an out of source Build. Please create a separate binary directory and run CMake there.
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done

This worked fine on my laptop which is almost identical in installation (both are running OpenSUSE 10.3). Does anyone have any suggestions as to what might be going wrong here??

Gavin
grtabor is offline   Reply With Quote

Old   January 25, 2009, 08:38
Default @Gavin Tabor: I have the same
  #34
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 7
mavimo is on a distinguished road
@Gavin Tabor:
I have the same error, (Ubuntu 8.10 - 64), into net i find prob is don't occur on 32bit, but only on 64bit machine; tyou OS is 32 or 64 bit?

Bye
MVM
mavimo is offline   Reply With Quote

Old   January 30, 2009, 20:54
Default Gentlemen: I am running par
  #35
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 251
Rep Power: 8
musahossein is on a distinguished road
Gentlemen:

I am running paraview 3.3.0 on OpenSuse 11.0 w/o any problems to date. Now when I try to save a screen shot of a wire frame of the tank in the 2dtank sloshing problem, ParaView crashes and issues numerous errors. I am including a snippet of it below:

X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0ec68
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to unlock a connection without having acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)

Any thoughts, suggestions and prayers will be gratefully accepted.

Musaddeque Hossein
musahossein is offline   Reply With Quote

Old   February 2, 2009, 17:59
Default Hi All, I am running openSU
  #36
New Member
 
Ken Helland
Join Date: Mar 2009
Location: USA
Posts: 9
Rep Power: 7
kenhelland is on a distinguished road
Hi All,

I am running openSUSE 11.1 and have done the Qt installation as described by Tammo. I ran with 11.0 for some time and moved to 11.1. In both cases, I have run into a problem generating the "movie.mpg" using convert (part of Image Magic). ParaFoam saves the animation of the dam Break tutorial as a series of jpg files. But when I try to generate the mpg version I get an error message. My input is:

convert dBf*jpg movie.mpg

where a typical file is dBf_0003.jpg and the output error message is:

convert: Delegate failed '"ffmpeg" -v -l -i "%M%d.jpg" "%u.%m" 2 > "%Z"'

I gather ffmpeg is the "delegate". Is something missing or perhaps not compatible? I have the same error message in both 11.0 and 11.1. I assume this worked in 10.3, but I no longer have it installed.

Is there a solution? Thanks,
Ken Helland
kenhelland is offline   Reply With Quote

Old   February 11, 2009, 09:10
Default Hi All, I try to install QT
  #37
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 7
marico is on a distinguished road
Hi All,

I try to install QT 4.3.5 on my 32 Bit OpenSuse 11.1 following the instructions from Tammo.
when configuring qt for installation I get many errors, concering missing files to include, for example:

string.h
sys/cdefs.h
gnu/stubs.h
stdio.h
stdlib.h
string.h
unistd.h
sys/utsname.h

so I'm not able to compile or install qt 4.3.5.
Has anyone an idea which software is maybe missing for this? I'm confused because on OpenSuse 11.0 it worked without problems.. Another question related to this is: why does QT 4.3.5 "know" that OpenFOAM is installed and for which reasen?! Cause the configuring process includes for example "OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686-pc-linux-gnu/ 4.3.1/include-fixed/features.h". Or is that just because of gcc?

Thanks a lot
Marco
marico is offline   Reply With Quote

Old   February 11, 2009, 21:55
Default Marco: Looks like you are m
  #38
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 251
Rep Power: 8
musahossein is on a distinguished road
Marco:

Looks like you are missing a bunch of C header files. They should be in the OpenSuse disk that you have. When you install these linux based operating systems, I think you have to select the "developer version" which automatically installs the C++ files that you need. You should be able to find these files on your OpenSuse disk.

Musa
musahossein is offline   Reply With Quote

Old   February 12, 2009, 02:32
Default Hey musaddeque, thanks a lo
  #39
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 7
marico is on a distinguished road
Hey musaddeque,

thanks a lot. I ran YAST to update gcc and some files (dont know what it really did) and now it works!

Marco
marico is offline   Reply With Quote

Old   February 16, 2009, 18:06
Default Hi All! This is my first po
  #40
New Member
 
Bruno Beban
Join Date: Mar 2009
Location: Munich, Germany
Posts: 4
Rep Power: 7
brunob is on a distinguished road
Hi All!

This is my first post on this forum! I am new to Linux and OpenFOAM, and I've found this forum really great and helpful.

@Tammo
I am also running OpenSuse 11 and OpenFOAM 1.5. I've followed your instructions but I had to recompile
Paraview and the PV3FoamReader. It now works fine!

@musaddeque
I had the same problem while taking the screenshot, but then I found topic on this forum discussing this problem. Here is the link: http://www.cfd-online.com/OpenFOAM_D...es/1/4438.html
Actually, I just add this line of code in my /etc/X11/xorg.conf file under the Section "ServerLayout":

Option "AIGLX" "false"

Paraview is not crashing any more while taking screenshots.
brunob is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaFoam error in OpenFOAM15 asaha OpenFOAM Paraview & paraFoam 24 November 2, 2009 19:16
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41
Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory gzy_1228 OpenFOAM Installation 0 November 15, 2008 14:31
ParaFoam didnbt work Leosding (Leosding) OpenFOAM Installation 11 February 17, 2005 16:44


All times are GMT -4. The time now is 17:35.