-
Notifications
You must be signed in to change notification settings - Fork 136
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
Megahit in Arm Neoverse de 64 bits core #320
Comments
We have had good success with graviton2 with other bioinformatics tools and would also be interested of a version of megathit which compiles on ARM. |
I am curious about what bioinformatics tools have you been running on graviton2. |
From BBTools, BBMap and BBcms both run on graviton2. These are AWS blog posts on peregrine and bwa on graviton2 |
I made some progress on getting MEGAHIT working on ARM but am stalled on the third issue The first issue is with x86 specific flags (-mbmi2 & -mpopcnt) which can be removed from the CMakeLists.txt file. The second issue is with x86intrin.h and can be fixed by replacing with openvec*.h files from https://github.com/OpenVec/OpenVec The third issue is an error about "impossible constraint in ‘asm’". Based on searching stack overflow this can be fixed by rewriting the code in c++ instead of assembly Would it be possible to get the third issue fixed? |
You can just replace megahit/src/utils/cpu_dispatch.h Lines 8 to 34 in 7dde1ca
with
I don't have an Arm machine to test. Let me know if that works. Also feel free to send a PR. @aquaskyline to follow up. |
For the record, the above suggestions are sufficient to compile megahit on graviton2. I am working on a PR. |
@voutcn We are doing the changes that you suggest, however we are having this error. I really appreciate your help, thanks |
I think the error has nothing to do with ARM. One |
Fixes voutcn#320 Based on: voutcn#329 Preserves the x86_64 specifics when building on x86_64 machine Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Fixes voutcn#320 Based on: voutcn#329 Preserves the x86_64 specifics when building on x86_64 machine Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
We are exploring bioinformtics in amazon AWS, specifically we want to run genome assembly on AWS Graviton2 processors which have an ARM architecture. Is there a version of megahit built for ARM / aarch64 architecture.
The text was updated successfully, but these errors were encountered: