Dear all,
i tried to instal
Dear all,
i tried to install OpenFoam 1.5 today, everything looks fine until the compilation of paraview. Additional information: -Ubuntu 8.04 -"qmake --version QMake version 2.01a Using Qt version 4.3.4 in /usr/lib" -OpenFoam 1.4.1 worked properly As I am a more or less beginner in Linux, I used the the "installation guide" on the website and especially the README file. Typing the commands: * cd $FOAM_INST_DIR/ThirdParty * rm -rf ParaView3.3-cvs/platforms * buildParaView3.3-cvs the last one produces following error message: "soeren@soeren-laptop:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -- Check for working C compiler: /home/soeren/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- Check for working C compiler: /home/soeren/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- broken CMake Error: The C compiler "/home/soeren/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc" is not able to compile a simple test program. It fails with the following output: /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Betrete Verzeichnis '/home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/ CMakeTmp' /home/soeren/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/bin/cmake -E cmake_progress_report /home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/C MakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o /home/soeren/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/C MakeTmp/testCCompiler.c /home/soeren/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc/i6 86-pc-linux-gnu/4.3.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Fehler 1 make[1]: Verlasse Verzeichnis '/home/soeren/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/ CMakeTmp' make: *** [cmTryCompileExec/fast] Fehler 2 CMake will not be able to correctly generate this project. -- Configuring done make: *** Keine Targets angegeben und keine ğmakeĞ-Steuerdatei gefunden. Schluss. " Seems that the compiler does not work... I would greatly appreciate any help on how to resolve this problem! Thanks a lot in advance Sören |
I am having exactly the same p
I am having exactly the same problem.
|
The new gcc requires gmp and m
The new gcc requires gmp and mpfr to be installed. The details and rationale can be found here: changes.html
They might not be installed by default on slightly older systems. |
i am having a problem with ins
i am having a problem with installing openfoam.....my connection to ssh and rsh is failing...i work in a network.,....then when i run blockMesh . cavity
i get the error no such file or directory.but i have sourced the file correctly........can ne1 help me..it has been 2 weeks with this problem.... |
From synaptic in Ubuntu 8.04 i
From synaptic in Ubuntu 8.04 it seems that the packages you need are
libmpfr-dev libmpfr1|dbl May be that the second one is enough. Do a search in synaptic with the string mpfr and they will arise. Javier |
hi,
I have another problem
hi,
I have another problem with ParaView. In my thirdparty folder there's no platforms directory and also no buildParaview3.3-cvs. Why is that? Thanks |
Thanks a lot!
Including "libm
Thanks a lot!
Including "libmpfr-dev + libmpfr1|dbl" resolved my problem, everything fine now! Sören |
Hi,
I have the exactly same
Hi,
I have the exactly same problem as Seoren. However the configuration of my laptop a little different: Debian qmake --version QMake version 2.01a Using Qt version 4.3.1 in /usr/local/Trolltech/Qt-4.3.1/lib And I got the entirely same error message as Seoren. what should I do? Thanks a lot! Yu |
Hello !
I compiled Paraview
Hello !
I compiled Paraview and it works. I have SLED SP1 and installed from scratch the following: gmp (with ABI=64) mpfr gcc-4.3.1 (in the same path as stated in the README) qt-X11-opensource-src-4.3.5 and then buildParaView3.3-cvs, which worked. However, with Qt-4.3.1 it compiled as well, but, I had the problem regarding ".OpenFOAM" extension, and hence got to do the FoamToVTK procedure as Alberto suggest in a similar thread. Hope it helps best V |
Hello,
I have same problem
Hello,
I have same problem as Soeren had. my question is that i dont find libmpfr1|dbl. I have ubuntu 8.04. Thnks, Noureddine |
hi while installing openFoam-1
hi while installing openFoam-1.5, when i m trying to source the file, i am getting errors
bash:~/............./apps/bin/foamcleanpath:no such file or directory... bash:~/.................../apps.paraview:no such file or directory such a thing is coming for many apps. can sum1 help? |
I am trying to install openfoa
I am trying to install openfoam-1.5 and I can successfully run the case with bloclkmesh and solver commands (like icoFoam etc)
But paraFoam command is not working well. I have qt-4.3.5 installed by default in my FEDORA-9. I checked the GMP and MPFR installation as well. The error it is reposting is:- [343880@w191-210 channel395]$ paraFoam paraview: error while loading shared libraries: libQtAssistantClient.so.4: cannot open shared object file: No such file or directory can anybody help? regards, Nishant |
Hi Nishant
I guess compilat
Hi Nishant
I guess compilation is the only way out as the README document has explicity mentioned that the binaries of installation version will work only with Qt-4.3.1 . Please be kind to study the README and installation document provided . here is the link: http://www.opencfd.co.uk/openfoam/doc/README.html Please scroll down on this page and it details all the possible solutions. Hope that might solve your problem. With Best Regards Jaswi |
Hello,Nishant Singh
I us
Hello,Nishant Singh
I use fedora9,it works for me.For the missing file,libQtAssistantClient.so.4,you need to install the package qt-x11-4.3.5-2.fc9.i386. Hope it helps |
Nishant, I had to copy my Qt l
Nishant, I had to copy my Qt libs and .so files over to /usr/libs; than re-ran through the paraview3.3 steps in the install documentation. That seemed to work for me.
If you got as far as you say, then you're probably just missing this last part. |
hi jaswi
I go thru the REA
hi jaswi
I go thru the README file but I considered that the Qt version should be in between 4.3 and 4.4. Anyways, the problem at hand is that I have two installations of Qt - 1) qt 3.3 and 2) qt 4.3.5. Linz, I installed the same package but 4.3.5 but in my case there is dual installation of qt 3.3 and 4.3.5. Gene, I tried making a symbolic link through ln -s command for the lib folder b/w /usr/local/trolltech/qt-4.3.5/lib and /usr/lib/. but that didnt work. Will it be work, if i simply copy and recompile it? I will try this way. Thanks all... Nishant |
Hello, Nishant
Since I also
Hello, Nishant
Since I also use fedora 9,I could confirm that your problem is not related double qt version.For me,I also have two qt versions installed. [root@phy-208 ~]# rpm -q qt qt-4.3.5-2.fc9.i386 [root@phy-208 ~]# rpm -q qt3 qt3-3.3.8b-14.fc9.i386 The only answer I know is that you missing file libQtAssistantClient.so.4 is contained in the package qt-x11-4.3.5-2.fc9.i386. |
Dear all!
I have the same p
Dear all!
I have the same problem as Martin. when i have a look at the linuxGccDPOpt/ directory it is empty, when i want to generate a mesh for the cavity case, the bashrc doesn t know the blockMesh command: [aa@lws16 icoFoam]$ blockMesh . cavity bash: blockMesh: command not found thx a lot in advance for any comments! aram |
I tried to install OpenFoam 1.
I tried to install OpenFoam 1.5 today,I faced the problem just like Soeren described.
My OS is Mandriva2007,I have Qt version 4.3.2, and today I have installed gmp4.2.1 and mpfr 2.3.1,I think these meet the install requirment .but I can't bulidparaview. produces error message: like Soeren described This is the first time for me to install OF.I feel so confused , could any one help me?Thanks a lot! |
Hi all,
I am a new Linux us
Hi all,
I am a new Linux user and have Ubuntu 8.04 (64 bit) and OpenFOAM 1.5 (64 bit) on my laptop. The following is the error msg: Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/then/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/then/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc /home/then/OpenFOAM/OpenFOAM-1.5/bin/buildParaView3.3-cvs: 64: cmake: not found make: *** No targets specified and no makefile found. Stop. done I followed the instructions in this thread and installed 2 libmpfr files, but still have the same error. Still trying to figure out why... Any comments? Thanks. |
I installed cmake (version 2.4
I installed cmake (version 2.4.7) and now get the same error msg as Soeren.
Still digging~~ http://www.cfd-online.com/OpenFOAM_D...part/happy.gif |
It worked finally!!
What I
It worked finally!!
What I did is: 1. Installed the PV3FoamReader module as suggested in the README: * cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader * ./Allwclean * ./Allwmake 2. Compile ParaView * cd $FOAM_INST_DIR/ThirdParty * rm -rf ParaView3.3-cvs/platforms * buildParaView3.3-cvs Just as suggested by Jaswinder, READ the README file carefully and you'll figure it out. http://www.cfd-online.com/OpenFOAM_D...part/happy.gif |
Dear all!!
Finally I manage
Dear all!!
Finally I managed to install OF 1.5.x. Now I have problems to build paraview. I followed the readme file (as also outlined by Ying), i.e. installed the PV3FoamReader module first and received the following messages: [aa@lws16 PV3FoamReader]$ ./Allwclean + rm -rf PV3FoamReader/Make + wclean libso vtkPV3Foam wclean vtkPV3Foam [aa@lws16 PV3FoamReader]$ ./Allwmake + '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/ aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']' + case "$ParaView_VERSION" in + wmake libso vtkPV3Foam wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/uti lities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/lnInclude Making dependency list for source file vtkPV3Foam.C could not open file vtkConfigure.h for source file vtkPV3Foam.C Making dependency list for source file vtkPV3FoamAddVolumeMesh.C could not open file vtkConfigure.h for source file vtkPV3FoamAddVolumeMesh.C Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C could not open file vtkConfigure.h for source file vtkPV3FoamAddLagrangianMesh.C Making dependency list for source file vtkPV3FoamAddPatchMesh.C could not open file vtkConfigure.h for source file vtkPV3FoamAddPatchMesh.C Making dependency list for source file vtkPV3FoamAddZoneMesh.C AND SO ON ending with the lines: make: *** [Make/linuxGccDPOpt/vtkPV3Foam.o] Error 1 + cd PV3FoamReader + mkdir -p Make/linuxGccDPOpt + cd Make/linuxGccDPOpt + cmake ../.. ./Allwmake: line 13: cmake: command not found + make make: *** No targets specified and no makefile found. Stop. I thank a lot for any comments!! Aram |
Hi!!
I searched for the vtk
Hi!!
I searched for the vtkConfigure.h file and found it here: /home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/ VTK/vtkConfigure.h I am somehow confused (from the beginning of the OF installation) why to have a ThirdParty folder in the ThirdParty folder? Thx for any help!! Aram |
Hi again!!
I copied the
Hi again!!
I copied the /home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ParaView3.3-cvs/platforms to /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms and ran the installation of the PV3FoamReader module again, receiving the following messages: [aa@lws16 PV3FoamReader]$ ./Allwclean + rm -rf PV3FoamReader/Make + wclean libso vtkPV3Foam wclean vtkPV3Foam [aa@lws16 PV3FoamReader]$ ./Allwmake + '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']' + case "$ParaView_VERSION" in + wmake libso vtkPV3Foam wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/vtkPV3Foam/lnInclude Making dependency list for source file vtkPV3Foam.C Making dependency list for source file vtkPV3FoamAddVolumeMesh.C Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C Making dependency list for source file vtkPV3FoamAddPatchMesh.C Making dependency list for source file vtkPV3FoamAddZoneMesh.C Making dependency list for source file vtkPV3FoamAddSetMesh.C Making dependency list for source file vtkPV3FoamUpdate.C Making dependency list for source file vtkPV3FoamUpdateInformation.C Making dependency list for source file vtkPV3FoamConvertMesh.C SOURCE=vtkPV3Foam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Foam.o In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIndent.h:24, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkObjectBase.h:43, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkObject.h:41, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkAlgorithm.h:3 2, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkMultiBlockDat aSetAlgorithm.h:25, from ../PV3FoamReader/vtkPV3FoamReader.h:24, from vtkPV3Foam.C:34: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/backward_warning.h:32: 2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. SOURCE=vtkPV3FoamAddVolumeMesh.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamAddVolumeMesh.o In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40, AND SO ON, ending with the lines: '/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so' is up to date. + cd PV3FoamReader + mkdir -p Make/linuxGccDPOpt + cd Make/linuxGccDPOpt + cmake ../.. ./Allwmake: line 13: cmake: command not found + make make: *** No targets specified and no makefile found. Stop. Thx for any comments! Aram |
On your error msg there is a l
On your error msg there is a line saying
"+ cmake ../.. ./Allwmake: line 13: cmake: command not found + make make: *** No targets specified and no makefile found. Stop. " Did you install the cmake module via Synaptic? |
when i search for cmake i can
when i search for cmake i can find the folder cmake-2.4.6 in
/home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ so i suppose that cmake is installed. am i right?? hm, but maybe the fact that it is in /home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ and not in /home/E202/aa/OpenFOAM/ThirdParty/ causes the problem. i ll copy it to /home/E202/aa/OpenFOAM/ThirdParty/ try and report. Ying, thx for the comment! aram |
Dear all!!
Ok, i installed
Dear all!!
Ok, i installed cmake version 2.4-patch 8, but still get the following messages when installing the PV3FoamReader module: [aa@lws16 PV3FoamReader]$ ./Allwmake + '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']' + case "$ParaView_VERSION" in + wmake libso vtkPV3Foam wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/vtkPV3Foam/lnInclude Making dependency list for source file vtkPV3Foam.C Making dependency list for source file vtkPV3FoamAddVolumeMesh.C Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C Making dependency list for source file vtkPV3FoamAddPatchMesh.C Making dependency list for source file vtkPV3FoamAddZoneMesh.C Making dependency list for source file vtkPV3FoamAddSetMesh.C Making dependency list for source file vtkPV3FoamUpdate.C Making dependency list for source file vtkPV3FoamUpdateInformation.C Making dependency list for source file vtkPV3FoamConvertMesh.C SOURCE=vtkPV3Foam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Foam.o In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112, from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40, '/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so' is up to date. + cd PV3FoamReader + mkdir -p Make/linuxGccDPOpt + cd Make/linuxGccDPOpt + cmake ../.. -- Check for working C compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- Check for working C compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/c++ -- Check for working CXX compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/c++ -- works -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.3.5 -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Configuring done -- Generating done -- Build files have been written to: /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt + make [ 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/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so'. Stop. make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2 make: *** [all] Error 2 [aa@lws16 PV3FoamReader]$ I appreciate greatly any help!! aram |
The error message is quite exp
The error message is quite explicit. The reader module requires library "libpython2.5.so". Do you have Python (2.5) installed in your system?
If the compilation still fails, please check first what causes it. There may be several libraries you need to install before it works. Good luck! |
Ville, thx for your comments!
Ville, thx for your comments!
I installed python 2.5, but its somehow strange as I cannot find the required library "libpython2.5.so". Does anybody have an idea how to solve this problem? Thanks in advance! Aram |
Hi Aram!
The compilation pr
Hi Aram!
The compilation process assumes that the library is located at /usr/lib/libpython2.5.so Is the library present there? For instance if the standard-python for your distro is 2.4 and you installed 2.5 as an addition it might be found at /usr/local/lib/libpython2.5.so or similar locations. Have a look. Then you change the line in the buildParaview....-script that comes with OF that says PYTHON_LIBRARY="" to point to the actual place of that library Bernhard |
Just throw some thoughts,hope
Just throw some thoughts,hope it's helpful.
For fedora system,libpython2.5.so belong to the package python-devel,not python. |
Bernhard and linzhenhuab thx f
Bernhard and linzhenhuab thx for your advice!
Yes it was the python-devel containing the libpython2.5.so, I get it now. Still cannot compile successfully, getting the following messages: -- Build files have been written to: /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt + make [ 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 Linking CXX shared library /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so /usr/bin/ld: cannot find -lhistory collect2: ld returned 1 exit status make[2]: *** [/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so] Error 1 make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2 make: *** [all] Error 2 When I search for the files moc_PV3FoamReaderPluginImplementation.o PV3FoamReaderPluginImplementation.o qrc_PV3FoamReader.o they are available, but linuxGccDPOpt/libPV3FoamReader.so and PV3FoamReader.dir/all cannot be found (as suggested by the error message). What confuses me most are the lines /usr/bin/ld: cannot find -lhistory collect2: ld returned 1 exit status I searched for their meaning on the forum and in the web but got no hint, so I don t know what to do. Somebody has an idea? Thanks a lot in advance!! Aram |
Hello,
@ /usr/bin/ld: canno
Hello,
@ /usr/bin/ld: cannot find -lhistory You need the devel. package called "readline". You might also need the runtime libraries provided by a package called "libreadline". Adjust for your Linux distro. Martin |
thx martin! i installed the de
thx martin! i installed the devel. package called "readline" and finally the compilation of Paraview 3.3 and the PV3FoamReader module worked. also thx to the others who helped me so far!!
i get a small problem though: when I want to visualize the cavity case (by typing paraFoam in the case directory) ParaView 3.3.0 opens with a window telling me: A reader for "cavity.OpenFOAM" could not be found. Please choose one ... when i choose any i get the errors posted below. i could not find any hint in the forum. does somebody have any?? thx a lot in advance! aram [aa@lws16 cavity]$ paraFoam ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLParser.cxx, line 460 vtkXMLDataParser (0xa24e160): Error parsing XML in stream at line 1: no element found ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLReader.cxx, line 357 vtkPVDReader (0xa129960): Error parsing input file. ReadXMLInformation aborting. ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkSelfConnecti on.cxx, line 147 vtkSelfConnection (0xa1fbd50): Failed to locate object with ID: 516 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/ServerManager/vtkSMOut putPort.cxx, line 288 vtkSMOutputPort (0xa2bace0): Missing data information. ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkPVDataInform ation.cxx, line 493 vtkPVDataInformation (0xa2bade8): Could not cast object to a known data set: vtkAlgorithmOutput |
thx martin! i installed the de
thx martin! i installed the devel. package called "readline" and finally the compilation of Paraview 3.3 and the PV3FoamReader module worked. also thx to the others who helped me so far!!
i get a small problem though: when I want to visualize the cavity case (by typing paraFoam in the case directory) ParaView 3.3.0 opens with a window telling me: A reader for "cavity.OpenFOAM" could not be found. Please choose one ... when i choose any i get the errors posted below. i could not find any hint in the forum. does somebody have any?? thx a lot in advance! aram [aa@lws16 cavity]$ paraFoam ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLParser.cxx, line 460 vtkXMLDataParser (0xa24e160): Error parsing XML in stream at line 1: no element found ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLReader.cxx, line 357 vtkPVDReader (0xa129960): Error parsing input file. ReadXMLInformation aborting. ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkSelfConnecti on.cxx, line 147 vtkSelfConnection (0xa1fbd50): Failed to locate object with ID: 516 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/ServerManager/vtkSMOut putPort.cxx, line 288 vtkSMOutputPort (0xa2bace0): Missing data information. ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148 vtkPVDReader (0xa129960): Could not read file information ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757 vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0) Debug: Off Modified Time: 237426 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkPVDataInform ation.cxx, line 493 vtkPVDataInformation (0xa2bade8): Could not cast object to a known data set: vtkAlgorithmOutput |
hi all!
i checked my qt ver
hi all!
i checked my qt version again and realized that qmake points to the older version of qt installed on my computer. i changed that so qmake --version gives now: QMake version 2.01a Using Qt version 4.3.5 in /usr/lib again i installed the PV3FoamReader module and compiled paraview but when running paraFoam for the cavity case, paraview opens but showing nothing, no tabs, no time instances without giving any error message. i cannot even find "cavity" written anywhere. please can somebody help me?? thx a lot in advance! aram |
Hi Aram,
I also couldn't us
Hi Aram,
I also couldn't use paraFoam to open the cavity case directly. I then searched the forum and followed suggestions by other friends here, which is to use an alternative approach, "foamToVTK", to convert results from openFOAM format to VTK format. VTK format files can be recognized by paraView correctly. foamToVTK -case $FOAM_RUN/tutorials/icoFoam/cavity Still digging on details though because now what I have in the ParaView GUI is different from what's shown in the tutorial (http://www.opencfd.co.uk/openfoam/do...#x30-1750006.1)... That's my two cents. Ying |
hi Ying
I am also facing t
hi Ying
I am also facing the same difficulty. and In my case also foamToVTK is working quite fine. I am using Qt-4.3.5. Which Qt version you are using? It might be because of the different qt versions. The paraview version of the tutorial case is compiled with 4.3.2 for 32 bit and 4.3.1 for 64 bit system. Have u tried ur compilation with 4.3.2/4.3.1 at ur system? Keep posting about the progress. I am also diggin into it ;) Nishant |
dear all!!
after playing a
dear all!!
after playing a bit with the GUI of paraview everything works now, even without applying the "foamToVTK". i want to say thank you to all for your support!! aram |
All times are GMT -4. The time now is 13:22. |