amkozlov / raxml-ng

RAxML Next Generation: faster, easier-to-use and more flexible
GNU Affero General Public License v3.0
379 stars 64 forks source link

HPC raxml-ng-mpi make compilation error #49

Closed davidhbrann closed 5 years ago

davidhbrann commented 5 years ago

Hi,

I'm currently trying to build the mpi version of raxml.

I got the following error:

/usr/bin/ld: /home/dhb13/source/raxml-ng-mpi/localdeps/lib/libpllmodalgorithm_static.a(pllmod_algorithm.c.o): unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/raxml-ng-mpi] Error 1
make[1]: *** [src/CMakeFiles/raxml_module.dir/all] Error 2
make: *** [all] Error 2

I'm using gcc 6.2 and openmpi/3.1.0.

Do you have any suggestions for how to fix this error?

amkozlov commented 5 years ago

Seems like your linker is too old, please see:

https://github.com/amkozlov/raxml-ng/wiki/Installation#troubleshooting

and

https://stackoverflow.com/questions/46058050/unable-to-compile-unrecognized-relocation

amkozlov commented 5 years ago

@dhb2128 hope this is solved now, please reopen otherwise.