Compiling pthreads version on Ubuntu 18

110 views
Skip to first unread message

Steve Haddock

unread,
Mar 23, 2021, 3:07:53 PM3/23/21
to raxml
I installed the dependencies OK, but compilation ends with 
```[100%] Linking CXX executable ../../../test/bin/raxml_test
/usr/bin/ld: /usr/local/lib/libgtest.a(gtest-all.cc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
test/src/CMakeFiles/raxml_test_module.dir/build.make:1251: recipe for target '../test/bin/raxml_test' failed
make[2]: *** [../test/bin/raxml_test] Error 1
CMakeFiles/Makefile2:966: recipe for target 'test/src/CMakeFiles/raxml_test_module.dir/all' failed
make[1]: *** [test/src/CMakeFiles/raxml_test_module.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Is there any performance difference between using Pthreads vs MPI? We have the Pthreads version of the old raxmlHPC running, and the MPI version of raxml-ng working, but we were going to test vs pthreads version of raxml-ng...

Alexandros Stamatakis

unread,
Mar 23, 2021, 3:11:34 PM3/23/21
to ra...@googlegroups.com
This is hard to answer, there might be a performance difference but this
heavily depends on the dataset used, number of cores used, compiler
used, and hardware platform used, so the only way to answer this is to
test it.

Regarding the compiler (or rather linker issue) I guess that Alexey will
be able to answer this, once he is on-line again in a couple of days,

Alexis

>
> --
> You received this message because you are subscribed to the Google
> Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to raxml+un...@googlegroups.com
> <mailto:raxml+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/raxml/322a08d3-e7a3-4bd4-a4ff-80ca7ef820e1n%40googlegroups.com
> <https://groups.google.com/d/msgid/raxml/322a08d3-e7a3-4bd4-a4ff-80ca7ef820e1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology

www.exelixis-lab.org

Steve Haddock

unread,
Mar 23, 2021, 4:44:01 PM3/23/21
to raxml
Thank you Alexis. If we can get it compiled we will do some comparisons on our [somewhat large] dataset and report back in this thread.

Alexey Kozlov

unread,
Mar 23, 2021, 5:16:26 PM3/23/21
to ra...@googlegroups.com
Hi Steve,

looks like the problem is with GTest, which you don't really need, so chances are raxml-ng
executable itself compiled just fine.

Alternatively, you can just download a pre-compiled static binary of the latest release:

https://github.com/amkozlov/raxml-ng/releases/tag/1.0.2

Best,
Alexey
> www.exelixis-lab.org <http://www.exelixis-lab.org>
>
> --
> You received this message because you are subscribed to the Google Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> raxml+un...@googlegroups.com <mailto:raxml+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/raxml/f2e7841d-fef0-4ef0-a876-b9e55d1b3953n%40googlegroups.com
> <https://groups.google.com/d/msgid/raxml/f2e7841d-fef0-4ef0-a876-b9e55d1b3953n%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages