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

Problems with OpenFOAM 2.3.0 on Ubuntu 14.04

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2014, 20:32
Default Problems with OpenFOAM 2.3.0 on Ubuntu 14.04
  #1
New Member
 
Join Date: Jun 2014
Posts: 7
Rep Power: 12
smallzilla is on a distinguished road
I am new to OpenFOAM and Linux and could use some assistance. I am running Ubuntu 14.04 and installed OpenFOAM-2.3.0 succesfully (atleast I thought).

after installing I ran the tests and everything worked fine. I then took a break and logged off Linux. When I returned to learning OpenFOAM. I noticed that I could not run any tutorials. When I run 'of230' which i assume you use to start openfoam I am not able to use the tutorials. When Typing -icoFoam -help i get the following message

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!

When I run the foamInstallationTest it seems ok. I get the following. Am I doing something wrong or missing something fundamental to Linux?

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

$FOAM_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN .../2.3.0/platforms/linux64GccDPOpt/bin no no
$FOAM_USER_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin no no
$WM_DIR .../lloyd/OpenFOAM/OpenFOAM-2.3.0/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 ...-2.3.0/platforms/linux64GccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN .../2.3.0/platforms/linux64GccDPOpt/lib no no
$FOAM_USER_LIBBIN ...-2.3.0/platforms/linux64GccDPOpt/lib no no
$MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.6.5 no yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.35 /usr/bin/flex
gcc 4.8.2 /usr/bin/gcc
gzip 1.6 /bin/gzip
tar 1.27.1 /bin/tar
icoFoam ...M/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam
-------------------------------------------------------------------------------


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

Done



Am I missing something?

Thank you
-Lloyd
smallzilla is offline   Reply With Quote

Old   June 18, 2014, 10:57
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Code:
Base configuration ok.
Critical systems ok.
that looks good..

Did you compile or install the binaries? What about just typing

Code:
which icoFoam
I see a dash in front of icoFoam in your post above, which isn't correct. Did you adjust your .bashrc file in your home directory as it is stated in these instruction?

Last edited by chegdan; June 18, 2014 at 12:02.
chegdan is offline   Reply With Quote

Old   June 18, 2014, 18:45
Default
  #3
New Member
 
Join Date: Jun 2014
Posts: 7
Rep Power: 12
smallzilla is on a distinguished road
Thank you for your reply Dan. I followed the installation instruction from:

http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

The -icoFoam was just a typo I made. I wasn't entering that into the terminal.

I uninstalled, and deleted the folders and reinstalled it. It now allows me to enter icoFoam -help and get the proper response.

So this brings me to the follow up question. Why did it fail last time? Did I fail to load the OpenFoam program properly? and that gave me the error I was getting?
smallzilla is offline   Reply With Quote

Old   June 18, 2014, 19:37
Default
  #4
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
There are a number of reasons why it could have failed, and there is no way of knowing now. The key is to make sure that you have everything sourced correctly in your .bashrc and you have an up to date version installed. write back if you experience more problems.

Quote:
Originally Posted by smallzilla View Post
Thank you for your reply Dan. I followed the installation instruction from:

http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

The -icoFoam was just a typo I made. I wasn't entering that into the terminal.

I uninstalled, and deleted the folders and reinstalled it. It now allows me to enter icoFoam -help and get the proper response.

So this brings me to the follow up question. Why did it fail last time? Did I fail to load the OpenFoam program properly? and that gave me the error I was getting?
chegdan is offline   Reply With Quote

Old   June 19, 2014, 22:03
Default
  #5
New Member
 
Join Date: Jun 2014
Posts: 7
Rep Power: 12
smallzilla is on a distinguished road
Everything seems to be working correctly now. I'm not sure what happened last time. It worked fine the first time I installed it. I went to windows for a while and came back to linux and this error. I'm not sure if something happened there. Either way it seems ok now and I appreciate your response.

Being new to OpenFoam could you possibly point me to some good references? Mostly looking for some basic aerodynamic applications using OpenFoam.

