CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Compiling paraview 33 and pv3foamreader module

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

LinkBack Thread Tools Display Modes
Old   March 5, 2009, 12:49
Default Hi, I am using Redhat linux,
New Member
parham momeni
Join Date: Mar 2009
Location: glasgow, uk
Posts: 25
Rep Power: 9
mcjicpm2 is an unknown quantity at this point
I am using Redhat linux, I have installed openfoam and tested it and it seems though it is running the cavity test case.
I have also installed Qt and test it as below:
qmake --version
QMake version 2.01a
Using Qt version 4.3.5 in /usr/local/Trolltech/Qt-4.3.5/lib

however when I run buildParaView3.3-cvs in ThirdParty directory I am getting this error:

ThirdParty]$ buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
-- Check for working C compiler: /home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken
CMake Error: The C compiler "/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CM akeTmp'
/home/sf/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CMa keTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CMa keTmp/testCCompiler.c
/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../libexec/gcc/x86_ 64-unknown-linux-gnu/4.3.1/cc1: error while loading shared libraries: cannot open shared object file: No such file or directory
gmake[1]: Leaving directory `/home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CM akeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2

CMake will not be able to correctly generate this project.
-- Configuring done
make: *** No targets specified and no makefile found. Stop.

can anybody help me with that please?
mcjicpm2 is offline   Reply With Quote

Old   March 19, 2009, 11:59
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 144
Rep Power: 10
hellorishi is on a distinguished road

The problem is the MPFR and GMP are not installed. My suggestion, install these two packages and then reinstall OF-1.5.
Refer to this post:

good luck

Last edited by hellorishi; March 19, 2009 at 12:04. Reason: add link to old post
hellorishi is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help PV3FoamReader compile error zzli OpenFOAM Bugs 7 June 30, 2009 15:57
Compiling Paraview on OSX 1056 egp OpenFOAM Paraview & paraFoam 14 February 26, 2009 11:34
Compiling Paraview on OSX 1056 egp OpenFOAM Paraview & paraFoam 0 February 24, 2009 21:55
Installation problems about Paraview and PV3foamreader clark_liang OpenFOAM Installation 1 January 12, 2009 07:05
PV3FoamReader assumes the presence of a Qtapplication gschaider OpenFOAM Bugs 2 January 6, 2009 12:57

All times are GMT -4. The time now is 20:34.