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

Urgently need to install OpenFOAM: paraview problems.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2009, 01:58
Default Urgently need to install OpenFOAM: paraview problems.
  #1
Senior Member
 
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17
rieuk is on a distinguished road
Hey guys,

I'm running Ubuntu 9.04 (Jaunty) and I've installed paraview using the synaptic package manager. However when I try to continue with the installation procedure in the OpenFOAM Readme file by running paraFoam in the icoFoam cavity simmulation I get the folliwng error:

Quote:
paraview: symbol lookup error: /usr/lib/libmpi_cxx.so.0: undefined symbol: ompi_registered_datareps
It's just been issue after issue with this damn software! Any ideas for this one? (( I have limited experience with Linux...
rieuk is offline   Reply With Quote

Old   May 16, 2009, 02:31
Default
  #2
Senior Member
 
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17
rieuk is on a distinguished road
Nobody has any ideas then.

I've reverted to Ubuntu 8.04 and it works fine. If any finds out how to get it to work on 9.04, please post.
rieuk is offline   Reply With Quote

Old   May 18, 2009, 08:18
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi James,

Check this thread, it seems they have solved at least part of the issue there.

Regards,

Gijsbert
gwierink is offline   Reply With Quote

Old   May 23, 2009, 22:10
Default
  #4
New Member
 
Join Date: May 2009
Posts: 11
Rep Power: 17
Null is on a distinguished road
I run Ubuntu 9.04. I went to kitware. downloaded paraview 3.4 86 64, "tar-it-ed open" went to the bin, click on "paraview" and it starts right away. I didn't get cmake or qt at all. maybe those were in 9.04 already.

the problem is to make parafoam work with it. i've been studying any information I could find, changed variables and paths on some of the scripts, but is not very clear yet how is it that OF gets into paraview.there are some lines on the parafoam script that Im trying to understand.

I'll let you know if I figure it out.
Null is offline   Reply With Quote

Old   May 24, 2009, 04:39
Default
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Null,

I guess what you have done now is download the binary of Paraview and untar it, so Paraview just works (usually). Probably you need to actually compile Paraview on your computer (i.e. build your own binary) to make Paraview work with OpenFOAM as paraFoam. And for that you need Qt-4.3.x, which you also need to compile. What is the output of
Code:
qt --version
?

Cheers,

Gijs
gwierink is offline   Reply With Quote

Old   May 24, 2009, 08:58
Default
  #6
New Member
 
Join Date: May 2009
Posts: 11
Rep Power: 17
Null is on a distinguished road
Hello Gijs,

yes thats what I did. In the beginning , weeks ago I was trying to compile qt to be able to compile paraview inside OF, but it was a nightmare.

so I said screw it-I'll use VTKToFoam. the code qt --version
gives a command not found.
I posted because the initial poster said Paraview and not paraFoam.
Null is offline   Reply With Quote

Old   May 24, 2009, 10:12
Default
  #7
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Null,

Ok, well, that probably works . But if you want to get OpenFOAM to work with ParaView directly the following recipe should work. After unpacking the OpenFOAM packages from OpenCFD and putting the right line into ~/.bashrc, you need to get Qt-4.3.x (4.3.5 works for me) from Trolltech. The compilation of Qt needs the complete X11 package and some openGL libraries to be available. You can get these via the Synaptic package manager looking for X11 and mesa-libGL (and/or openGL) and just grabbing everything. Via command line it would be something like
Code:
sudo apt-get mesa-libGL\*-devel freeglut-devel libdrm-devel
and
Code:
sudo yum groupinstall x-software-development development-tools
Perhaps it's a little bit different, because here I just "Ubuntu-fied" some Fedora commands . In my case I also needed to install ld-linux.so.2, but the Qt installer will tell you what is missing.
Then, it is time to install Qt. Put the Qt-package in some temporary directory, e.g. ~/tmp/, and unpack it. Then configure Qt for installation and install it by
Code:
./configure
Code:
gmake
and
Code:
gmake install
Then, source Qt-4.3.5 in by putting
Code:
    PATH=/tmp/qt-x11-opensource-src-4.3.5/bin:$PATH
    export PATH
in ~/.bashrc. Now ParaView can be rebuild (see Section 7 of the OpenFOAM README).Do the following:

Code:
cd $FOAM_INST_DIR/ThirdParty
Code:
rm -rf ParaView3.3-cvs/platforms
Code:
buildParaView3.3-cvs
The PV3FoamReader module is an OpenFOAM utility that can be compiled in the usual manner as follows:

Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
Code:
./Allwclean
Code:
./Allwmake
Finally, update the terminal by
Code:
. $HOME/.bashrc
There is also an install script available for Ubuntu. It's somewhere on this forum, you can search for it. Hope this is of any help.

Regards,

Gijs
gwierink is offline   Reply With Quote

Old   May 24, 2009, 11:34
Default
  #8
New Member
 
Join Date: May 2009
Posts: 11
Rep Power: 17
Null is on a distinguished road
Gijs,

