Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda executable crashes #2

Open
fplazaonate opened this issue Nov 27, 2023 · 10 comments
Open

Conda executable crashes #2

fplazaonate opened this issue Nov 27, 2023 · 10 comments

Comments

@fplazaonate
Copy link

Hi @bluenote-1577,

I installed sylph using bioconda but it crashed immediately with the following error "Illegal instruction (core dumped)".
Notably, the executable available on github works.

Best,
Florian

@bluenote-1577
Copy link
Owner

Hi @fplaza,

Thanks for bringing this to my attention. Since the executable works, I assume you're on linux? I just tried the conda install on my Ubuntu 16 system and it appears to be fine. If you could provide your distribution and any system specifications that would be helpful for me to try and reproduce the crash.

Thanks!

@fplazaonate
Copy link
Author

I am using CentOS 8.
The CPU does not have avx2 extensions.

@bluenote-1577
Copy link
Owner

I'm honestly not sure what's going on here... here's what I've tried

  1. Conda install on CentOS 8 - Works fine but has AVX2
  2. Building on ARM64 architecture - Works fine, no AVX2, but not from conda (bioconda doesn't support aarch64 yet)

I need to track down a machine with no AVX2 running on x86-64. If the binary works for you, then I'd be surprised if compiling doesn't work.

I'll leave this open until I figure it out, or if someone else has a similar problem

@edwardbirdlab
Copy link

I also seem to have the same issue on CentOS 7 without AVX2.

The executable works for me as well, but the bioconda installation crashes immediately with "Illegal instruction (core dumped)".
I am running on older hardware with AVX1.

@bluenote-1577
Copy link
Owner

bluenote-1577 commented Jan 4, 2024

@edwardbirdlab thanks for confirming. Does the pre-built binary work for you too?

@edwardbirdlab
Copy link

Yes, the pre-built binary works without any issue.

@dawnmy
Copy link

dawnmy commented Apr 29, 2024

Hi, I am testing sylph 0.6.0 installed via conda on my Linux server, but got the same error 1724781 illegal hardware instruction (core dumped) sylph when running it. The machine has avx and avx2. The previous version 0.5.1 worked fine on the same machine.

@bluenote-1577
Copy link
Owner

bluenote-1577 commented Apr 29, 2024

@dawnmy thanks for bringing this up. I can reproduce this bug as well even on my computer.

I think this is a bioconda issue, not a sylph issue: I did not change any hardware instruction behaviour between versions. I will update to version v0.6.1 and hope that bioconda fixes this. If not, it looks like I will have to ask the conda folks for help.

@bluenote-1577
Copy link
Owner

@dawnmy I updated sylph to v0.6.1 on conda. It works okay on my computer now. Let me know on your end

@dawnmy
Copy link

dawnmy commented Apr 29, 2024

Thank you for the quick update. It works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants