-
Notifications
You must be signed in to change notification settings - Fork 20
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
poppunk --threshold raises error #106
Comments
Could you first try upgrading to PopPUNK v2.2.0 (with sketchlib v1.5.1) and rerunning? If you still get the error, I can take a look as it's probably an interface bug that needs fixing |
Now with the updated version(s).
|
Hmm, that's a little odd, I wonder if there is a vectorised function your CPU doesn't have. What is the result if you run |
I get this info for all processors
|
Thanks for that - I can't see any obvious missing instructions. I will have a look into this and see if I can replicate/debug, and get back to you soon. |
I replicated your first error - it was due to mismatched data types in numpy (float vs double). I've got a fix on the master branch of PopPUNK which is now working for me (e95a720). You can clone that now and run with Let me know if you run into the illegal instruction issue again by reopening the issue. |
I cloned the repo and installed it |
Just to double check: the illegal instruction error, not the initial error?
…On Mon, 5 Oct 2020 at 12:29, Silas Kieser ***@***.***> wrote:
I cloned the repo and installed it python setup.py install and continue
having the same error (now with v 2.2.1).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQJ3PKE6H4LJP44TR5WNZLSJGU25ANCNFSM4SBM6ANA>
.
|
No the initial error.
|
Ah ok. Would you be able to attach your data so I can try and replicate? The contents of the |
Ok, I probably didn't install poppunk correctly from the git. Havind done this I get 'only' the illegal instruction error. You said this is something due to my processor? I got now Graph-tools OpenMP parallelisation enabled: with 1 threads |
Worse, I get the illegal instruction also by just generating the db 🤔 |
It could be a problem with the compiler generating code not supported by your CPU (but, from what you posted above, I can't see what that might be). It may also be another bug which is mimicking this behaviour, but it's hard to know without going in the debugger. Unfortunately this all works on my machine, and the testing server, so I'm not sure how to reproduce the error myself. Can I suggest three things:
For 1, you will want to first install the necessary conda packages:
Then, as before, clone the github and run:
|
(as a note to self: could this be caused by use of |
I am now getting the same issue on some azure builds, e.g. https://dev.azure.com/jlees/PopPUNK/_build/results?buildId=382&view=results I thought it may be graph-tool, but error above suggests that is working ok. Todo: make a debug build on azure and get a backtrace. This could be a segfault/misuse of blas. Also run |
Seems to no longer be an issue in the azure builds. I got this error locally building the docs, and the culprit was graph_tool |
I think this is resolved, but please reopen is observed again |
I got the following error
with
PopPUNK 2.1.1
The database was built with
poppunk --easy-run --r-files ref_genome_list.tsv --output Am --threads 8 --plot-fit 5 --min-k 13 --full-db --ignore-length --max-a-dis 1
The text was updated successfully, but these errors were encountered: