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

OpenFOAM-1.5-dev

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 28, 2011, 09:52
Unhappy OpenFOAM-1.5-dev
  #1
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
lulo is on a distinguished road
Hi everyone.

I am a beginner either with OpenFOAM and UBUNTU 10.04.
I am trying to install OpenFOAM in UBUNTU and when I run the installation test I got the following message:

Executing /home/lulo/OpenFOAM/OpenFOAM-1.5-dev/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: lulo-desktop
OS: Linux version 2.6.32-28-generic
-------------------------------------------------------------------------------


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

$FOAM_APPBIN ...dev/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...dev/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR ...lulo/OpenFOAM/OpenFOAM-1.5-dev/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 ...OpenFOAM-1.5-dev/lib/linux64GccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OAM/lulo-1.5-dev/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : ../src/configure
4.4.3
Minimum required: 4.2.0

gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.22 /bin/tar
icoFoam 1.5-dev ...nFOAM-1.5-dev/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_lulo-desktop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
OpenFOAM 1.5-dev enviroment requires either ssh and/or rsh.
Contact your system administrator.


-------------------------------------------------------------------------------

The system test has evoked 1 fatal error(s).

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.



Does anyone know how to correct the critical error I get in the third party installation?

Thanks a lot

Luca Locatelli
lulo is offline   Reply With Quote

Old   February 28, 2011, 10:13
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Luca and welcome to the forum!

Quote:
Originally Posted by lulo View Post

gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
No need to worry. That error can be ignored safely, since it's in fact just an old bug in the original scripts.

Best regards,
Bruno

PS: when you write/edit a post here in the blog in advanced mode, the button with the # symbol is for posting code But in quick edit mode this button doesn't appear
wyldckat is offline   Reply With Quote

Old   February 28, 2011, 12:02
Question
  #3
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
lulo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Luca and welcome to the forum!


No need to worry. That error can be ignored safely, since it's in fact just an old bug in the original scripts.

Best regards,
Bruno

PS: when you write/edit a post here in the blog in advanced mode, the button with the # symbol is for posting code But in quick edit mode this button doesn't appear

thanks... then I think my problem is another one.

I am trying to follow the first simple tutorial about cavity flow.
I run 'blockMesh' and it is working, but when i try to run 'paraFoam' it says:

#
lulo@lulo-desktop:~/OpenFOAM/lulo-1.5-dev/FOAM_RUN/tutorials/icoFoam/cavity$ paraFoam
paraview: symbol lookup error: /usr/lib/libmpi_cxx.so.0: undefined symbol: ompi_registered_datareps

#

I thought it was because of the error in the ThirdParty but then it is something else?!?!?!?!
Any idea???
lulo is offline   Reply With Quote

Old   February 28, 2011, 13:39
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Luca,

Quote:
Originally Posted by lulo View Post
Code:
lulo@lulo-desktop:~/OpenFOAM/lulo-1.5-dev/FOAM_RUN/tutorials/icoFoam/cavity$ paraFoam
paraview: symbol lookup error: /usr/lib/libmpi_cxx.so.0: undefined symbol: ompi_registered_datareps
How did you install ParaView? Are you using a pre-compiled version or did you compile it yourself? And which version are you using?
And MPI, which did you install in Ubuntu? OpenMPI or MPICH or something else?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 28, 2011, 20:28
Default
  #5
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
lulo is on a distinguished road
I have downloaded the third party 'ThirdParty.linux64Gcc.gtgz ' from http://sourceforge.net/projects/foam/files/foam/1.5/ (which include also paraView).

Then I extract the file and './Allwmake'. That is it right??????
lulo is offline   Reply With Quote

Old   March 1, 2011, 07:03
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Luca,

Then that's why you got that crazy error. What happened is this:
  • You got both the source package and binary package for the ThirdParty folder, correct?
  • Then you ran Allwmake in either ThirdParty or OpenFOAM-1.5-dev. Either way, that only builds stuff directly related to OpenFOAM.
  • To build ParaView, you would have to run makeParaView. Otherwise, the ParaView version you have right now is the old binary version that is in the package ThirdParty.linux64Gcc.gtgz. Since it's quite old, it won't work with the more recent Linux versions.
OK, the most simplest solution would be to install the ParaView version made available here: http://www.openfoam.com/download/ubuntu.php

Then... then I'll have to explain with more details later in the day, because right now I don't have the time
Basically, I'll sum up the steps you need from this blog post: Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

I'll finish this later! Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 1, 2011, 11:57
Default
  #7
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
lulo is on a distinguished road
Hey Bruno....

No need for further explanation... Paraview is now running and I was able to see the results of my first OpenFoam tutorial...

The error which I got with the third party installation is still there, nevertheless the program is running!

MANY MANY THANKS
lulo is offline   Reply With Quote

Old   March 18, 2011, 08:18
Default
  #8
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 6
kurne is on a distinguished road
Dear Luca
I got the same error as you have got.Will you please tell how you have run the paraview in your case.
Thanks In Advance
__________________
Simulation Is Determination Of Imagination Towards Approximation ®


Best Regards

Mubeen K Kurne
kurne is offline   Reply With Quote

Old   March 18, 2011, 09:18
Default
  #9
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 6
lulo is on a distinguished road
Hi Kurne

I did the following:

1. Download ParaView, extract it and place it in your home directory (in case you reinstall openFoam you will not need reinstall ParaView)
http://www.paraview.org/paraview/res.../software.html

The program in the package is already compiled so it is ready to use.

2. ONLY IF YOU WANT TO CREATE A SHORTCUT
Open the $HOME/.bashrc file and add the following at the end of the script
alias paraView='/home/lulo/ParaView-3.10.0-RC1-Linux-x86_64/bin/paraview'
REMEMBER TO CHANGE THE NAME OF THE USER DIRECTORY, lulo IN MY CASE
Now run the .bashrc file

3. Remember that paraView read file with ´.foam´ extension. Than we must create a dummy file with extention .foam. In the terminal
.touch CASE_NAME.foam

Hope it was enough!!
Just tell me if something goes wrong

Regards

Luca
lulo is offline   Reply With Quote

Old   March 19, 2011, 02:28
Default
  #10
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 6
kurne is on a distinguished road
Dear Luca
I want to start my problem from beginning and which i have posted here OpenFOAM-1.5 on Ubuntu 10.04. Will you please go through it and help me in solving my problem.I have installed all necessary package mention by bruno here http://www.cfd-online.com/Forums/ope...tml#post268828.
Thanks in Advance.
__________________
Simulation Is Determination Of Imagination Towards Approximation ®


Best Regards

Mubeen K Kurne
kurne is offline   Reply With Quote

Reply

Tags
openfoam 1.5-dev

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
ParaFoam instalation in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 2 July 24, 2010 23:24
OpenFOAM 1.5 dev LVDH OpenFOAM 98 May 5, 2010 17:01
ParaView/ParaFoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 2 February 27, 2010 15:02
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Post-Processing 0 December 9, 2009 13:13
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 0 December 9, 2009 13:12


All times are GMT -4. The time now is 06:02.