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

centOS 5.6 : paraFoam not working

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2013, 11:33
Default centOS 5.6 : paraFoam not working
  #1
New Member
 
yossi
Join Date: Nov 2010
Posts: 8
Rep Power: 15
yossi is on a distinguished road
Hi all,

I've installed OF-2.1.1, and built cmake, qt and paraview.
when I run paraFoam I get:
Code:
FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
running Allwmake get the following errors:
Code:
+ '[' -d /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit -a -r /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit ']'
+ '[' -n /home/yossi/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/paraview-3.98 ']'
+ '[' -n g++ ']'
+ export CXX=g++
+ CXX=g++
+ wmake libso vtkPV3Readers
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3Readers.C
could not open file vtkDataArraySelection.h for source file vtkPV3Readers.C
could not open file vtkDataSet.h for source file vtkPV3Readers.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3Readers.C
could not open file vtkInformation.h for source file vtkPV3Readers.C
SOURCE=vtkPV3Readers.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yossi/Desktop/ParaView-3.98.1-Linux-64bit/include/paraview-3.98 -IlnInclude -I. -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3Readers.o
vtkPV3Readers.C:35:35: fatal error: vtkDataArraySelection.h: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/vtkPV3Readers.o] Error 1
+ PV3blockMeshReader/Allwmake
+ '[' -d /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit -a -r /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit ']'
+ wmake libso vtkPV3blockMesh
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3blockMesh.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3blockMesh.C
could not open file vtkDataArraySelection.h for source file vtkPV3blockMesh.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3blockMesh.C
could not open file vtkRenderer.h for source file vtkPV3blockMesh.C
could not open file vtkTextActor.h for source file vtkPV3blockMesh.C
could not open file vtkTextProperty.h for source file vtkPV3blockMesh.C
Making dependency list for source file vtkPV3blockMeshConvert.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3blockMeshConvert.C
could not open file vtkPoints.h for source file vtkPV3blockMeshConvert.C
could not open file vtkCellArray.h for source file vtkPV3blockMeshConvert.C
could not open file vtkDataArraySelection.h for source file vtkPV3blockMeshConvert.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3blockMeshConvert.C
could not open file vtkPolyData.h for source file vtkPV3blockMeshConvert.C
could not open file vtkUnstructuredGrid.h for source file vtkPV3blockMeshConvert.C
Making dependency list for source file vtkPV3blockMeshUtils.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3blockMeshUtils.C
could not open file vtkDataArraySelection.h for source file vtkPV3blockMeshUtils.C
could not open file vtkDataSet.h for source file vtkPV3blockMeshUtils.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3blockMeshUtils.C
could not open file vtkInformation.h for source file vtkPV3blockMeshUtils.C
SOURCE=vtkPV3blockMesh.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/mesh/blockMesh/lnInclude -I/home/yossi/Desktop/ParaView-3.98.1-Linux-64bit/include/paraview-3.98 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3blockMesh.o
In file included from vtkPV3blockMesh.C:27:0:
../PV3blockMeshReader/vtkPV3blockMeshReader.h:42:43: fatal error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/vtkPV3blockMesh.o] Error 1
+ cd PV3blockMeshReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.6.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /home/yossi/OpenFOAM/ThirdParty-2.1.1/platforms/linux64/gcc-4.6.2/bin/g++
-- Check for working CXX compiler: /home/yossi/OpenFOAM/ThirdParty-2.1.1/platforms/linux64/gcc-4.6.2/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:12 (FIND_PACKAGE):
  By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ParaView",
  but CMake did not find one.

  Could not find a package configuration file provided by "ParaView" with any
  of the following names:

    ParaViewConfig.cmake
    paraview-config.cmake

  Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
  "ParaView_DIR" to a directory containing one of the above files.  If
  "ParaView" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found.  Stop.
+ PV3FoamReader/Allwmake
+ '[' -d /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit -a -r /home/yossi/Desktop/ParaView-3.98.1-Linux-64bit ']'
+ wmake libso vtkPV3Foam
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3Foam.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3Foam.C
could not open file vtkDataArraySelection.h for source file vtkPV3Foam.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3Foam.C
could not open file vtkRenderer.h for source file vtkPV3Foam.C
could not open file vtkTextActor.h for source file vtkPV3Foam.C
could not open file vtkTextProperty.h for source file vtkPV3Foam.C
Making dependency list for source file vtkPV3FoamFields.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3FoamFields.C
could not open file vtkDataArraySelection.h for source file vtkPV3FoamFields.C
could not open file vtkPolyData.h for source file vtkPV3FoamFields.C
could not open file vtkUnstructuredGrid.h for source file vtkPV3FoamFields.C
could not open file vtkCellData.h for source file vtkPV3FoamFields.C
could not open file vtkFloatArray.h for source file vtkPV3FoamFields.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3FoamFields.C
could not open file vtkPointData.h for source file vtkPV3FoamFields.C
Making dependency list for source file vtkPV3FoamMesh.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3FoamMesh.C
could not open file vtkDataArraySelection.h for source file vtkPV3FoamMesh.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3FoamMesh.C
could not open file vtkPolyData.h for source file vtkPV3FoamMesh.C
could not open file vtkUnstructuredGrid.h for source file vtkPV3FoamMesh.C
Making dependency list for source file vtkPV3FoamMeshLagrangian.C
could not open file vtkPoints.h for source file vtkPV3FoamMeshLagrangian.C
could not open file vtkCellArray.h for source file vtkPV3FoamMeshLagrangian.C
could not open file vtkPolyData.h for source file vtkPV3FoamMeshLagrangian.C
Making dependency list for source file vtkPV3FoamMeshPatch.C
could not open file vtkPoints.h for source file vtkPV3FoamMeshPatch.C
could not open file vtkCellArray.h for source file vtkPV3FoamMeshPatch.C
could not open file vtkPolyData.h for source file vtkPV3FoamMeshPatch.C
Making dependency list for source file vtkPV3FoamMeshSet.C
could not open file vtkPoints.h for source file vtkPV3FoamMeshSet.C
could not open file vtkPolyData.h for source file vtkPV3FoamMeshSet.C
could not open file vtkCellArray.h for source file vtkPV3FoamMeshSet.C
Making dependency list for source file vtkPV3FoamMeshVolume.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3FoamMeshVolume.C
could not open file vtkPoints.h for source file vtkPV3FoamMeshVolume.C
could not open file vtkCellArray.h for source file vtkPV3FoamMeshVolume.C
could not open file vtkIdTypeArray.h for source file vtkPV3FoamMeshVolume.C
could not open file vtkUnstructuredGrid.h for source file vtkPV3FoamMeshVolume.C
Making dependency list for source file vtkPV3FoamMeshZone.C
could not open file vtkPoints.h for source file vtkPV3FoamMeshZone.C
could not open file vtkPolyData.h for source file vtkPV3FoamMeshZone.C
could not open file vtkCellArray.h for source file vtkPV3FoamMeshZone.C
Making dependency list for source file vtkPV3FoamUpdateInfo.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3FoamUpdateInfo.C
could not open file vtkDataArraySelection.h for source file vtkPV3FoamUpdateInfo.C
Making dependency list for source file vtkPV3FoamUtils.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV3FoamUtils.C
could not open file vtkDataArraySelection.h for source file vtkPV3FoamUtils.C
could not open file vtkDataSet.h for source file vtkPV3FoamUtils.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3FoamUtils.C
could not open file vtkInformation.h for source file vtkPV3FoamUtils.C
SOURCE=vtkPV3Foam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/yossi/Desktop/ParaView-3.98.1-Linux-64bit/include/paraview-3.98 -UHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yossi/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3Foam.o
In file included from vtkPV3Foam.C:27:0:
../PV3FoamReader/vtkPV3FoamReader.h:42:43: fatal error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.6.2
-- Check for working C compiler: /usr/bin/cc
sda5: write failed, user block limit reached.
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /home/yossi/software/cmake-2.8.11.2/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/usr/bin/cc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /home/yossi/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt/CMakeFiles/CMakeTmp

  

  Run Build Command:/usr/bin/gmake "cmTryCompileExec458563148/fast"

  gmake: *** No rule to make target `cmTryCompileExec458563148/fast'.  Stop.

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  


-- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found.  Stop.
can anyone help me?
yossi is offline   Reply With Quote

Old   September 28, 2013, 11:49
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings yossi,

Since you are not using the standard ParaView 3.12.0 that OpenFOAM is meant to work with, then you will have to use the internal reader. For that, run:
Code:
paraFoam -builtin
If it works well, you can add this line to your "~/.bashrc" file:
Code:
alias paraFoam='paraFoam -builtin'
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 9, 2013, 02:41
Default
  #3
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
Make a launcher from right click on desktop.
1.Choose Create Launcher
2.Browse and select paraview file in /bin of paraview installed directory
3.Fill name and create launcher.
Launch paraview from the icon you created.

If you are using paraview for other visualizations, it will be useful.
--
KANNAN
__________________
--
Dr. B T KANNAN, PhD, M.I.E,
PhD in Aerodynamics (CFD|Turbulence|Experiments)
Alumnus of Indian Institute of Technology - Madras.
skyinventorbt is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Error installing OpenFOAM 2.2.0 on CentOS 6.4 CGMaioli OpenFOAM Installation 34 February 24, 2014 15:06
paraFoam command no longer working after upgrading to Ubuntu 13.04 c_dowd OpenFOAM Installation 9 June 24, 2013 09:28
paraView was working, now not working goldbeard OpenFOAM Installation 8 March 28, 2013 23:02
[OpenFOAM] How to use paraFoam on a cluster andreas ParaView 1 March 6, 2013 18:11
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY raketenmaid ParaView 4 February 5, 2013 06:20


All times are GMT -4. The time now is 04:24.