jade-cheng / ohana

mixture classification, constraint optimization, outlier detection, population structure, admixture history, and selection detection.
http://jade-cheng.com/ohana/
81 stars 6 forks source link

Error: Template with C linkage #13

Closed CSGallagher closed 4 years ago

CSGallagher commented 4 years ago

Hello. I seem to be encountering a compiler error (possibly?) when I attempt to 'make' the Ohana software. I've downloaded and installed OpenBLAS properly, but cannot seem to get the next steps moving. If it's at all relevant my version of g++ is 'g++ (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6)'. Thanks!

[ohana]$ cat configure.mk CXX = g++ OPENBLAS = /home/ec2-user/OHANA/opt/OpenBLAS INSTALL_PREFIX = /home/ec2-user/OHANA/opt/ohana [ohana]$ make

secastel commented 4 years ago

This issue seems to be related to OpenBLAS 0.3.8. Building Ohana with OpenBLAS 0.3.7 (available here) solves the problem.