diamond icon indicating copy to clipboard operation
diamond copied to clipboard

bad conda install on some machines

Open DarrenObbard opened this issue 2 years ago • 3 comments

Hi! This must be an issue with my machine, but I am at a loss as to how to solve it...

I have one machine on which this is fine ~$ conda create -n TestEnv -c conda-forge -c bioconda diamond ~$ conda activate TestEnv ~$ diamond --version diamond version 2.1.4

and one machine for which ~$ conda create -n TestEnv -c conda-forge -c bioconda diamond ~$ conda activate TestEnv ~$ diamond --version Illegal instruction

What could cause this? How might I diagnose the cause?

DarrenObbard avatar Mar 15 '23 10:03 DarrenObbard

It is caused by a lack of AVX2 instructions on older CPUs. I'm aware of the issue and will post a fix in the next days.

bbuchfink avatar Mar 15 '23 10:03 bbuchfink

The machine in question was purchased in 2009, so you are absolved of any guilt!

DarrenObbard avatar Mar 15 '23 10:03 DarrenObbard

This should be fixed in the latest release, although based on the compiler flags automatically used by conda, it may still not work on very old systems. If it fails you can try the github release binary.

bbuchfink avatar Mar 18 '23 13:03 bbuchfink