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

OpenFOAM 2.3.0 + HELYX-OS - ld.so error.

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By astrohome

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2014, 14:17
Default OpenFOAM 2.3.0 + HELYX-OS - ld.so error.
  #1
New Member
 
Illia Izotov
Join Date: Jul 2014
Posts: 3
Rep Power: 11
astrohome is on a distinguished road
I have a big problem with my current installation.

My system is Linux Mint 17 (so, basically Ubuntu 14.04). I installed OpenFOAM 2.3.0 from sources according to guide http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu

I launched some tutorial (rhoSimplecFoam) and I see no problems - blockMesh, than rhoSimplecFoam and paraFoam works without any problem.

After that, I installed HELYX-OS GUI (without kernel) and tried to do some basic meshing. I set OpenFOAM installation dir and it started meshing but it stops in a second with this error:

Code:
******************
*    Run Mesh    *
******************
Case         : /home/felix/OpenFOAM/projects/test/test
Procs        : 4
Log          : /home/felix/OpenFOAM/projects/test/test/log/snappyHexMesh.log
Env          : /home/felix/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
Vendor       : /home/felix/OpenFOAM
MachineFile  : 
Solver       : 
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
My .bashrc file:
Code:
source /home/felix/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
Diagnostic output:

Code:
felix@Astrolap ~/OpenFOAM/OpenFOAM-2.3.0/bin $ ./foamInstallationTest 
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               Astrolap
OS:                 Linux version 3.16.0-031600rc6-generic
-------------------------------------------------------------------------------


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

Please help, I've spent already a weekend for this initial config and still have nothing
astrohome is offline   Reply With Quote

Old   July 27, 2014, 15:58
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
Try this one out.
http://www.cfd-online.com/Forums/ope...u-14-04-a.html

This may work for you. I have yet to test HELYX-OS on Ubuntu 14.04 as I was waiting a few months to make the leap to the next LTS version.
chegdan is offline   Reply With Quote

Old   July 27, 2014, 16:13
Default
  #3
New Member
 
Illia Izotov
Join Date: Jul 2014
Posts: 3
Rep Power: 11
astrohome is on a distinguished road
Quote:
Originally Posted by chegdan View Post
Try this one out.
http://www.cfd-online.com/Forums/ope...u-14-04-a.html

This may work for you. I have yet to test HELYX-OS on Ubuntu 14.04 as I was waiting a few months to make the leap to the next LTS version.
Thanks a lot! Actually, I saw that solution and even tried some methods, but it seems one should recompile OpenFOAM using new .bashrc file. Thanks again, you saved my weekend!!

EDIT: I found another thread, http://www.cfd-online.com/Forums/ope...pyhexmesh.html and the very last post works like a charm:

I add the lines:

source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
alias of230='source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=2 WM_MPLIB=SYSTEMOPENMPI'

to my $HOME/.bashrc and compiling OpenFOAM with Allwmake.
chegdan and roozbehmousavi like this.
astrohome 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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
POSDAT problem piotka STAR-CD 4 June 12, 2009 08:43


All times are GMT -4. The time now is 10:50.