|
[Sponsors] |
March 10, 2009, 14:43 |
ParaFoam reader
|
#1 |
New Member
Duarte Albuquerque
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
when i run ParaFOAM it appears a windows saying that a reader for the file cavity.OpenFOAM cannot be found.
In this way i cannot see the mesh or the results. The instalation of the OpenFOAM was sucessufull |
|
March 10, 2009, 14:54 |
Hi,
you have to build PV3F
|
#2 |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
Hi,
you have to build PV3FoamReader. cd ~/OpenFOAM/OpenFOAM-yourVersionHere find . -type d -iname 'PV*FOAMReader*' My directory is i.e.: ~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3Fo amReader cd to that directory ./Allwmake
__________________
When asking a question, prepare a SSCCE. |
|
March 18, 2009, 13:00 |
lpqcomponents error
|
#3 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
Hello,
I tried to compile paraFoam and I end up with the following error concerning lpqcomponents. I googled but I could not find an answer. Does anybody have a clue what is this about? Here is the output of Allwmake ... ... + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. -- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++ -- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/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_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.3.5 -- Configuring done -- Generating done -- Build files have been written to: /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt + make [ 8%] Generating qrc_PV3FoamReader.cxx [ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx Scanning dependencies of target PV3FoamReader [ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o [ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o [ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o Linking CXX shared library /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so /usr/bin/ld: cannot find -lpqComponents collect2: ld returned 1 exit status make[2]: *** [/home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so] Error 1 make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2 make: *** [all] Error 2 I have Qt-4.3.2 on SuSE SLED 10, 64 bit. Paraview-3.4.0 binary in installed as well. I am using foamToVTK for now, but would like to use paraFoam. Thanks Rishi |
|
March 21, 2009, 07:25 |
|
#4 | |
New Member
jan ramboer
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Quote:
|
||
May 29, 2009, 13:28 |
lpqcomponents not found
|
#5 | |
New Member
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Hello Rishi
I got the same error when i tried to compile paraFoam. Can you give me a hint how you have solved it? tks Quote:
|
||
May 29, 2009, 13:34 |
|
#6 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
Hello Nurye,
Unfortunately I could not solve that error. I am using a workaround, i.e. using foamToVTK and Paraview binary. Regards, Rishi |
|
May 30, 2009, 15:38 |
Can't compile Paraview 3.3
|
#7 |
New Member
Join Date: May 2009
Location: Texas
Posts: 10
Rep Power: 17 |
When I try to build Paraview3.3 I get a couple of error messages as follows:
gcc fails the compling test --broken libmpfr.so.1 Cannot open shared object file: No such file or directory. I'm using Open Suse 10.3 32 bit gcc 4.3.1 Qt 4.3.1 Kenny |
|
June 1, 2009, 11:54 |
|
#8 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
Hello Kenny,
It seems mpfr is missing from your OpenSuSE. Search the forum for OpenSuSE installation procedure & you will find the missing things for OpenSuSE10.3. e.g. http://www.cfd-online.com/Forums/ope...tml#post206860 Possibly gmp is also missing from your Linux. |
|
June 2, 2009, 09:46 |
|
#9 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
Hi Kenny,
If you are using OpenSuSE10.3 You can find the QT here: http://download.opensuse.org/reposit...SUSE_10.3/src/ Can you output the result of following command. By the way do you have a stand alone machine or a cluster? Can you play around freely with your system ? If ya then you might consider installing Ubuntu and OF script from forum or even simple download the OpenFOAM live Slax from the link in forum. Rishi |
|
June 2, 2009, 20:47 |
|
#10 |
New Member
Join Date: May 2009
Location: Texas
Posts: 10
Rep Power: 17 |
Rishi,
Thanks. I've been pretty frustrated so far. I am trying to run on a pentium 4 dual core at home. What is the OF Script? What is the OF live Slax? How are you using OF (what applications)? Many Thanks, |
|
June 3, 2009, 03:01 |
|
#11 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
Hi Kenny
http://www.cfd-online.com/Forums/ope...ntu-810-a.html There is possibly another OF installation script. Search it. There is a live OF that can be run from usb or DVD http://www.cfd-online.com/Forums/ope...lax-based.html I am using OF with SuSE, but that was a long story to get it working. I am using icoFoam, turbFoam, rhoSimpleFoam, etc... Another tip: forget paraFoam. use foamToVTK and ParaView. Paraview binaries are easier to install and no need to compile from source. |
|
June 18, 2009, 12:34 |
PV3FoamReader
|
#12 |
Member
Sylvain Martel
Join Date: Apr 2009
Location: University of Sherbrooke/Quebec/Canada
Posts: 51
Rep Power: 17 |
Hi guys,
I have trouble with paraview. I correctly buildParaView3.3-cvs but when I do the last task in the "read me" file at the "7 Compiling ParaView 3.3 and the PV3FoamReader module". When I do : ./Allwclean + rm -r PV3FoamReader/Make rm: ne peut enlever 'PV3FoamReader/Make': Aucun fichier ou dossier de ce type + wclean libso vtkPV3Foam wclean vtkPV3Foam ./Allwmake + [ -d /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxcc -a -r /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxGcc ] I think that the Allwmake must be more thing. Could you give me some examples of what it supposed to do? I cannot start paraview at all. I downloaded the version 3.4 of paraview but I cannot start paraview just by typing paraview in a terminal. All idea is welcome... Sylvain |
|
June 29, 2009, 16:38 |
OF-1.5-dev is ok and paraFoam too!
|
#13 |
Member
Sylvain Martel
Join Date: Apr 2009
Location: University of Sherbrooke/Quebec/Canada
Posts: 51
Rep Power: 17 |
Hi all,
I finaly get the OpenFOAM-1.5-dev running perfectly. I changed my linux system to Ubuntu 8.04. I experienced problems with paraFoam and paraview under ubuntu 9.04. I solved the problem by installing paraview 3.4.0 instead of 3.3-cvs. For this, I changed some file (buildParaView3.3-cvs, in OpenFOAM-1.5-dev/bin and in OpenFOAM-1.5-dev/bin/tools and the bashrc in OpenFOAM-1.5-dev/etc/apps to point to the ParaView-3.4.0 folder (OpenFOAM/ThirdParty/ParaView-3.4.0). I think it should be OK too with the ubuntu 9.04 in which the qmake version 4.3.5 should be installed. For me, I used qmake 4.3.4 and gcc 4.3.1. Thank to all! |
|
August 12, 2009, 10:27 |
|
#14 | |
Member
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 62
Rep Power: 17 |
Quote:
not sure whether this is still of interest - today, I ran onto the same error about missing lpqcomponents. After checking thoroughly through the build logs, I found that while compiling paraview, errors occured (which could not be noticed because the script kept on running...). They were related to a missing Python.h which means that the development files of python were not installed. After installing these (apt-get install python-dev on debian), compiling and building went smoothly. best regards, -Thomas |
||
August 12, 2009, 14:48 |
paraFoam success
|
#15 |
New Member
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17 |
I had a HUUUGE problems with paraFoam, so it all came to the chipset related problems. Mainly the situation was, that paraview vorked but paraFoam didn't. In intel integrated graphics i915 the problem haven't yet been solved, but with radeon driver the problem solved with the folllowing:
1. download qt-4.3.5 (as the README file states) unpack and install it : 2. set correct PATH and LD_LIBRARY_PATH, which points to INSTALLED Qt-4.3.5/bin and Qt-4.3.5/lib/ paths. Be sure that they are not blocked by any other libraries (such as /usr/lib64/) or binaries 3. Follow the readme step 7 first guide and all should be done If paraFoam isn't working, make sure you have mesa-libLG*-devel installed. And also the cmake should be the correct version. I compiled it from the source. ps. the operating system is fedora 11 in both. Last edited by tikulju; August 12, 2009 at 16:11. Reason: correction |
|
August 28, 2009, 18:43 |
|
#16 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
Hi all
I'm trying to install Paraview in OF-1.6 but I can't get rid of this error. It is related to an unrecognized format. the "makeParaview" ends without errors, but in the PV3FoamReader step I got the error ******* . . . Make/linux64GccDPOpt/vtkPV3FoamUtilities.o /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libvtkPV3Foam.so] Error 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt . . . [ 91%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkSMPV3FoamReader_SMInstantiator.o [100%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkPVPluginInit_PV3FoamReader_SM.o Linking CXX shared library /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader_SM.so /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make[2]: *** [/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader_SM.so] Error 1 make[1]: *** [CMakeFiles/PV3FoamReader_SM.dir/all] Error 2 make: *** [all] Error 2 ******* I have SLED 10 SP1, 64 bits. I am using gcc 4.3.1 and compiled cmake. With the gcc 4.3.3 binary of the Thirdparty I got some "broken" messages. Please, any hint is appreciated best Victor |
|
August 31, 2009, 18:19 |
|
#17 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
anyone ?
best Victor |
|
September 1, 2009, 13:01 |
|
#18 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I am wondering if someone tried to install pv3Foam against an external paraview? I tried and struggled I set paraview_dir to the make install destiantion of paraview and paraview_inst_dir to build or source directory. However, none of them works as OpenFOAM neads headers from paraview sources as well as files from build directory. My final aim is to not distribute build and source of paraview over all of our system - only binaries. Has anyone tried this before? Users should be able to use same paraview than for other codes.
Thanks. |
|
September 2, 2009, 04:38 |
|
#19 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Ok as a documentation what needs to be done to build all the Paraview-related stuff against a Paraview out of the ThirdParty tree of OpenFOAM:
Edit etc/apps/paraview3/bashrc: - Point cmake to cmake-location - Point ParaView_DIR to the location where you installed Paraview with make install (out of ThirdParty-Directory) Copy all header files from your Paraview Source directories VTK/Common, VTK/Filtering and VTK/Rendering to Thirdparty-Paraview. Theses headers are the only files required there. Copy Header-Files from Paraview Build-directory VTK and the folder VTK/vtkstd and ParaViewConfig.cmake to the directory where you installed paraview. Afterwards build as usual. For me this runs. Regards BastiL |
|
September 2, 2009, 21:09 |
|
#20 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
Hi Bastil
thanks for the hint. In the meanwhile I tried to use the paraview reader I compiled for OF-1.5 to view the results of the icofoam tutorial of OF-1.6 and it worked. Have not tested in other ones, but perhaps it works. best Victor |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] paraFoam vs paraView builtin reader for lagrangian solvers | Yann | ParaView | 2 | September 9, 2017 06:32 |
[OpenFOAM.org] Problems to install openfoam-2.4.0 on Ubuntu 16.04.01LTS | matheusmonjon | OpenFOAM Installation | 3 | February 25, 2017 15:46 |
[OpenFOAM.com] paraFoam reader module libraries do not exist | sjtuwjh | OpenFOAM Installation | 14 | May 6, 2016 14:55 |
Parafoam - FATAL ERROR: ParaView reader module libraries do not exist | Amit_Pawarpawar | OpenFOAM Installation | 1 | August 25, 2014 11:31 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |