CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   tester l'installation de openfoam (https://www.cfd-online.com/Forums/openfoam-installation/93449-tester-linstallation-de-openfoam.html)

ilene2011 October 16, 2011 10:12

tester l'installation de openfoam
 
apres l'installation de openfoam j'ai lancer le script pour tester l'installation then i have le resultat suivant:

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/bahloul/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/bahloul/OpenFOAM/bahloul-2.0.1 yes no
$WM_THIRD_PARTY_DIR /home/bahloul/OpenFOAM/ThirdParty-2.0.1 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/bahloul/OpenFOAM/OpenFOAM-2.0.1 yes yes yes

$FOAM_APPBIN ...AM-2.0.1/platforms/linuxGccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN ...te/2.0.1/platforms/linuxGccDPOpt/bin no no
$FOAM_USER_APPBIN ...ul-2.0.1/platforms/linuxGccDPOpt/bin no no
$WM_DIR ...ahloul/OpenFOAM/OpenFOAM-2.0.1/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 ...AM-2.0.1/platforms/linuxGccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN ...te/2.0.1/platforms/linuxGccDPOpt/lib no no
$FOAM_USER_LIBBIN ...ul-2.0.1/platforms/linuxGccDPOpt/lib no no
$MPI_ARCH_PATH ...0.1/platforms/linuxGcc/openmpi-1.5.3 no yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.34 /usr/bin/flex
[: 460: 4: unexpected operator
[: 460: 4: unexpected operator
[: 460: 3: unexpected operator
[: 460: 3: unexpected operator
[: 460: unexpected operator
gcc /usr/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.19 /bin/tar
icoFoam ...OAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/bin/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.
Critical systems ok.

Done
j'ai pas comprris les ereurs affichés

wyldckat October 16, 2011 12:28

Greetings ilene2011 and welcome to the forum!

OK, you seem rather lost here in the forum, so I'll try to guide a bit:
  • Please use the OpenFOAM installation sub-forum for these types of questions, which are related to installation: http://www.cfd-online.com/Forums/openfoam-installation/
  • I believe the CFD Online Forums are meant to be used in English, but in case you don't know how to write in English very well, you can try posting in both languages: In English and in your native language.
Now, for your two questions:
  1. About the question on this thread: don't worry the errors, because in the end it reports:
    Code:

    Base configuration ok.
    Critical systems ok.

  2. About the problems you were having with building ParaView, read this blog post of mine: Building ParaView 3.10.1 with custom Qt 4.6.4
Best regards,
Bruno

ilene2011 October 17, 2011 04:12

tester installation openfoam
 
when i finished the installation of openfoam i have errors:
Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.34 /usr/bin/flex
[: 460: 4: unexpected operator
[: 460: 4: unexpected operator
[: 460: 3: unexpected operator
[: 460: 3: unexpected operator
[: 460: unexpected operator
gcc /usr/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.19 /bin/tar
icoFoam 2.0.1 ...OAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/bin/icoFoam
how to correct those errors
when i execute the commande icofoam i receive the error:

#0 Foam::error::printStack(Foam::Ostream&) in "/home/bahloul/OpenFOAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/home/bahloul/OpenFOAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 cfree in "/lib/tls/i686/cmov/libc.so.6"
#4 operator delete(void*) in "/usr/lib/libstdc++.so.6"
#5 operator delete[](void*) in "/usr/lib/libstdc++.so.6"
#6 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::operator=(Foam::tmp<Foam::Geometri cField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/bahloul/OpenFOAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/bin/icoFoam"
#7 main in "/home/bahloul/OpenFOAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/bin/icoFoam"
#8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#9 Foam::UOPstream::write(char) in "/home/bahloul/OpenFOAM/OpenFOAM-2.0.1/platforms/linuxGccDPOpt/bin/icoFoam"
Erreur de segmentation

heeeeeeeeeeelp how to proceed

wyldckat October 17, 2011 04:24

Quote:

Originally Posted by ilene2011 (Post 328171)
heeeeeeeeeeelp how to proceed

OK, what is the Operating System that you are using?
Is it by any chance RHEL (Red Hat Enterprise Linux)? If it is RHEL or CentOS or SL (Scientific Linux), then try the CentFOAM project: http://sourceforge.net/apps/mediawik...itle=Main_Page
That project can ease the OpenFOAM installation process in CentOS/RHEL/SL!

If it's not CentOS/RHEL/SL, then which Gcc version do you have:
Code:

gcc -v
Best regards,
Bruno

ilene2011 October 17, 2011 05:13

tester l'installation de openfoam
 
i m using ubuntu 8.04 LTS

wyldckat October 17, 2011 11:02

Hi Douda,

That's going to be a problem :( Any possibility of upgrading your system to at least Ubuntu 10.04?

If not, it's going to be a bit complicated to explain it all. Basically your system has a Gcc version lower that 4.3.3, which is the minimum required for OpenFOAM. This means that you'll need a more recent Gcc version.

Contact your system's administrator so he/she can help you with this installation.

If neither is possible, I can only write down instructions in a few hours from now.

Best regards,
Bruno

wyldckat October 17, 2011 17:55

Hi Douda,

I'm currently confirming if the following instructions are working with Ubuntu 8.04 x86_64: Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04

To check which architecture your Ubuntu is using, run:
Code:

uname -m
I'll edit this post when I have concluded tests.

Best regards,
Bruno

ilene2011 October 18, 2011 04:04

tester l'installation de openfoam
 
l'architecture c i686

wyldckat October 18, 2011 16:31

Hi Douda,

I've finished testing the instructions myself and fixed everything I could figure out that weren't working.
Follow the instructions to the letter, specifically copy-paste the given commands inside the "Code:" blocks and everything should work out as intended: Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04

Keeping in mind to follow the instructions for i686 (namely i?86, where ?=3,4,5 or 6).

Remember that you must have the necessary graphics card drivers properly installed, otherwise ParaView might not build/work as intended.

Best regards and good luck!
Bruno

ilene2011 October 23, 2011 13:07

tester l'installation de openfoam
 
merci beaucoup pour votre aide ca marche tres bien thnks a lot

wyldckat October 24, 2011 04:28

Hi Douda,

You're welcome :)
And it's a good thing you are using Ubuntu 8.04 i686, otherwise with the x86_64 version would have been a bit more complicated :(

Best regards,
Bruno


All times are GMT -4. The time now is 23:39.