Error Installation (DEM-FEM Coupling)

Asked by Faqih Maarif on 2020-06-20

Dear All,
I have a problem during install an Open source FEM-DEM coupling. I tried several times, but it still has error as follows.
could you please give me some solution?
Thank you for attention

Regards,
Faqih

noted:
I am using Ubuntu Linux mint 18, OOFEM 2.5, and YADE 2018.02b-1.
----------------------------------------------------------------------------------------------------------------------------------------------------
[ 82%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/basicVTKwritter.cpp.o
[ 82%] Linking CXX shared library lib/x86_64-linux-gnu/libyade.so
/usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/yade.dir/build.make:4311: recipe for target 'lib/x86_64-linux-gnu/libyade.so' failed
make[3]: *** [lib/x86_64-linux-gnu/libyade.so] Error 1
make[3]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build'
CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/yade.dir/all' failed
make[2]: *** [CMakeFiles/yade.dir/all] Error 2
make[2]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build'
Makefile:162: recipe for target 'yade-make' failed
make: *** [yade-make] Error 2
----------------------------------------------------------------------------------------------------------------------------------------------------

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
2020-06-20
Last query:
2020-06-20
Last reply:
2020-06-20
Best Jan Stránský (honzik) said : #1

Hello,

> I tried several times

please be more specific what exactly (e.g. which commands you used) you have tried

> an Open source FEM-DEM coupling

if you mean [1], a better place to ask such questions (if it is not related only to Yade) is to open an issue there.

cheers
Jan

[1] https://github.com/stranskyjan/dem-fem-coupling

Faqih Maarif (faqih07) said : #2

Dear Jan,

Thank you for answered
>please be more specific what exactly (e.g. which commands you used) you have tried
1. The first problem is related to libyade.so, it is already solved
2. I tried to change Ubuntu 18.04, and it is successful; some of the libraries need to installing on there.

>if you mean [1], a better place to ask such questions (if it is not related only to Yade) is to open an issue there.
Yes, I already fixed the respective dependencies. So it continues to run until completely installed.

Thank you very much for your attention and cooperation

Regards,
Faqih

noted:
I will ask for another issue about DEM Coupling for my thesis.

Faqih Maarif (faqih07) said : #3

Thanks Jan Stránský, that solved my question.