That is very nice of you. I appreciate very much your time and attention to explain all this . I will try it today. Definitively the idea is to use parafoam and not transition all the stuff to paraview.

in the worst-worst of the cases I had burned the openFOAM-slax cd . having plan the proceedure as design it in Catia ( which I can do with my eyes closed-so feel free if you have any question about it), mesh it in salome and then run the slax live cd .

Thank you very much. I'll tell you how it work it.
Null is offline   Reply With Quote

Old   June 26, 2009, 19:44
Default
  #9
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
Quote:
Originally Posted by rieuk View Post
Hey guys,

It's just been issue after issue with this damn software! Any ideas for this one? (( I have limited experience with Linux...
I feel your pain! I've been trying to get paraview to work for days now. I did solve the library problem you had by building the mpi library (openmpi-1.2.6) and making sure the path and LD_LIBRARY_PATH point there first. But I just hit another library problem after that.

I think much of the problems we are having are:
1) wrong versions of libraries. They are very specific about the QT requirements, but I think there are others that are just as critical. Unfortunately I don't know what they are.

2) Having the include path not match the LD_LIBRARY_PATH so during compilation a .h file for a different version of the library is used. I tried to solve this by using the package manager to uninstall all other versions of QT, and openmpi.

3) Probably something else since I'm still stuggling with this. And I do have linux experience. It's easier for me to modify and rebuild a kernel than it is for me to get this software working. :-)

On the system you reverted to, would you check some versions for me: gcc, openmpi, and qt. It might help me out.

Given that paraview is so fussy about libraries, wouldn't it be possible for someone who has it working, to compile it with the libraries staticly linked in? (maybe that's not possible in today's linuxs) I know it defeats the purpose of shared libraries, but it's not all that efficient to have to load a special version of a shared library for one piece of software anyway.
hansel is offline   Reply With Quote

Old   July 3, 2009, 14:16
Default
  #10
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Hi,

I have been trying to install OpenFOAM on my ubuntu 9.04 machine ans have succesfully installed but the paraview part is not working. I followed the same instructions as in the readme file. I have instaled qt4.3.5 and used the export commands in my ~/.bashrc file

When I try to build paraview I get the following error message
%%%%%%%%%%%%%%%%%%%%%%%%%%%
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
QT_X11_Xext_LIBRARY (ADVANCED)

-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


any help would be appreciated. Thanks
yapalparvi is offline   Reply With Quote

Old   July 3, 2009, 18:00
Default
  #11
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
Quote:
Originally Posted by yapalparvi View Post
Hi,

I have been trying to install OpenFOAM on my ubuntu 9.04 machine ans have succesfully installed but the paraview part is not working. I followed the same instructions as in the readme file. I have instaled qt4.3.5 and used the export commands in my ~/.bashrc file

When I try to build paraview I get the following error message
%%%%%%%%%%%%%%%%%%%%%%%%%%%
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
QT_X11_Xext_LIBRARY (ADVANCED)

-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


any help would be appreciated. Thanks
I couldn't get QT-4.3.5 to build working code on 64 bit Ubuntu 9.04. I used the QT packages that came with the system. I also had to use the system's cmake.

see this thread.
hansel is offline   Reply With Quote

Old   July 4, 2009, 11:55
Default
  #12
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Hi,
I tried that method too but no avail. Thanks for your suggestion.
yapalparvi is offline   Reply With Quote

Old   July 4, 2009, 13:04
Default
  #13
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
Quote:
Originally Posted by yapalparvi View Post
Hi,
I tried that method too but no avail. Thanks for your suggestion.
Well since I know that method works, maybe should try to make it work for you. What problems do you run into using the system version of QT and the system's cmake?
hansel is offline   Reply With Quote

Old   July 4, 2009, 13:15
Default
  #14
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Thie current version of QT is Qt4.5 and when I run buildParaView command

It just says errors configuring not done

No error message at all like in my previous case
yapalparvi is offline   Reply With Quote

Old   July 4, 2009, 13:25
Default
  #15
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
Quote:
Originally Posted by yapalparvi View Post
Thie current version of QT is Qt4.5 and when I run buildParaView command

It just says errors configuring not done

No error message at all like in my previous case
I believe the command you are supposed to use is buildParaView3.3-csv. (or is that cvs?) The buildParaview script is something that the first script calls after it sets things up for the build.
hansel is offline   Reply With Quote

Old   July 4, 2009, 13:40
Default
  #16
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
yes buildParaView3.3-cvs. I used the same command. I shall send you the log file
yapalparvi is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Boundary condition problems (OpenFOAM) Milos OpenFOAM Meshing & Mesh Conversion 13 October 13, 2016 20:58
Problems in representing convected derivatives in OpenFoam titio OpenFOAM Running, Solving & CFD 1 February 16, 2009 16:01
[General] OpenFoam - problems MateuszZb ParaView 8 July 21, 2008 17:16
[General] How to install the paraview ztdep ParaView 0 June 20, 2006 09:51
I want to install OpenFOAM in a computer without network card luckyluke OpenFOAM Installation 2 April 30, 2005 20:17


All times are GMT -4. The time now is 11:47.