CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

OpenFOAM15 paraFoam bug

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2008, 19:04
Default Hello, Today I started the
  #1
New Member
 
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17
koen is on a distinguished road
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?
koen is offline   Reply With Quote

Old   July 16, 2008, 20:25
Default Hello Guerts, first of all,
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
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
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 17, 2008, 03:12
Default Yes, I met the same problem th
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   July 17, 2008, 03:49
Default Geurts, There is unfortunat
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
olesen is offline   Reply With Quote

Old   July 17, 2008, 04:53
Default Thanks for the quick responses
  #5
New Member
 
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17
koen is on a distinguished road
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.
koen is offline   Reply With Quote

Old   July 30, 2008, 11:22
Default I got the same problem using p
  #6
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17
johndeas is on a distinguished road
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.
johndeas is offline   Reply With Quote

Old   August 25, 2008, 09:07
Default Dear all: Any suggestions w
  #7
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   August 25, 2008, 10:53
Default I am using qt 4.4.0 and it wor
  #8
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
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)
niklas is offline   Reply With Quote

Old   August 25, 2008, 11:59
Default Niklas: Thanks! I will give
  #9
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Niklas:

Thanks! I will give it a try

Musa
musahossein is offline   Reply With Quote

Old   August 25, 2008, 16:24
Default I have another question: Wh
  #10
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   August 25, 2008, 16:45
Default It is not clear from the Qt li
  #11
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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
henry is offline   Reply With Quote

Old   August 25, 2008, 23:20
Default Henry: I downloaded OpenFOA
  #12
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   August 26, 2008, 02:12
Default > Also note that I am running
  #13
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
> 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
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   August 27, 2008, 23:52
Default The TrollTech website has Qt f
  #14
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   August 28, 2008, 08:44
Default Dear to all, I have tried t
  #15
New Member
 
Hari Krishnan
Join Date: Mar 2009
Location: chennai, Tamil nadu, india
Posts: 27
Rep Power: 17
hariya03 is on a distinguished road
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 is offline   Reply With Quote

Old   August 28, 2008, 08:45
Default I have installed Qt 4.3.5 and
  #16
New Member
 
Hari Krishnan
Join Date: Mar 2009
Location: chennai, Tamil nadu, india
Posts: 27
Rep Power: 17
hariya03 is on a distinguished road
I have installed Qt 4.3.5 and again compiled. Once after I compiled the paraview window was un able to open.
hariya03 is offline   Reply With Quote

Old   August 28, 2008, 10:25
Default Hari: See the attached messag
  #17
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   February 17, 2009, 13:27
Default Hello everyone. I also have
  #18
New Member
 
Sean
Join Date: Mar 2009
Posts: 1
Rep Power: 0
sean is on a distinguished road
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.
sean is offline   Reply With Quote

Old   April 20, 2009, 05:16
Default would you like post the progress?
  #19
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Hi sean, have you solved this problem? Would you like to post it?

I also meet the same problem as yours.
chiven is offline   Reply With Quote

Old   June 30, 2009, 11:46
Default
  #20
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
Quote:
Originally Posted by alberto View Post
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?
hansel is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] ParaFoam error in OpenFOAM15 asaha ParaView 24 November 2, 2009 20:16
HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory wenterodt OpenFOAM Installation 52 June 26, 2009 18:01
OpenFOAM15 on Ubuntu810 forsumit OpenFOAM Installation 28 January 25, 2009 09:05
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Updates for OpenFOAM15 olesen OpenFOAM Installation 9 July 18, 2008 04:18


All times are GMT -4. The time now is 10:39.