Illegal instruction (core dumped)
1
0
Entering edit mode
2.3 years ago
Ap1438 ▴ 50

$diamond --version
Illegal instruction (core dumped)

This was the error when i updated the conda environment. Before updating it was working fine.

Can anyone help me solve this.

diamond • 4.7k views
ADD COMMENT
0
Entering edit mode

Sounds like some incompatible libraries were installed or the binary was compiled for the wrong platform. How did you update the environment? Try to re-install the package in question or install diamond into a new and clean environment.

ADD REPLY
0
Entering edit mode

Already tried it in a new fresh environment same error with v13 and v12 but worked fine for v11. i don't understand the problem here.

same issue without conda env also when installed.

ADD REPLY
0
Entering edit mode

What is v13 and 12? sub versions of DIAMOND e.g. 2.0.12?

ADD REPLY
0
Entering edit mode

yes v2.0.12 and v2.0.13.

ADD REPLY
0
Entering edit mode

You can go back to version 2.0.11 (conda install diamond=2.0.11) if this version works until the issue is solved. What is the output of uname -a? What is the output of file $(which diamond)? What is the output of cat /proc/cpuinfo?

ADD REPLY
0
Entering edit mode

I was informed by the developer of diamond that there is some issue with the v2.0.12 and v2.0.13 version and will be fixed in the next update.

ADD REPLY
0
Entering edit mode

Akash Chandra Parida Please follow-up on your past questions.

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one if they work.
upvote_bookmark_accept

ADD REPLY
0
Entering edit mode

Illegal instruction errors often result from chipset instruction (e.g. AVX, SSE, etc) incompatibilities. Sounds like this newer version was compiled on a newer cpu and your conda "install" just added the precompiled binaries. I would double check what chipset requirements this new version of diamond may have and confirm that your system can support this version. Possible solutions includes actually compiling the diamond source code on your system (if it meets the requirements) or sticking with the previous version that did work for you

ADD REPLY
0
Entering edit mode

For what it's worth, I have tested 2.0.13 on Mac and Linux without any issues.

ADD REPLY
4
Entering edit mode
2.3 years ago
buchfink ▴ 250

There is actually a bug in the current release that causes this error on older systems even if compiled correctly. It will be fixed in the next release and a patch has already been commited to the master branch (see here: https://github.com/bbuchfink/diamond/issues/540).

ADD COMMENT

Login before adding your answer.

Traffic: 1552 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6