CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM 2.3.0 + HELYX-OS - ld.so error. (https://www.cfd-online.com/Forums/openfoam-installation/139588-openfoam-2-3-0-helyx-os-ld-so-error.html)

astrohome July 27, 2014 14:17

OpenFOAM 2.3.0 + HELYX-OS - ld.so error.
 
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 :(

chegdan July 27, 2014 15:58

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.

astrohome July 27, 2014 16:13

Quote:

Originally Posted by chegdan (Post 503337)
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.


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