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

ParaFoam didnbt work

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2005, 20:34
Default I just compiled OpenFoam-1.0.2
  #1
Leosding (Leosding)
Guest
 
Posts: n/a
I just compiled OpenFoam-1.0.2 in RH 8.0 without any problem.

Do the first tutorial icoFoam/cavity following README, blockMesh and icoFoam is ok, but when run paraFoam, it's malfunction. say,

[Leo@localhost icoFoam]$ paraFoam . cavity
ErrorMessage
# Error or warning: ERROR: In /home/kitware/ParaViewReleaseRoot/paraview-1.8.3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx, line 866
vtkClientServerInterpreter (0x9d4a018): Cannot find module "libPVFoamReader.so". The following paths were searched:
/home/Leo/OpenFOAM/linux/gcc-3.4.3/lib
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/lib/linuxOpt
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/src/lam-7.1.1/platforms/linuxOpt/lib
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/lib/linuxOpt/lam-7.1.1
/home/Leo/OpenFOAM/linux/paraview-1.8.3/lib
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/src/lam-7.1.1/platforms/linuxOpt/bin
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/src/mico-2.3.11/platforms/linuxOpt/bin
/home/Leo/OpenFOAM/linux/j2sdk1.4.2_05/bin
/home/Leo/OpenFOAM/linux/gcc-3.4.3/bin
/usr/local/bin
/usr/bin
/bin
/usr/X11R6/bin
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/wmake
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/bin
/home/Leo/OpenFOAM/Leo-1.0.2/applications/bin/linuxOpt
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/applications/bin/linuxOpt
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/applications/utilities/preProcessing/FoamX/bin/home/Leo/OpenFOAM/linux/paraview-1.8.3/bin
/usr/lib
/usr/lib/vtk
/usr/local/lib
/usr/local/lib/vtk


ERROR: In /home/kitware/ParaViewReleaseRoot/paraview-1.8.3/GUI/Client/vtkPVXMLPackageParser.cxx, line 666
vtkPVXMLPackageParser (0xa1faf80): Error loading Library component PVFoamReader


ErrorMessage end
/home/Leo/OpenFOAM/OpenFOAM-1.0.2/bin/paraFoam: line 57: 1738 Segmentation fault paraview paraFoam.pvs


would some advice?
ps, the paraview's version is not 1.8.0, mine is 1.8.3 from paraview's site. why I have no the libPVFoamreader.so?
  Reply With Quote

Old   January 16, 2005, 12:29
Default Are you able to install and r
  #2
Henry Weller (Henry)
Guest
 
Posts: n/a
Are you able to install and run the binary release of 1.0.2 with paraview-1.8.0?

If you wish to use paraview-1.8.3 you will have to compile the reader module for which you will need to install kitware's cmake. You will also need to set the environment variables in OpenFOAM-1.0.2/.OpenFOAM-1.0.2/apps/paraview/bashrc and cshrc. Once you have done this go to OpenFOAM-1.0.2/applications/utilities/postProcessing/graphics/PVFoamReader and run the Allwmake script and if you have setup everything correctly the reader module with compile.

I should warn you that we have not tried paraview-1.8.3 and given that the details of the .xml files for the reader module are changed in nearly every release it may well not work. Also we have not tried compiling the reader module using a binary release of paraview, it may or may not work. Did you compile paraview from sources?
  Reply With Quote

Old   January 17, 2005, 04:06
Default Hi, I've done this with Pa
  #3
Jason J Beech-Brandt (Jasonb)
Guest
 
Posts: n/a
Hi,

I've done this with Paraview-1.8.3 on the Solaris platform and ran into problems as Henry has suggested you may. Everything compiled fine, including the PVFoamReader module, but upon running ParaFoam on a case I got an error, the details of which I can't remember exactly. Just so you know.

Jason
  Reply With Quote

Old   January 17, 2005, 04:26
Default I will have a go at updating
  #4
Henry Weller (Henry)
Guest
 
Posts: n/a
I will have a go at updating the reader module to work with paraview 1.8.3 for the 1.0.3 release. If someone is interested in having a go before I do the kitware people may have changed the details of the xml description of the GUI/external module in the 1.8.3 release (they have done so in nearly every previous release) which may require changes in OpenFOAM-1.0.2/applications/utilities/postProcessing/graphics/PVFoamReader/PVFoamReader/PVFoamReader.xml.in
and/or
OpenFOAM-1.0.2/applications/utilities/postProcessing/graphics/PVFoamReader/PVFoamReader/PVFoamReader.pvsm.in
  Reply With Quote

Old   January 17, 2005, 10:05
Default I have built paraview-1.8.3 a
  #5
Henry Weller (Henry)
Guest
 
