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

tester l'installation de openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2011, 11:12
Default tester l'installation de openfoam
  #1
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 15
ilene2011 is on a distinguished road
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
ilene2011 is offline   Reply With Quote

Old   October 16, 2011, 13:28
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   October 17, 2011, 05:12
Default tester installation openfoam
  #3
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 15
ilene2011 is on a distinguished road
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:rintStack(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>:perator=(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
ilene2011 is offline   Reply With Quote

Old   October 17, 2011, 05:24
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by ilene2011 View Post
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
__________________
wyldckat is offline   Reply With Quote

Old   October 17, 2011, 06:13
Default tester l'installation de openfoam
  #5
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 15
ilene2011 is on a distinguished road
i m using ubuntu 8.04 LTS
ilene2011 is offline   Reply With Quote

Old   October 17, 2011, 12:02
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 is offline   Reply With Quote

Old   October 17, 2011, 18:55
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   October 18, 2011, 05:04
Default tester l'installation de openfoam
  #8
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 15
ilene2011 is on a distinguished road
l'architecture c i686
ilene2011 is offline   Reply With Quote

Old   October 18, 2011, 17:31
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   October 23, 2011, 14:07
Default tester l'installation de openfoam
  #10
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 15
ilene2011 is on a distinguished road
merci beaucoup pour votre aide ca marche tres bien thnks a lot
ilene2011 is offline   Reply With Quote

Old   October 24, 2011, 05:28
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat 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
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50


All times are GMT -4. The time now is 22:33.