Thank you
-Lloyd
smallzilla is offline   Reply With Quote

Old   June 19, 2014, 22:54
Default
  #6
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
You can search through the forum since this question is asked a lot. I would go to this one

http://www.cfd-online.com/Forums/ope...tml#post410938

For a more technical and long read, I would read the dissertations by

Dr. Jasak and another by Dr. de Villiers which are located here. The Dissertations by Rusche and Mangani are also good, but on a topic different than what you are going for. Good luck.
chegdan is offline   Reply With Quote

Old   July 3, 2014, 07:24
Default
  #7
New Member
 
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14
romainRH is on a distinguished road
Hi,

I have the same error, also with Ubuntu 14.04 LTS, and I have installed with the same link as you : http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

I will try with the repository package, as it is mentioned in http://openfoam.org/download/ubuntu.php

Romain
romainRH is offline   Reply With Quote

Old   July 4, 2014, 00:25
Default
  #8
New Member
 
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12
Tom717 is on a distinguished road
Same error here. I can't figure it out!

I installed same as per romainRH's link.

Any advice would be greatly appreciated.


And does anyone know when the 14.04 package will come out?

Tom
Tom717 is offline   Reply With Quote

Old   July 4, 2014, 06:18
Default
  #9
New Member
 
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14
romainRH is on a distinguished road
Well i have removed and re installed openfoam with the same link.
Si far i haven't seen any trouble. I can't understand what happen the first time.

RomainRH
romainRH is offline   Reply With Quote

Old   July 4, 2014, 07:13
Default
  #10
New Member
 
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12
Tom717 is on a distinguished road
thanks romainRH. I might try that.

How do you remove it? Do I simply rm the OpenFOAM directories?
Tom717 is offline   Reply With Quote

Old   July 4, 2014, 07:16
Default
  #11
New Member
 
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14
romainRH is on a distinguished road
Yes, I am not sure that it is the best way. Anyway i have donc it for openfoam and several other software without having any problem.
romainRH is offline   Reply With Quote

Old   July 4, 2014, 07:18
Default
  #12
New Member
 
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12
Tom717 is on a distinguished road
Ok thanks. I will try again from scratch!
Tom717 is offline   Reply With Quote

Old   July 4, 2014, 07:59
Default
  #13
Member
 
Join Date: Oct 2012
Posts: 46
Rep Power: 14
samurai_01 is on a distinguished road
Hi

There is no need to reinstall, I also got the same problem. Please go through http://www.cfd-online.com/Forums/ope...u-14-04-a.html , It worked for me.
samurai_01 is offline   Reply With Quote

Old   July 4, 2014, 08:21
Default
  #14
New Member
 
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14
romainRH is on a distinguished road
Thank you samouraļ01
romainRH is offline   Reply With Quote

Old   July 5, 2014, 03:09
Default
  #15
New Member
 
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12
Tom717 is on a distinguished road
I tried modifying .bashrc with no luck. I spent a bit of time on that method.

I started from scratch and reinstalled as suggested by romainRH and it works now.

thanks romainRH
Tom717 is offline   Reply With Quote

Old   September 14, 2014, 13:11
Default
  #16
New Member
 
Marco Trott
Join Date: Mar 2014
Location: Magdeburg, Germany
Posts: 2
Rep Power: 0
cuzco is on a distinguished road
I figured out a workaround for the error. I posted it here: http://www.cfd-online.com/Forums/ope...tml#post510295
cuzco is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Paraview not found when installing OpenFoam to Ubuntu 14.04 tabsquare OpenFOAM Installation 75 December 30, 2017 12:21
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working Leech OpenFOAM Installation 8 August 10, 2014 21:42
Getting crazy with all the problems I have in OpenFoam Nicacio OpenFOAM Running, Solving & CFD 7 June 9, 2014 20:08
Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM) immortality Lounge 2 May 24, 2014 04:05
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 05:56


All times are GMT -4. The time now is 11:47.