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)

wenterodt November 7, 2008 08:29

Since there is a lot of confus
 
Since there is a lot of confusion about Open Suse 11 (which needs Qt4.4) and OpenFOAM1.5 respectively ParaView3 (which needs Qt4.3), I want to try to solve the problem for all non-professionals. What is described here is a parallel installation of Qt4.3.5 in the home directory of the user, so it will not screw up the operating system, which is dependent on QT4.4. Here is what worked for me:

HowTo make paraFoam run on an OpenSuse 11 machine:

After installing OpenFOAM by following the steps (without #7) described in
http://www.opencfd.co.uk/openfoam/doc/README.html
perform the following three steps:

1.
Download qt-x11-opensource-src-4.3.5.tar.gz (approx. 40MB)
from
ftp://ftp.trolltech.com/qt/source/qt...c-4.3.5.tar.gz
and unpack it in your /tmp folder. There now should be a folder called /tmp/qt-x11-opensource-src-4.3.5 on your system

2.
Go to that folder
cd /tmp/qt-x11-opensource-src-4.3.5
set the path you want to install Qt-4.3.5 in, e.g.
./configure -prefix ~/OpenFOAM/ThirdParty/Qt-4.3.5
you may have to accept the GNU-license. Now compile (takes some time...)
make
and install
make install
3.
add the following lines to your ~/OpenFOAM/OpenFOAM-1.5/etc/bashrc at the very end
# 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

Now paraFoam should run smoothly...

If not, maybe you have to recompile the PV3FoamReader (step 7,2 from README), but I think there should be no need to recompile ParaView (step 7,1).

I'd be glad for feedback if this worked on your machine!

Regards,

Tammo

sxhdhi November 11, 2008 20:46

Hi Tammo, My name is Su xia
 
Hi Tammo,

My name is Su xiaohui. and thanks a lot for your valuable suggestion. I think I need your help because when I do the command: ./configure -prefix ~/OpenFOAM/ThirdParty/Qt-4.3.5
the following error appearing:
Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /src/corelib/arch/generic -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /include -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /include/QtCore -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /include -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /include/QtCore -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /src/corelib/global -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/home/user/Desktop/tmp/qt-x11-opensource-src-4.3.5/qt-x11-opensource-src-4.3.5 /mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
make: g++: Command not found
make: *** [project.o] Error 127

may I know what happen here? Thanks a lot.

Xiaohui

gwierink November 12, 2008 02:13

Hi Xiaohui, The error messa
 
Hi Xiaohui,

The error message says "make: g++: Command not found". Do you have g++ installed? If you don't, you need to install it. Go to http://gcc.gnu.org/, or use YaSt or yum to install gcc and gcc-c++.

Rgds, Gijsbert

tckosvic November 12, 2008 18:36

Tammo, I followed your inst
 
Tammo,

I followed your instructions regarding parafoam on suse 11 and installing a different QT.

All went well but when I was in the directory:
/tmp/qt-x11-opensource-src-4.3.5>

I typed the command:
./configure -prefix ~/OpenFOAM/ThirdParty/Qt-4.3.5

I got response in terminal window:

""This is the Qt/X11 Open Source Edition.

You don't seem to have 'make' or 'gmake' in your PATH.
Cannot proceed.""

There is no make file in the download package. Thus, when I typed:

make

It also said no make.

I think that Su Xiaohui messages also said meant that there was no "make" not that there was no gcc.

Please have another look and let me know what you think problem is.

I really like your approach. I have been looking for a way to use openfoam1.5 and suse11 and get past the QT problem. I think you have a good approach and did some good work.

Thanks,

Tom Kosvic

sxhdhi November 13, 2008 01:30

Hi guys, good news to share
 
Hi guys,

good news to share with you for who are in trouble with running paraFoam!

1. first installed ubuntu 8.10
2. sudo apt-get update
sudo apt-get install libqt4-dev (make sure qt is availabe)
3. install OpenFoam
finally, I can run paraFoam.
Hope this can help you guys.

Cheers.

Xiaohui

gzy_1228 November 13, 2008 02:37

Hi everyone I followed Tamm
 
Hi everyone
I followed Tammo's steps in my mandriva2009, but i have to recompile ParaView (step 7.1) otherwise it doesn't work.

kenhelland November 13, 2008 13:08

Hello Tammo, I have been wo
 
Hello Tammo,

I have been working with suse 11.0, and your approach seems the most hopeful. Here is what
has happened.

First, when I installed 11 using some auto configuration, the developement software was not loaded and I wasn't able to even get he Qt version test to work. I reloaded 11 and installed just about everything, so now my makes seem to function.

I followed the steps for installing Qt-4.3.5 as you suggest. After doing the make and make install steps, the ParaView still wants a reader specified.

I then tried step 7,2 in the Readme instructions, and I get this response (at the end):

[ 9%] Generating qrc_PV3FoamReader.cxx
[ 18%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 27%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 36%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 45%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
make[2]: *** No rule to make target `/usr/lib/libpython2.5.so', needed by `/home/knh-q/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libPV3FoamReader.so'. Stop.
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2

I then moved to step 7,1 and get this response:

-- Looking for strtoll
-- Looking for strtoll - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Found Qt-Version 4.4.0
-- Found Qt-Version 4.4.0
-- Application: default ParaView Client enabled
-- Application: Custom Server enabled
-- Application: DobranoViz enabled
-- Plugin: Prism enabled
-- Found Qt-Version 4.4.0
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done

I see the ParaView make is not finding the right Qt version, but I did confirm that the Qt-4.3.5 directory exists and looks correct.

I did the additions to the bashrc as you suggest in your step 3. Is there some "sourcing" required here? I am not a Linux guru, so all this is a bit new.

Now, maybe the worst problem. Once I do all this and log off, I am no longer able to log back on normally. The system says I have too many temporary files, and I have to go in with the failsafe boot up and delete a lot of the Qt stuff.

I am now baffled! Any ideas here?

Thanks, Ken

ep4 November 14, 2008 04:28

For the Qt version problem, wh
 
For the Qt version problem, what gives you the command qmake --version ?

If it doesn't return the right one, i suggest to modify your path in the terminal, before the point 7,2 instructions, using a command like: PATH=/usr/local/Trolltech/Qt-4.3.5/bin:$PATH

After that, it should use the right Qt version.

kenhelland November 14, 2008 09:16

I will give the PATH idea a tr
 
I will give the PATH idea a try. I think the location is different, but I will confirm this before I make the PATH change.

I still worry about the huge set of temporary files that are created. Something is wrong here.

As a fall-back solution, I am going to get the 10.3 version of SUSE.

tckosvic November 14, 2008 09:18

Su Xiaohui, Hello. I wis
 
Su Xiaohui,

Hello.

I wish to get parafoam to work. From your email, I am considering removing suse and going to ubuntu 8.10 because of your success in getting parafoam to run.

I would like to make sure that when you run the tutorial case of Cavity, you can use Parafoam and see the grid and the velocity and pressure values in paraview.

Does parafoam ask for a reader?

Does any reader run and allow viewing of the grid and the results?

Thanks very much,

Tom Kosvic

wenterodt November 14, 2008 16:01

Nice to get that much feedback
 
Nice to get that much feedback, but it seems like that only Gu Zongyuan got his system to work with this howto. Well, at least that shows that it's not impossible to install OF1.5 on OS11!

As I think stepping back to Suse10.3 is no choice (while using Ubuntu sure is one) I want to ask people who had success using this howto to share their experience!

In detail:

@Thomas: You have no "make" installed! Very strange for a linux machine, but not impossible... Use Yast to install it (should be in the C++ development scheme)! The reason why there is no makefile in the folder, yet, is that the makefile is created by ./configure!

@Ken: You need to install python (via Yast). The qt files in /tmp should not be bigger than 1GB, so either you have a very small harddrive, or there are some other big files that crowd your disk... Anyhow, step 7.1 MUST fail before Qt is installed properly!

Please let us know if you made it work!

//Tammo

alberto November 15, 2008 14:12

Hi Tammo, I got paraview wo
 
Hi Tammo,

I got paraview working on openSUSE 11.0 too.

Actually the problem has _always_ been limited to the paraFoam reader, because paraview works properly on openSUSE 11.0 even with Qt 4.4, as I showed in another post, using foamToVTK.

Little info: it is normal not to have gcc/make and other development tools on openSUSE default installation. The software selection does not include them by default.

With kind regards,
Alberto

kenhelland November 15, 2008 18:12

Hi Tammo, I seem to have hi
 
Hi Tammo,

I seem to have hit a brick wall. I have the Python interpreter installed along with lots of other python files; I added the python-xlib..just a guess.

My hard drive size is 500 G's, and about 411 G's are free.

I reinstalled OpenFOAM and then the steps for the Qt-4.3.5. After the make install step (or maybe even earlier) I am no longer able to log on (other than as a super user) and I get this message in a little window on a blank screen:

Call to inusertemp failed (temporary drives full?)
check your installation.

I did some trial and error deletions, and it seems the only way to remove this problem is delete the entire Qt-4.3.5 directory created by the make install process. The /tmp directory does not seem to cause any problems.

For the record, I am running on an Intel quad core at 2.66 MHz with 4 G memory installed.

If there is a magic solution, I would sure like to find it. At least others have had success with SUSE 11.0.

Thanks, Ken

gzy_1228 November 15, 2008 18:36

Hi ken, i find a simple way
 
Hi ken,
i find a simple way to solve the inusertemp failed (temporary drives full?) in my friend's laotop..install everything under kde and then inusertemp failed (temporary drives full?) maybe happens in some machine and then choose gnome or icewm or whatever...u will find openfoam and parafoam is ok.
the only thing u lose is kde...

kenhelland November 17, 2008 13:15

Hi Tammo and Gu, I think th
 
Hi Tammo and Gu,

I think things are working! Maybe I can escape the installation thread one of these days. I did the full Qt-4.3.5 install sequence and have run paraFoam on cavity.

Old biz: I am using a 2.66 GHz cpu, not 2.66 MHz!

I log on using KD3 and things seem fine. There is no inusertemp failure notice, so perhaps KD4 has issues. KD3 is more like my XP experience anyway.

I am struggling with ParaView, so it appears there is plenty to learn there, but I am getting images and such.

Looking back, it would be useful to have some list of critical packages that need to be installed. I see Yast can import and export such lists; many comments including mine are clearly related to not having critical software loaded.

In summation, it appears that Tammo's list of steps for SUSE 11.0 work fine as long as KD4 is not the log-on interface.

Thanks a lot all.

Ken

tckosvic November 17, 2008 15:29

Tammo, I have worked throug
 
Tammo,

I have worked through my missing make system and gotten Qt-4.3.5 to compile, make, and install into ThirdParty directory of OpenFOAM.

Now when I run paraFoam for the cavity case as in the example, I get message below:

tom@linux-l8tg:~/OpenFOAM/tom-1.5/run/tutorials/icoFoam/cavity> paraFoam

paraview: symbol lookup error: /home/tom/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCore.s o: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv

tom@linux-l8tg:~/OpenFOAM/tom-1.5/run/tutorials/icoFoam/cavity>

After this I went and recompiled paraFoam (7.2 step). When I ran paraFoam again I got the same message regarding undefined symbol.

I do not have enough capabilities with SUSE to diagnose problem any further.

Anyone have any ideas?

Thanks,

Tom Kosvic

tckosvic November 17, 2008 20:55

Tammo, It worked!!! I can
 
Tammo,

It worked!!! I can look at the grid of the cavity case using paraFoam. The parafoam does not ask me for a reader now it just opens one up.

I am using OpenFOAM 1.5 (32 bit) and SUSE 11 and GNOOME shell.

I did have to recompile both paraview and parafoam. The compile, make, and install of qt takes a very long time even though I have dual processor 3.0 ghz machine.

Thanks, Tammo.

Now, I can start doing more than just installation tasks. I need to learn how the viewer works.

Tom Kosvic

kenhelland November 19, 2008 12:34

Tom, Nice to see more succe
 
Tom,

Nice to see more success with 11. I was close to switching to 10.3.

My compile of qt runs in about 35 minutes. The remainder of the steps are usually in the "few minutes" range. I have the quad core 2.66 GHz with 4 GB of memory.

I want to add 4 G more and try the 64-bit software as time permits.

Ken

ameya November 28, 2008 06:17

Hey Tammo, Thanks a lot dud
 
Hey Tammo,

Thanks a lot dude.

Your tips helped me a lot.

ParaView has strated working on my OpenSUSE 11.0

Keep up the good work.

hsieh November 28, 2008 06:53

Hi, Tammo, Thanks for the s
 
Hi, Tammo,

Thanks for the steps. I have also installed Qt-4.3.5 successfully on OpenSuSE 11.0 by following your steps. The only problem happened to me was that, after including "export LD_LIBRARY_PATH=$QT/lib:$LD_LIBRARY_PATH" in ~OpenFOAM/OpenFOAM-1.5/etc/bashrc, I was no longer able to log into my user account. I had to remove it by logging into root.

I have also updated to paraview 3.4 by following Bernhard's post. Paraview 3.4 fixed a couple of problem I had with paraview 3.3 - sweet!

Pei

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 18:02.