CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Parafoam on AMD64 (http://www.cfd-online.com/Forums/openfoam-installation/57710-parafoam-amd64.html)

frank178 October 4, 2005 13:31

Hello! I've tried to view t
 
Hello!

I've tried to view the mesh of the cavity example but got following error:

sleur@Wb:~/OpenFOAM> paraFoam $FOAM_RUN/tutorials/icoFoam cavity
ErrorMessage
# Error or warning: ERROR: In ../../../../../paraview-2.2.0/Utilities/VTKClientServer/vtkClientServerInterpret er.cxx, line 866
vtkClientServerInterpreter (0x52d8a0): Cannot find module "libPVFoamReader.so". The following paths were searched:
/home/sleur/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt/lam-7.1.1
/home/sleur/OpenFOAM/OpenFOAM-1.2/src/lam-7.1.1/platforms/linuxGcc4Opt/lib
/home/sleur/OpenFOAM/linux/gcc-4.0.1-64/lib
/home/sleur/OpenFOAM/sleur-1.2/lib/linuxGcc4Opt
/home/sleur/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt
/home/sleur/OpenFOAM/linux/paraview-2.2.0/lib
/home/sleur/OpenFOAM/OpenFOAM-1.2/src/lam-7.1.1/platforms/linuxGcc4Opt/bin
/home/sleur/OpenFOAM/OpenFOAM-1.2/src/mico-2.3.11/platforms/linuxGcc4Opt/bin
/home/sleur/OpenFOAM/linux/j2sdk1.4.2_05/bin
/home/sleur/OpenFOAM/linux/gcc-4.0.1-64/bin
/home/sleur/OpenFOAM/sleur-1.2/applications/bin/linuxGcc4Opt
/home/sleur/OpenFOAM/OpenFOAM-1.2/applications/bin/linuxGcc4Opt
/home/sleur/OpenFOAM/OpenFOAM-1.2/wmake
/home/sleur/OpenFOAM/OpenFOAM-1.2/bin
/home/sleur/bin
/usr/local/bin
/usr/bin
/usr/X11R6/bin
/bin
/usr/games
/opt/gnome/bin
/opt/kde3/bin
/home/sleur/OpenFOAM/linux/paraview-2.2.0/bin
/usr/lib
/usr/lib/vtk
/usr/local/lib
/usr/local/lib/vtk



ERROR: In ../../../../../paraview-2.2.0/GUI/Client/vtkPVXMLPackageParser.cxx, line 677
vtkPVXMLPackageParser (0xf54600): Error loading Library component PVFoamReader



ErrorMessage end
/home/sleur/OpenFOAM/OpenFOAM-1.2/bin/paraFoam: line 57: 25549 Speicherzugriffsfehler paraview paraFoam.pvs

I cant find this location: ../../../../../paraview-2.2.0/Utilities/VTKClientServer/vtkClientServerInterpret er.cxx

Starting ParaView is now problem. Trying to update PVfoamreader the follwing message:

sleur@Wb:~/OpenFOAM/OpenFOAM-1.2/applications/utilities/postProcessing/graphics/PVFoamRe ader> ./Allwmake
make: Für das Ziel »allFiles« ist nichts zu tun.
make: »lnInclude/uptodate« ist bereits aktualisiert.
make: »Make/linuxGcc4Opt/dependencies« ist bereits aktualisiert.
libso
`/home/sleur/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt/libvtkFoam.so' is up to date.
./Allwmake: line 2: cmake: command not found
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
sleur@Wb:~/OpenFOAM/OpenFOAM-1.2/applications/utilities/postProcessing/graphics/PVFoamRe ader>

Any ideas or hints?

Thanks a lot!
Frank

hjasak October 4, 2005 18:35

libPVFoamReader.so is the Open
 
libPVFoamReader.so is the OpenFOAM plugin for paraview. For me, it lives in: /home/coyote/hjasak/OpenFOAM/OpenFOAM-1.2/lib/linuxI32Opt/libPVFoamReader.so

and yours should be somewhere similar. Looks to me as if the plugin is not built.

Don't understand the message about cmake - you only need that to rebuild the paraview (are you compiling from sources?). In that case, there's quite a lot of work to do.

1) build paraview from scratch with shared libraries on. Keep the build directory (builds out of source, e.g.
You need cmake-2.0.6 or better, download from the web and build it
tar xvzf paraview-blah-blah
mkdir paraview-blah-blah-obj
cd paraview-blah-blah-obj
cmake -i ../paraview-blah-blah
2) make sure it runs on its own
3) try builiding paraFoam stuff by hand and pay attention to the errors - it is likely that some bits will be missing in the paraview installation.

Good luck,

Hrv


All times are GMT -4. The time now is 14:52.