You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to install hapbin with conda package. I created an exclusive environment to do that. When the installation is completed, I tried to access the program by typing ehhbin and it returns: Illegal instruction (core dumped)
Any suggestions? I need to install it with conda because I don't have sudo permitions.
We don't maintain the conda package. Illegal instruction means it was compiled with CPU features yours doesn't support. Just compile it yourself, which will optimize things the best it can for your CPU.
Activity
lettools commentedon Apr 14, 2021
Hi
You don't actually need sudo/root permissions to compile and run hapbin. If just follow the commands on the README i.e.:
git clone https://github.com/evotools/hapbin.gitcd hapbin/build/cmake ../src/makeThen you should see the binaries in the build directory and can run from there. So if still in build directory can just type:
./ehhbin --helpIf not in build directory just need to give the appropriate path.
Cheers
James
camaclean commentedon Apr 15, 2021
We don't maintain the conda package. Illegal instruction means it was compiled with CPU features yours doesn't support. Just compile it yourself, which will optimize things the best it can for your CPU.