Posts: n/a
I have built paraview-1.8.3 and the OpenFOAM reader module on my Linux system with only one difficulty: after building and installing paraview I had to copy *.h from Utilities/VTKClientServer of the build location to include/vtk of the installed location otherwise the reader module wouldn't compile. After that it all compiled and ran fine. We will release OpenFOAM-1.0.3 with paraview-1.8.3 unless they release a newer version before then.
  Reply With Quote

Old   January 18, 2005, 05:32
Default Hi, I must have done somet
  #6
Jason J Beech-Brandt (Jasonb)
Guest
 
Posts: n/a
Hi,

I must have done something wrong last time, as I have just built paraview-1.8.3-solaris and the reader module, and it works fine.

Jason
  Reply With Quote

Old   February 17, 2005, 12:24
Default When trying to build the reade
  #7
Norma McKee (Mckee)
Guest
 
Posts: n/a
When trying to build the reader module on linux I get the following output.

[OpenFOAM@anio-mtn-cluster PVFoamReader]$ ./Allwmake
make: Nothing to be done for `allFiles'.
make: `lnInclude/uptodate' is up to date.
make: `Make/linuxOpt/dependencies' is up to date.
libso
`/home/OpenFOAM/OpenFOAM-1.0.2/lib/linuxOpt/libvtkFoam.so' is up to date.
-- Check for working C compiler: gcc -- works
-- Check for working CXX compiler: c++ -- works
ParaView must be built with BUILD_SHARED_LIBS ON.
-- Configuring done
make: *** No targets specified and no makefile found. Stop.

any ideas?

Thanks
  Reply With Quote

Old   February 17, 2005, 13:13
Default Hello, I assume it is not
  #8
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
Hello,

I assume it is not possible to use our precompiled paraview-1.8.0 and libvtkFoam.so?

The message you get is from cmake going through PVFoamReader/CMakeLists.txt and means exactly what it says: you need to configure any paraview you use ($ParaView_DIR) to have shared libraries enabled.

Paraview comes with its own instructions on how to do this. Sorry, I haven't done it recently so cannot tell you.

Mattijs
  Reply With Quote

Old   February 17, 2005, 13:29
Default When I try to use paraview-1.
  #9
Norma McKee (Mckee)
Guest
 
Posts: n/a
When I try to use paraview-1.8.0 I get several messages as:
/paraview: /home/OpenFOAM/linux/gcc-3.4.3/lib/libstdc++.so.6: no version information available (required by ./paraview)
/paraview: /home/OpenFOAM/linux/gcc-3.4.3/lib/libstdc++.so.6: no version information available (required by ./paraview)

Which seems to indicate that the package needs to built with the correct libs.. Would you agree?Since I do not have the source for 1.8.0 I can't do that.

Getting everything to run on our platform has been a very long process. It seems I get one thing fixed and then we find another version/installation problem that must be corrected. Is this typical?
  Reply With Quote

Old   February 17, 2005, 14:09
Default The warning messages I think
  #10
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
The warning messages I think relate to the gcc version the os libs were built with. Have never had problems because of them.

I cannot comment on the ease of the installation process. Seems to work for my Suse9.1 box straight from the downloaded packs.

If you cannot get paraFoam to work you can run paraview stand-alone and use the converter foamToVTK to create files for it.

Mattijs
  Reply With Quote

Old   February 17, 2005, 14:09
Default You'll get used to the build
  #11
Hrvoje Jasak (Hjasak)
Guest
 
Posts: n/a
You'll get used to the build - once you get it right it's always the same old story. BTW, you are trying to compile a pretty tricky 350 thousand lines of foam (approximately) + a bunch of utilities of high complexity in C++. Just try to think how long it took us to write the damn thing in the first place! :-)


The error in this case was when you tried to configure paraview using cmake -i:

Would you like to see advanced options? [No]:
Please wait while cmake processes CMakeLists.txt files....
Variable Name: BUILD_SHARED_LIBS
Description: Build VTK with shared libraries.
Current Value: OFF
New Value (Enter to keep current value): ON

Good luck,

Hrv
  Reply With Quote

Old   February 17, 2005, 16:44
Default Just curious, what version of
  #12
Eugene de Villiers (Eugene)
Guest
 
Posts: n/a
Just curious, what version of linux requires that you recompile the entire OpenFOAM source instead of using the existing binaries?
  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
HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory wenterodt OpenFOAM Installation 52 June 26, 2009 17:01
[OpenFOAM] ParaFoam nzy102 ParaView 0 April 13, 2007 20:15
ParaFoam Ales Alajbegovic (Alajbegovic) OpenFOAM Installation 13 November 7, 2006 09:44
Please help me see this about paraFoam liugx212 OpenFOAM Running, Solving & CFD 2 March 8, 2006 09:54


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