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

tester l'installation de openfoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 16, 2011, 10:12
Default tester l'installation de openfoam
  #1
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 5
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, 12:28
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 04:12
Default tester installation openfoam
  #3
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 5
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, 04:24
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 05:13
Default tester l'installation de openfoam
  #5
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 5
ilene2011 is on a distinguished road
i m using ubuntu 8.04 LTS
ilene2011 is offline   Reply With Quote

Old   October 17, 2011, 11:02
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 17:55
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 04:04
Default tester l'installation de openfoam
  #8
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 5
ilene2011 is on a distinguished road
l'architecture c i686
ilene2011 is offline   Reply With Quote

Old   October 18, 2011, 16:31
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 13:07
Default tester l'installation de openfoam
  #10
New Member
 
douda gh
Join Date: Oct 2011
Posts: 9
Rep Power: 5
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, 04:28
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

Thread Tools
Display Modes

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 On
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 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


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