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

Troubles installing OF 1.6 on Opensuse 11.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2009, 06:15
Default Troubles installing OF 1.6 on Opensuse 11.1
  #1
New Member
 
Mirco Magnini
Join Date: Apr 2009
Location: Bologna, Italy
Posts: 14
Rep Power: 17
magnounibo is on a distinguished road
Good morning everybody, I'm trying to install OF on my 32 bit laptop, up to now with very sad results!!!!
First of all I have to admit that I'm a Opensuse beginner.

My steps has been the followings:

1 - download the 5 packed files from OF official site and uncompressed inside my </home/mirco/OpenFOAM> folder;
2 - added the line < . /home/mirco/OpenFOAM/OpenFOAM-1.6/etc/bashrc> at the bottom of </home/mirco/.bashrc> file, and updated this file by sourcing it;
3 - changed a variable inside the file </home/mirco/OpenFOAM/OpenFOAM-1.6/etc/settings.sh>. The variable I changed is <compilerInstall=System> instead of <OpenFOAM>;
4 - tried to compile OF, by typing <./Allwmake> from inside ThirdParty folder. No errors, everything seemed ok. Then I did the same inside OpenFOAM folder, but at the middle of the compiling I had the following errors:

<
..............................
+ cmake ../..
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /bin/c++
CMake Error: your CXX compiler: "/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: /bin/c++ -- broken
CMake Error at /home/mirco/OpenFOAM/ThirdParty-1.6/cmake-2.6.4/platforms/linux/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "/bin/c++" is not able to compile a simple test program.

It fails with the following output:

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

CMake Error: your CXX compiler: "/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
+ make
make[3]: Entering directory `/home/mirco/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt'
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /bin/c++
CMake Error: your CXX compiler: "/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: /bin/c++ -- broken
CMake Error at /home/mirco/OpenFOAM/ThirdParty-1.6/cmake-2.6.4/platforms/linux/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "/bin/c++" is not able to compile a simple test program.

It fails with the following output:

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

CMake Error: your CXX compiler: "/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
make[3]: *** [cmake_check_build_system] Error 1
make[3]: Target `default_target' not remade because of errors.
make[3]: Leaving directory `/home/mirco/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt'
make[2]: *** [PV3FoamReader] Error 2
+ '[' -d /home/mirco/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linuxGcc -a -r /home/mirco/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linuxGcc ']'
+ case "$ParaView_VERSION" in
make[2]: Target `application' not remade because of errors.
make[2]: Leaving directory `/home/mirco/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics'
make[1]: *** [graphics] Error 2

>

Then, it went on with the compiling and at the end I was written:

< make: Target 'application' note remade beacuse of errors >

So, I tried anyway the foamInstallationTest and everything looks ok up to the following message:

<
Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.3.2
Minimum required: 4.3.1

gcc 4.3.2
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
>

At the end of the Test I'm written:

< Base configuration ok
The foam installation contains 1 criitical error (s). >

I also tried to do a tutorial, but it didn't work.

Can somebody help me, or suggest me a link where I can get informations???

Thank everybody

Mirco
magnounibo is offline   Reply With Quote

Old   November 28, 2009, 14:12
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

It looks like 'c++' isn't installed.

You could try install 'gcc-g++' in YaST2.

Philip
bigphil 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
Problem Installing OF 1.6 Ubuntu 9.10 (64 bit) - How to use GCC 4.4.1 Future Science OpenFOAM Installation 43 November 10, 2011 08:17
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio alberto OpenFOAM 40 May 23, 2010 17:15
install openfoam 1.6 on opensuse 11.0 andresbh OpenFOAM Installation 8 September 30, 2009 01:48
Installing OpenFOAM 1.5 on OpenSUSE 11.1 StructureITA OpenFOAM Installation 31 April 30, 2009 20:45
Fluent / gambit on openSUSE 11.1 Ralf Schmidt FLUENT 0 February 24, 2009 05:37


All times are GMT -4. The time now is 17:37.