CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   OpenFOAM15 paraFoam bug (http://www.cfd-online.com/Forums/openfoam-bugs/62313-openfoam15-parafoam-bug.html)

koen July 16, 2008 18:04

Hello, Today I started the
 
Hello,

Today I started the tutorial for OpenFOAM-1.5
I already started the cavity case in the 1.4.1 version some time ago, but lack of time held me back from finishing it.
I just found the courage to start it again and at the same moment the new release came out. Great timing... so I installed the new release and started the tutorial again.

My problem however:
Opening paraFoam gives an error message (not in the terminal):
" A reader for "cavity.OpenFOAM" could not be found. Please choose one: " this is followed by a long list of file formats. OpenFOAM is one of them, but this doesn't work.
As I remembered and found in the user guide, paraFoam should open cavity.foam and not cavity.OpenFOAM.

Can anybody help me with this?

alberto July 16, 2008 19:25

Hello Guerts, first of all,
 
Hello Guerts,

first of all, check that you installed OpenFOAM 1.5 properly (OF packages, binaries, third party tools).

If everything is OK, you probably are meeting a common problem with paraview and Qt libraries which was discussed in the README file and in the bug section (see for example the suse-related bug).

You might want to recompile paraview, after installing Qt 4.3. However it's not necessary: simply convert your case to VTK with foamToVTK and open it directly in paraview.

Regards,
Alberto

lakeat July 17, 2008 02:12

Yes, I met the same problem th
 
Yes, I met the same problem this day on my laptop OpenSUSE-11.0 (32 bits), but Everything is fine with my another PC which is 64 bits, I will check if it is related with my QT installation.

foamToVTK is good, but a little inconvenient.

Regards,
Daniel

olesen July 17, 2008 02:49

Geurts, There is unfortunat
 
Geurts,

There is unfortunately a mismatch between the docs and the reality. If you check the contents of the bin/paraFoam script, you'll see that the .OpenFOAM extension is indeed being used.

The change from .foam to .OpenFOAM avoids potential conficts between the two OpenFOAM readers available for paraview.

The .foam reader is the paraview native reader, but IMO you *really* need the patched version from Takuya to make it usable for anything but trivial cases. Fortunately Takuya is busy improving it all the time and his version might show up in the general paraview version sometime soon.

The .OpenFOAM reader is part of the OpenFOAM installation (located under applications/utilities/postProcessing/graphics/PV3FoamReader) and uses the OpenFOAM libraries.

koen July 17, 2008 03:53

Thanks for the quick responses
 
Thanks for the quick responses.

Alberto, I installed the Qt 4.3.x package before installing paraview. So I think I do not to recompile it. However, I tried recompiling it because I encountered this problem, but it messed things up even more, so I deleted all ThirdParty packages and reinstalled them, giving me the first error again.

Mark, I am at work now and will try the PV3FoamReader tonight. I will keep you posted.

johndeas July 30, 2008 10:22

I got the same problem using p
 
I got the same problem using paraFoam on my machine although I thought I would not have, since I run Ubuntu 8.04 on my machine. The OpenFOAM README file says "ubuntu-8.04: Version 4.3.4", however "qmake --version" reports "Using Qt version 4.4.0 in /usr/lib".

So, maybe there has been some updates in Ubuntu since the README was written.

musahossein August 25, 2008 08:07

Dear all: Any suggestions w
 
Dear all:

Any suggestions where I can download Qt 4.3.x from? TrolTech has 4.4.x available for download. I also have another question: if per OpenFoam Documentation Qt must be installed, then why not include it in the thirdparty packages instead of having users do it?

Musa

niklas August 25, 2008 09:53

I am using qt 4.4.0 and it wor
 
I am using qt 4.4.0 and it works fine for me.
there was a problem with compiling paraview, but that is easily fixed by editing the file CMakeLists.txt.

Find the lines below and comment out the MESSAGE.

IF (NOT qt_version_tmp)
# MESSAGE(SEND_ERROR "Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).")
ENDIF (NOT qt_version_tmp)

musahossein August 25, 2008 10:59

Niklas: Thanks! I will give
 
Niklas:

Thanks! I will give it a try

Musa

musahossein August 25, 2008 15:24

I have another question: Wh
 
I have another question:

Where should Qt 4.4 be installed. Since cmake is in a separate folder in the "Third Party" directory, should qt be installed in its own folder also or in the same folder as paraview.

Thanks
Musa

henry August 25, 2008 15:45

It is not clear from the Qt li
 
It is not clear from the Qt license that we are permitted to distribute the source but anyway it is not clear that we should given that it is pretty standard system library. Also it is not needed by OpenFOAM directly but by ParaView-3, so if it were to be included it should be included in that source-pack rather than ours. The older versions of Qt are available from the TrolTech site if you have problems with Qt 4.4.x. Our understanding is that the next release of ParaView3 will support Qt 4.4.x and we will move to that version then.

H

musahossein August 25, 2008 22:20

Henry: I downloaded OpenFOA
 
Henry:

I downloaded OpenFOAM 1.5. I ran
qmake --version

as suggested in the readme file. However qmake came up empty. Hence my question as to where Qt should be installed.

Also note that I am running Suse 10.0. will an upgraded Suse be required to run OpenFoam 1.5? No mention is made of this under system requirements.

Musa

lakeat August 26, 2008 01:12

> Also note that I am running
 
> Also note that I am running Suse 10.0. will an upgraded Suse be required to run OpenFoam 1.5? No mention is made of this under system requirements.

1. I don't think there are any system requirements for OF, since you are working with Linux.
2. But why not upgrade OpenSUSE 11.0, the new version is very good.

> Hence my question as to where Qt should be installed.
1. Anywhere, only be sure you set "PATH" to it, then it can be found.

Daniel

musahossein August 27, 2008 22:52

The TrollTech website has Qt f
 
The TrollTech website has Qt for different applications and intentions. Iam not sure which one I should be downloading. I went to download the following but stopped noting that the file was over 111 megs:

Qt Open Source Edition for C++ Developers: Embedded Linux Download

Is this what we should be downloading. It seems to be an awful lot of code just to run Paraview.

I would appreicate it if someone could post a link to the correct QT file.

Thanks.
Musaddeque Hossein

hariya03 August 28, 2008 07:44

Dear to all, I have tried t
 
Dear to all,

I have tried to open the cavity/icoFoam case file after solved. But the paraview asking to choose a appropriate reader to open the file.

When I choose the OpenFOAM files option it was crashed and exit with saying the below comments,
--------------------------------------------------
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
/home/harikr/OpenFOAM/OpenFOAM-1.5/bin/paraFoam: line 83: 13772 Aborted paraview --data=$caseFile
--------------------------------------------------

I have did the 7th step as like in READ ME for rebuilding and compiling the paraView and PV3Foam Reader using the steps as mentioned there.

But it results in unable to open the Paraview window itself after running the ./Allwmake.

I can work with converting into VTK formats and can open the file through in legacy vtk files.

But I would like to read the .OpenFOAM file.. the real one..

I have also checked with the paraFoam script file for the .OpenFOAM extension for whether any # mark is included, But it was not like that.

Could anybody advice me in this regard?
Kindly ask me if you need any more information.

Thanks in Advance.

Hari Krishnan.V

hariya03 August 28, 2008 07:45

I have installed Qt 4.3.5 and
 
I have installed Qt 4.3.5 and again compiled. Once after I compiled the paraview window was un able to open.

musahossein August 28, 2008 09:25

Hari: See the attached messag
 
Hari:
See the attached message below by Niklas. It appears that he has installed and is using Qt4.4.
http://www.cfd-online.com/cgi-bin/OpenFOAM_Discus/show.cgi?tpc=126&post=25947#POST259 47

Trolltech site has Qt4.4.1. I did not have much luck trying to download it from the trolltech site and will try later in the day. But you can try the same and see if Qt4.4.1 works for you. Older versions of Qt are also available at the site. The link for that is:

http://trolltech.com/downloads/opensource

sean February 17, 2009 13:27

Hello everyone. I also have
 
Hello everyone.

I also have a problem running the cavity example, after typing:
>cd $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run/tutorials/icoFoam/cavity
>blockMesh
>icoFoam
>paraFoam
The paraFoam viewer window opens along with a dialog box asking me to select a reader out of a list. I select OpenFoam, and the window crashes, and I get the following error msg:
[skoeberl@stokes cavity]$ paraFoam
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/bin/paraFoam: line 83: 21573 Aborted paraview --data=$caseFile

Any ideas on what I should do would be much appreciated.



To show what I did to build (on Fedora):
**************************************************
>uname -ra Linux localhost 2.6.27.12-78.2.8.fc9.i686 #1 SMP Mon Jan 19 20:14:35 EST 2009 i686 i686 i386 GNU/Linux
> rpm -q qt
qt-4.4.3-10.fc9.i386

>mkdir ~/OpenFOAM
>cd OpenFOAM
>tar -xzf OpenFOAM-1.5.General.gtgz OpenFOAM-1.5.linuxGccDPOpt.gtgz ThirdParty.General.gtgz ThirdParty.linuxGcc.gtgz
>. ~/.bashrc
>cd OpenFOAM-1.5
>./Allwmake

(Aside: This also builds the ThirdParty directory doesn't it? If I run the individual Allwmake scripts from each directory separately, I have problems, as I will show later. )

>foamSystemCheck
System check: PASS
==================
Continue OpenFOAM installation.
>foamInstallationTest
Executing /home/skoeberl/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: localhost
OS: Linux version 2.6.27.12-78.2.8.fc9.i686
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/skoeberl/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/skoeberl/OpenFOAM/skoeberl-1.5 yes no
$WM_THIRD_PARTY_DIR /home/skoeberl/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/skoeberl/OpenFOAM/OpenFOAM-1.5 yes yes yes

$FOAM_APPBIN ...M-1.5/applications/bin/linuxGccDPOpt yes yes yes
$FOAM_USER_APPBIN ...l-1.5/applications/bin/linuxGccDPOpt yes yes no
$WM_DIR ...skoeberl/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...nFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...nFOAM/skoeberl-1.5/lib/linuxGccDPOpt yes yes no
$MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.19 /bin/tar
icoFoam 1.5 ...AM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_localhost Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.




**************************************************
When I couldn't get the paraFOAM viewer working with the above, I then also attempted the following, which is mentioned in the readme section on rebuilding paraView and PV3FoamReader. Here are the bad results:
>cd $FOAM_INST_DIR/ThirdParty
>rm -rf ParaView3.3-cvs/platforms
>buildParaView3.3-cvs
:
:
-- Looking for include files HAVE_WINDOWS_H
-- Looking for include files HAVE_WINDOWS_H - not found.
-- Looking for include files HAVE_IEEEFP_H
-- Looking for include files HAVE_IEEEFP_H - not found.
-- Looking for floor
-- Looking for floor - not found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for isascii
-- Looking for isascii - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for memset
-- Looking for memset - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for pow
-- Looking for pow - not found
-- Looking for sqrt
-- Looking for sqrt - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for areroul
-- Looking for areroul - not found
:
:
-- Looking for include files HAVE_DL_H - not found.
:
:
-- Check size of uchar
-- Check size of uchar - failed
-- Performing NetCDF Test HAVE_ST_BLKSIZE
-- Performing NetCDF Test HAVE_ST_BLKSIZE - Success
:
:
-- Looking for glXGetProcAddressARB in GL/glx.h
-- Looking for glXGetProcAddressARB in GL/glx.h - FALSE
Qt was not found
:
:
-- Looking for include files HAVE_GLOBUS_COMMON_H
-- Looking for include files HAVE_GLOBUS_COMMON_H - not found.
-- Looking for include files HAVE_IO_H
-- Looking for include files HAVE_IO_H - not found.
-- Looking for include files HAVE_MFHDF_H
-- Looking for include files HAVE_MFHDF_H - not found.
-- Looking for include files HAVE_PDB_H
-- Looking for include files HAVE_PDB_H - not found.
-- Looking for include files HAVE_SETJMP_H
-- Looking for include files HAVE_SETJMP_H - found
-- Looking for include files HAVE_SRBCLIENT_H
-- Looking for include files HAVE_SRBCLIENT_H - not found.
-- Looking for include files HAVE_SYS_IOCTL_H
-- Looking for include files HAVE_SYS_IOCTL_H - found
-- Looking for include files HAVE_SYS_PROC_H
-- Looking for include files HAVE_SYS_PROC_H - not found.
-- Looking for include files HAVE_SYS_RESOURCE_H
-- Looking for include files HAVE_SYS_RESOURCE_H - found
-- Looking for include files HAVE_FEATURES_H
-- Looking for include files HAVE_FEATURES_H - found
-- Looking for include files HAVE_WINSOCK_H
-- Looking for include files HAVE_WINSOCK_H - not found.
:
:
-- Check size of jdshkjfhdks
-- Check size of jdshkjfhdks - failed
:
:
-- Check size of __int64
-- Check size of __int64 - failed
:
:
-- Looking for include files HAVE_SYS_FILIO_H
-- Looking for include files HAVE_SYS_FILIO_H - not found.
:
:
-- Looking for fseek64
-- Looking for fseek64 - not found
-- Performing Other Test INLINE_TEST_inline
-- Performing Other Test INLINE_TEST_inline - Success
-- Performing Other Test INLINE_TEST___inline__
-- Performing Other Test INLINE_TEST___inline__ - Success
-- Performing Other Test INLINE_TEST___inline
-- Performing Other Test INLINE_TEST___inline - Success
-- Checking for apropriate format for 64 bit long:
-- Checking for apropriate format for 64 bit long: "L"
-- Looking for strtoll
-- Looking for strtoll - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Plugin: Prism enabled
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done


>cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
>export PATH=$PATH:$(pwd)/$FOAM_INST_DIR/ThirdParty/
>./Allwclean
>./Allwmake
:
:
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon fig.cmake:158:
INCLUDE Could not find include file: /home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon figQt.cmake
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake;/home/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/lin ux/share/cmake-2.4/Modules/FindVTK.cmake;/home/skoeberl/OpenFOAM/ThirdParty/Para View3.3-cvs/platforms/linuxGcc/VTK/VTKConfig.cmake;/home/skoeberl/OpenFOAM/Third Party/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKConfigQt.cmake
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake
-- Configuring done
+ make
make: *** No targets specified and no makefile found. Stop.



************************************************
I then also tried the suggestion of modifying the CMakelists.txt file, and got these bad results:

>cd $FOAM_INST_DIR/ThirdParty
>rm -rf ParaView3.3-cvs/platforms
>buildParaView3.3-cvs
:
:
-- Performing Other Test INLINE_TEST_inline
-- Performing Other Test INLINE_TEST_inline - Success
-- Performing Other Test INLINE_TEST___inline__
-- Performing Other Test INLINE_TEST___inline__ - Success
-- Performing Other Test INLINE_TEST___inline
-- Performing Other Test INLINE_TEST___inline - Success
-- Checking for apropriate format for 64 bit long:
-- Checking for apropriate format for 64 bit long: "L"
-- Looking for strtoll
-- Looking for strtoll - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Plugin: Prism enabled
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done




>cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
>./Allwclean
>./Allwmake
:
:
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon fig.cmake:158:
INCLUDE Could not find include file: /home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon figQt.cmake
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake;/home/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/lin ux/share/cmake-2.4/Modules/FindVTK.cmake;/home/skoeberl/OpenFOAM/ThirdParty/Para View3.3-cvs/platforms/linuxGcc/VTK/VTKConfig.cmake;/home/skoeberl/OpenFOAM/Third Party/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKConfigQt.cmake
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/skoeberl/OpenFOAM/ThirdPart y/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/h ome/skoeberl/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Mod ules/CMakeCXXInformation.cmake;/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cv s/ParaViewUse.cmake
-- Configuring done
+ make
make: *** No targets specified and no makefile found. Stop.



Notice in particular:
************************************************** *
INCLUDE Could not find include file: /home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon figQt.cmake

CMake Error: Error in cmake code at
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.:458:
Unknown CMake command "QT4_WRAP_CPP".

CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:

A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".

CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".

CMake Error: Error in cmake code at
/home/skoeberl/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph ics/PV3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.

So I'm missing some macros and a file:
/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon figQT.cmake

However I do have:
/home/skoeberl/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK/VTKCon fig.cmake

I'll try making a renamed copy.

chiven April 20, 2009 04:16

would you like post the progress?
 
Hi sean, have you solved this problem? Would you like to post it?

I also meet the same problem as yours.

hansel June 30, 2009 10:46

Quote:

Originally Posted by alberto (Post 209038)
Hello Guerts,

If everything is OK, you probably are meeting a common problem with paraview and Qt libraries which was discussed in the README file and in the bug section (see for example the suse-related bug).

You might want to recompile paraview, after installing Qt 4.3. However it's not necessary: simply convert your case to VTK with foamToVTK and open it directly in paraview.

Regards,
Alberto

Alberto, I was under the impression that Qt was a toolkit for GUIs (widgets, menus, etc.) Does it really have anything to do with plug-ins and reading files?


All times are GMT -4. The time now is 17:00.