CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory (https://www.cfd-online.com/Forums/openfoam-installation/57231-howto-make-parafoam-openfoam15-work-opensuse11-installing-qt435-home-directory.html)

neshi December 17, 2008 12:52

Hello, i have the same error a
 
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

hsieh December 17, 2008 15:32

Hi, That is odd. I was abl
 
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

wenterodt December 19, 2008 04:18

@Clement: Sorry, but I don'
 
@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

marico January 2, 2009 11:24

Hi all, I'm new to linux an
 
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

jaaplouwen January 9, 2009 04:11

Hi All, I was able to insta
 
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 January 9, 2009 04:12

Hi All, I was able to insta
 
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

anger January 9, 2009 05:44

Hi Tammo, great work, no pr
 
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

kenhelland January 13, 2009 13:06

Thanks to Thomas! I used th
 
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

naveen January 18, 2009 12:14

hi everybody i am new t
 
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 January 18, 2009 12:18

hi everybody i am new t
 
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 January 18, 2009 12:24

hi everybody i am new t
 
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 January 18, 2009 12:30

hi everybody i am new t
 
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...

grtabor January 20, 2009 05:42

I am trying to get paraFoam wo
 
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

mavimo January 25, 2009 08:38

@Gavin Tabor: I have the same
 
@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

musahossein January 30, 2009 20:54

Gentlemen: I am running par
 
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

kenhelland February 2, 2009 17:59

Hi All, I am running openSU
 
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

marico February 11, 2009 09:10

Hi All, I try to install QT
 
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

musahossein February 11, 2009 21:55

Marco: Looks like you are m
 
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

marico February 12, 2009 02:32

Hey musaddeque, thanks a lo
 
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

brunob February 16, 2009 18:06

Hi All! This is my first po
 
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.


All times are GMT -4. The time now is 09:40.