Yandell-Lab / taxonomer_0.5

full taxonomer cython repository
MIT License
22 stars 6 forks source link

Build errors #9

Open agreenbanana opened 6 years ago

agreenbanana commented 6 years ago

I've tried building on two different computers and operating systems, and I'm at a loss as to where to continue. I'll list my findings below:

System: Mac Mini (Late 2014), MacOS Version 10.12.6

Macbook Pro 13 (2017), MacOS Version 10.12.6

Macbook Pro 13 (2017), Windows 10 Version LTSB

Any help would be greatly appreciated!

stevendflygare commented 6 years ago

From the error it looks like your compiler is not openmp compatible, at least not with the -fopenmp command line option. You'll need to have your system point to a compiler that accepts this flag in order to succeed with that compilation. There is however a quick workaround that will run everything in a single thread -- if you open the setup.py script and comment out lines 8, 9 and 10 and then uncomment out lines 12, 13 and 14 that will remove the openmp requirement.

The error from windows 10 I'm uncertain what would be happening there as I've never compiled this on a windows machine. Also, I've successfully compiled this on a large number of linux and mac machines but never with python 3 so you may run into incompatibilities with the code that was written with python 2.7 in mind.