|
[Sponsors] |
June 17, 2014, 20:32 |
Problems with OpenFOAM 2.3.0 on Ubuntu 14.04
|
#1 |
New Member
Join Date: Jun 2014
Posts: 7
Rep Power: 12 |
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 |
|
June 18, 2014, 10:57 |
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Code:
Base configuration ok. Critical systems ok. Did you compile or install the binaries? What about just typing Code:
which icoFoam Last edited by chegdan; June 18, 2014 at 12:02. |
|
June 18, 2014, 18:45 |
|
#3 |
New Member
Join Date: Jun 2014
Posts: 7
Rep Power: 12 |
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? |
|
June 18, 2014, 19:37 |
|
#4 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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:
|
||
June 19, 2014, 22:03 |
|
#5 |
New Member
Join Date: Jun 2014
Posts: 7
Rep Power: 12 |
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 |
|
June 19, 2014, 22:54 |
|
#6 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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. |
|
July 3, 2014, 07:24 |
|
#7 |
New Member
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14 |
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 |
|
July 4, 2014, 00:25 |
|
#8 |
New Member
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12 |
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 |
|
July 4, 2014, 06:18 |
|
#9 |
New Member
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14 |
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 |
|
July 4, 2014, 07:13 |
|
#10 |
New Member
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12 |
thanks romainRH. I might try that.
How do you remove it? Do I simply rm the OpenFOAM directories? |
|
July 4, 2014, 07:16 |
|
#11 |
New Member
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14 |
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.
|
|
July 4, 2014, 07:18 |
|
#12 |
New Member
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12 |
Ok thanks. I will try again from scratch!
|
|
July 4, 2014, 07:59 |
|
#13 |
Member
Join Date: Oct 2012
Posts: 46
Rep Power: 14 |
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. |
|
July 4, 2014, 08:21 |
|
#14 |
New Member
romainRH
Join Date: Jul 2012
Posts: 24
Rep Power: 14 |
Thank you samouraļ01
|
|
July 5, 2014, 03:09 |
|
#15 |
New Member
Tom
Join Date: Jul 2014
Posts: 5
Rep Power: 12 |
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 |
|
September 14, 2014, 13:11 |
|
#16 |
New Member
Marco Trott
Join Date: Mar 2014
Location: Magdeburg, Germany
Posts: 2
Rep Power: 0 |
I figured out a workaround for the error. I posted it here: http://www.cfd-online.com/Forums/ope...tml#post510295
|
|
|
|
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 |