|
[Sponsors] |
June 21, 2010, 05:49 |
Installation paraFoam - still problem
|
#1 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Hello,
I was in another thread but maybe not the most appropriate.... I saw many threads on this forum about paraFoam. I am still not getting how to handle to complete the OpenFoam installation. Actually first steps works well...but when comes the time to run paraFoam..it does not work so I search on forums and manuals...find "Compiling Paraview 3.6.1 and the PV3FoamReader module", install locally qt as explained. I come to Code: cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader ./Allwclean ./Allwmake at that point I got problem with cmake so I install a local version of cmake (2.8) Change some paths to find the correct executable. At the end I come to get this error and I am not getting what to do at that point...some help please ? Code: make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + set ParaView_DIR=/nishome/nhl/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 + /usr/local/cmake-2.8.1-Linux-i386/bin/cmake ../.. CMake Error at CMakeLists.txt:12 (FIND_PACKAGE): Could not find module FindParaView.cmake or a configuration file for package ParaView. Adjust CMAKE_MODULE_PATH to find FindParaView.cmake or set ParaView_DIR to the directory containing a CMake configuration file for ParaView. The file will have one of the following names: ParaViewConfig.cmake paraview-config.cmake CMake Error at CMakeLists.txt:13 (INCLUDE): include called with wrong number of arguments. Include only takes one file. CMake Error at CMakeLists.txt:37 (ADD_PARAVIEW_PLUGIN): Unknown CMake command "ADD_PARAVIEW_PLUGIN". -- Configuring incomplete, errors occurred! + make make: *** No targets specified and no makefile found. Stop. If I have already paraview installed (3.8), how can I set openfoam to use it for paraFoam ? My station is Linux Red Hat 5.3 Linux 64bit...I "installed" OF 1.6.. |
|
June 21, 2010, 12:48 |
|
#2 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
I went a little bit further...by setting the Paraview_DIR...the script correctly find ParaViewConfig.cmake file...but now I got a new error when executing ./Allwmake in PV3Foam reader folder....
Code:
make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + /usr/local/cmake-2.8.1-Linux-i386/bin/cmake ../.. CMake Error at /nishome/nhl/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/ParaViewConfig.cmake:36 (INCLUDE): include could not find load file: @PARAVIEW_LIBRARY_DEPENDS_FILE@ Call Stack (most recent call first): CMakeLists.txt:12 (FIND_PACKAGE) CMake Error at CMakeLists.txt:13 (INCLUDE): include could not find load file: @PARAVIEW_USE_FILE@ CMake Error at CMakeLists.txt:37 (ADD_PARAVIEW_PLUGIN): Unknown CMake command "ADD_PARAVIEW_PLUGIN". -- Configuring incomplete, errors occurred! + make Any help would be appreciate. Nico |
|
June 21, 2010, 18:36 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Nico and welcome to the forum!
I guess the thread you initially mentioned was this one: http://www.cfd-online.com/Forums/ope...-parafoam.html Actually you were right to post there, but personally I didn't pick up on it's existence OK, as for ParaView 3.6.1, I have a question for you: did you build ParaView using the script makeParaView that is available in the ThirdParty-1.6 folder?? My suggestion is to follow the thread I've help on how to install ParaView 3.6.1: Quote:
As for ParaView 3.8.0, you won't need to build PV3FoamReader since it already has a very good native reader built in ParaView. You can change in the script OpenFOAM-1.6/bin/paraFoam were it says ".OpenFOAM" to ".foam", since ParaView 3.8.0 expects that "foam" is the file extension for OpenFOAM cases. Now, for OpenFOAM to have direct access to the binary file paraview, you should edit the file OpenFOAM-1.6/etc/apps/paraview3/bashrc and tweak it to suit your needs... or in other words, change the script in order for it to make it point to your ParaView 3.8.0 installation instead of OpenFOAM's 3.6.1 version! Best regards, Bruno
__________________
|
||
June 22, 2010, 04:35 |
|
#4 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Hello Bruno,
Thanks to help me to go through this. Concerning paraview 3.6.1, I compiled Paraview with a local version of Qt that I download following your recommandations in another thread. Code:
makeParaView -qmake package Now for the 3.8.0, I make the corrections that you mention in the script OpenFOAM-1.6/etc/apps/paraview3/bashrc and in the paraFoam script....I come to succesfully launched paraview with paraFoam command (tutorial cavity case). But a "nice" GUI opens with an error saying that : "a reader can not be found.Please choose one" and I got many formats...but nothing seems to be related to OpenFoam data. I guess it is problems related to paraview...But do you have any ideas ? Actually I don't care about the ParaView version..just one that works will be fine enough. Thanks again for the support. Nico |
|
June 22, 2010, 07:57 |
|
#5 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello Nico,
Quote:
Quote:
Best regards, Bruno
__________________
|
|||
June 22, 2010, 09:38 |
|
#6 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Ok I re-download Paraview 3.8.0. and it appears that my version was quite different. It was named RC1.
I do not know what that means..but now in that version, the reader is present as I do not have any more trouble. Yes that means that the installation of OpenFoam is fully done !!! Thank you again Bruno for your support and for the last threads that you post. Nico |
|
June 22, 2010, 09:45 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Nico,
Quote:
I'm glad it's finally working and you're welcome Best regards, Bruno
__________________
|
||
June 22, 2010, 10:22 |
|
#8 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Indeed, the reader was accidentally missing in the RC1, which was quickly noticed and reported to the PV developers by Fabian Braennstroem. Really appreciated!
T |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] paraFoam problem | autumn1012 | ParaView | 22 | July 8, 2010 03:20 |
Problem with paraFoam | ata | OpenFOAM | 14 | November 30, 2009 05:23 |
paraFoam running problem | Aleksey_R | OpenFOAM | 2 | November 27, 2009 19:18 |
[blockMesh] Problem using paraFoam to view cavityGrade mesh file | felik9 | OpenFOAM Meshing & Mesh Conversion | 1 | September 27, 2009 16:31 |
Problem with LinuxIA64 installation of OpenFOAM13 | antares | OpenFOAM Installation | 0 | May 25, 2006 13:19 |