bluenote-1577/fairy

Illeagal instruction (core dumped)

sjparkmk opened this issue · 3 comments

hi there,
based on the published paper, i installed your fairy via conda. my system spec is ubuntu 20.04 and conda version 24.3.0
however, when typed single word "fairy", the program is showing the message "Illegal instruction (core dumped)"
(how) can i fix it?
cheers,

@sjparkmk hmm, I'm pretty sure this is related to a recent comment similar to another software of mine: bluenote-1577/sylph#2 (comment). The issue is that bioconda had some build issues...

I will release a new bioconda version and hopefully it should be okay.

For now, the source compile and static binary option should work.

Edit: a new version was released on bioconda but it's still broken. Not sure what to do... I'll investigate more when I have time

thanks for your reply. option 3 is clearly working with fairy 0.5.4 !!

Future readers: I think I found the issue.

Right now, AVX512 is needed for conda install

The issue: fairy uses native CPU instructions for compilation. Conda compiles fairy on AVX512 machines -> autovectorization -> your machine can't run fairy :(

I will probably change this behaviour at some point... but the other 2 options will work no problem.