|March 5, 2009, 11:49||
Hi, I am using Redhat linux,
Join Date: Mar 2009
Location: glasgow, uk
Posts: 25Rep Power: 5
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 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:
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: 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: libmpfr.so.1: cannot open shared object file: No such file or directory
gmake: Leaving directory `/home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CM akeTmp'
gmake: *** [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?
|March 19, 2009, 11:59||
Join Date: Mar 2009
Posts: 122Rep Power: 6
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:
My experiences about Installing OpenFOAM on OPENSUSE103 32bit
Last edited by hellorishi; March 19, 2009 at 12:04. Reason: add link to old post
|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 10:34|
|Compiling Paraview on OSX 1056||egp||OpenFOAM Paraview & paraFoam||0||February 24, 2009 20:55|
|Installation problems about Paraview and PV3foamreader||clark_liang||OpenFOAM Installation||1||January 12, 2009 06:05|
|PV3FoamReader assumes the presence of a Qtapplication||gschaider||OpenFOAM Bugs||2||January 6, 2009 11:57|