|
[Sponsors] |
October 23, 2008, 11:58 |
Hi,
I am still getting up t
|
#1 |
New Member
Carel
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Hi,
I am still getting up to speed with OpenFOAM and will appreciate some help. I have SLED10 on my machine and had to install QT V 4.3.5 as indicated. I get the following output when I run the following commands ( see output below message): foamInstallationTest qmake --version buildParaView3.3-cvs It looks like I need a library libmpfr.so.1. Where do I get it or is there something else wrong? Regards Carel carel@cfdnb02:~/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin> foamInstallationTest Executing /home/carel/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: cfdnb02 OS: Linux version 2.6.22.5-31-smp ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/carel/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/carel/OpenFOAM/carel-1.5 yes no $WM_THIRD_PARTY_DIR /home/carel/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/carel/OpenFOAM/OpenFOAM-1.5 yes yes yes $FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes $FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no $WM_DIR /home/carel/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 ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes yes yes $FOAM_USER_LIBBIN ...enFOAM/carel-1.5/lib/linux64GccDPOpt yes yes no $MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc gzip 1.3.5 /usr/bin/gzip tar 1.15.1 /bin/tar icoFoam 1.5 .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_cfdnb02 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. carel@cfdnb02:~/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin> qmake --version QMake version 2.01a Using Qt version 4.3.5 in /usr/lib64 carel@cfdnb02:~/OpenFOAM/ThirdParty> buildParaView3.3-cvs Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc -- Check for working C compiler: /home/carel/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- Check for working C compiler: /home/carel/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken CMake Error: The C compiler "/home/carel/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/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles /CMakeTmp' /home/carel/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o /home/carel/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp/testCCompiler.c /home/carel/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../libexec/gcc/x 86_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[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1 gmake[1]: Leaving directory `/home/carel/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles /CMakeTmp' 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. done |
|
October 23, 2008, 14:43 |
You might be able to download
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You might be able to download it. Alternatively you can download all the sources to the Thirdparty directory and use a script like the following (modify for your situation). Should produce in the end a working gcc.
Allwmake-gcc |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Steps to compile paraview from source | hsieh | ParaView | 12 | March 21, 2008 19:45 |
[OpenFOAM] HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview | chan | ParaView | 2 | February 13, 2006 07:37 |
Help Please--UDF compile | xc | FLUENT | 7 | December 2, 2005 12:34 |
F77 Compile. | CFD User. | Main CFD Forum | 9 | November 19, 2004 14:58 |
Help to Compile UDF | chiph | FLUENT | 2 | November 2, 2003 09:14 |