|
[Sponsors] |
[OpenFOAM.org] Inconsistency detected by ld.so - OF 2.3.0 in Ubuntu 14.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2014, 08:26 |
Inconsistency detected by ld.so - OF 2.3.0 in Ubuntu 14.04
|
#1 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
Hello I have strange problem. After succesfull OF230 install on Ubuntu 14.04 (installation from openfoamwiki) I could normally use OF. I have been calculated simpleFoam/pitzDaily tutorial case.
Today I wanted to work with OF and using blockMesh and everything connected to OF i got an error : Code:
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! seav |
|
May 29, 2014, 14:41 |
|
#2 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
Solved this.
If anyone have the same problem remove : Code:
WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI Corrected one: Code:
alias of230='source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc' #WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI' Cheers seav |
|
May 31, 2014, 15:34 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings seav,
Thanks for the feedback on how you solved the problem in your case. The result of not using "WM_MPLIB=SYSTEMOPENMPI" leads to OpenFOAM using its own Open-MPI build. As for not using "WM_NCOMPPROCS=4", means that the build will only be done with a single core, not with 4. But I'm still wondering about what happened in the first place. My guess is that you might have installed another MPI toolbox in your Ubuntu installation, which disrupted the OpenFOAM installation. But I've tried to reproduce the same error and I wasn't able to do so. Nonetheless, I've updated the wiki instructions to have a new step #5, which indicates how to ensure which MPI toolbox is used by the OpenFOAM installation, when following those instructions. Best regards, Bruno
__________________
|
|
May 31, 2014, 17:43 |
|
#4 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
Hi Bruno,
Installation went through without any problems. Even first tutorial case which I calculated worked fine. Than I rebooted my laptop and got problem described above. If I follow #5 step after my installation will it work now ? EDIT: I will check my packages tomorrow and post the result for detailed info. Cheers, seav |
|
June 1, 2014, 06:04 |
|
#5 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
Hello.
Bruno u had right. I have default install of multi-passing-library. Code:
dpkg --get-selections | grep mpi Code:
libexempi3:amd64 install libhdf5-openmpi-7:amd64 install libopenmpi-dev install libopenmpi1.6 install mpi-default-bin install openmpi-bin install openmpi-common install sa-compile install Cheers seav |
|
June 1, 2014, 10:19 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi seav,
To see which MPI toolboxes are available on your system, run: Code:
update-alternatives --display mpi | grep priority Code:
/usr/include/mpich - priority 40 /usr/lib/openmpi/include - priority 50 As for it stopping to work after rebooting, in theory, there are at least a couple of possibilities:
If you use the original environment that is defined when calling the original of230, we can diagnose what is going on, by running: Code:
ldd $(which blockMesh) Best regards, Bruno
__________________
|
|
June 2, 2014, 03:27 |
|
#7 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
Hi Bruno.
I have followed those commands and here are results. Code:
/usr/lib/openmpi/include - priority 50 Code:
ldd $(which blockMesh) Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! seav |
|
July 4, 2014, 08:00 |
|
#8 |
Member
Join Date: Oct 2012
Posts: 46
Rep Power: 14 |
Hi
Changing the bashrc worked for me. Thanks |
|
July 4, 2014, 08:22 |
|
#9 |
Member
Join Date: May 2013
Posts: 51
Rep Power: 13 |
I am glad to hear that
Cheers, seav |
|
August 17, 2014, 12:33 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@gohome: Quote:
So far some people who had similar issues to the ones above simply reinstalled Ubuntu and tried following the installation instructions from here: http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu - and at the second try it worked fine for them. Therefore, if you can detail every single step you've taken, so that I can try and reproduce the same error, then I should be able to figure out how to solve this problem. Otherwise, I don't know where else to look at for fixing this Best regards, Bruno
__________________
|
||
August 23, 2014, 00:00 |
|
#12 |
New Member
Anup
Join Date: Aug 2014
Posts: 1
Rep Power: 0 |
Hey,
I had the same error too. I reran "./Allwmake > make.log 2>&1" and it works for me now. |
|
August 29, 2014, 18:27 |
|
#13 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
I have the same error.
I noticed something very strange, the error is case dependent. For example I tried blockMesh on two different cases and I get the error from one case and worked fine in the other one. Update: I recompiled OpenFOAM-2.3.x again from scratch. It is my second time this week for different reason. Last edited by hk318i; August 30, 2014 at 06:18. |
|
August 30, 2014, 09:23 |
|
#14 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Hassan,
Quote:
If you haven't already, I suggest that you study a bit this page: http://openfoamwiki.net/index.php/In...with_the_Shell - feedback is welcome! Best regards, Bruno
__________________
|
||
August 30, 2014, 09:45 |
|
#15 | |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
Quote:
|
||
August 30, 2014, 10:56 |
|
#16 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
At the very least, I can imagine that it's possible that the case that did not work had the "libs" keyword in the file "system/controlDict", which would make blockMesh to load a library that was not compatible with the build you had of OpenFOAM. Or perhaps the path to the case have a space or invalid character, which lead to the crash for some reason... |
||
August 30, 2014, 11:11 |
|
#17 | |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
Quote:
|
||
September 14, 2014, 13:08 |
|
#18 |
New Member
Marco Trott
Join Date: Mar 2014
Location: Magdeburg, Germany
Posts: 2
Rep Power: 0 |
As non of the above mentioned worked for me, I did a little research and found a solution. According to https://bugs.launchpad.net/ubuntu/+s...9/+bug/1248642, the cause for the error
Code:
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! Code:
export LD_PRELOAD= /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 Code:
--> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. Summary: Code:
cd $FOAM_LIBBIN mv dummy dummy.backup cd $FOAM_SRC cd Pstream ./Allwmake cd $FOAM_SRC cd dummyThirdParty ./Allwmake Bye Marco Last edited by cuzco; September 14, 2014 at 18:02. |
|
May 3, 2015, 20:58 |
|
#19 |
New Member
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 16 |
I solve the problem including the following command in the file ~/.bashrc :
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |
Problems with OpenFOAM 2.3.0 on Ubuntu 14.04 | smallzilla | OpenFOAM Installation | 15 | September 14, 2014 13:11 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |