CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers (https://www.cfd-online.com/Forums/openfoam-installation/70774-installing-openfoam-1-6-x-opensuse-11-2-question-developers.html)

Ahmed December 5, 2009 05:03

Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers
 
Hello folks
I am trying to compile OpenFOAM-1.6.x on my OpenSUSE 11.2 64 bits partition. I wrote and used this script to just download the files
http://www.cfd-online.com/Forums/ope...tml#post238804

so far so good.
Now I am writing the install script, which is nothing more than a call to Allwmake.
when I issue the command gedit InstallOpenFoam.sh I get the following error message
ahmed@linux-lpc2:~> gedit InstallOpenFoam.sh
kde4-config: /home/ahmed/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libkdecore.so.5)
kde4-config: /home/ahmed/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libkdecore.so.5)
ahmed@linux-lpc2:~>

Now here is the script, as of today, itself

#!/bin/bash
echo
echo
echo "Hello "$USER
echo
echo "Your current directory is:- "$PWD
echo
echo "Before compiling OpenFOAM-1.6.x, We first test the installation"
echo
foamSystemCheck
#
#
#
echo
cd OpenFOAM
cd OpenFOAM-1.6.x
#
#
#
#./Allwmake > error.log
#
#
#
echo
echo "...................That is all folks.................."
echo
echo "Enjoy Your OpenFOAM experience"
echo
echo " Be positive and helpful towards the others "
echo
echo " Share your OpenFOAM experience with other Users "
echo
echo
echo " Bye Bye"
echo


As you can see, the statement calling the Allwmake is commented, anyway, when I ran the script as it is, I got the following

ahmed@linux-lpc2:~> ./InstallOpenFoam.sh


Hello ahmed

Your current directory is:- /home/ahmed

Before compiling OpenFOAM-1.6.x, We first test the installation


Checking basic system...
-----------------------------------------------------------------------
Shell: /bin/bash
Host: linux-lpc2
OS: Linux version 2.6.31.5-0.1-desktop
User: ahmed


System check: PASS
==================
Continue OpenFOAM installation.



...................That is all folks..................

Enjoy Your OpenFOAM experience

Be positive and helpful towards the others

Share your OpenFOAM experience with other Users


Bye Bye

ahmed@linux-lpc2:~>

The foamSystemCheck, is giving me the go ahead, to compile the programme, but doing that resulted in a disaster

I am not sure if that disaster was caused by the KDE environment it self, or something conflicting within the openFOAM-1.6.x

There is a post on this same forum, about similar problems, But I am confused, as I understand it, the third party files are supposed to have all what is needed to compile OpenFOAM-1.6.x, but the KDE error message and the resulting disaster are making me think differently.

Now here is my main question,
where can I find the prerequisites before compiling the programme, I can not find any document on the internet that tells me what I need to have on my OpenSUSE 11.2 before calling the Allwmake

Can you help, please do so

Thanks and good luck to all


.............................................. Open Source for ever .................................................. ...................................


All times are GMT -4. The time now is 12:30.