amplab / snap

Scalable Nucleotide Alignment Program -- a fast and accurate read aligner for high-throughput sequencing data
https://www.microsoft.com/en-us/research/project/snap/
Apache License 2.0
287 stars 66 forks source link

Test suite failure on ppc64 and sparc64 architectures #110

Open tillea opened 6 years ago

tillea commented 6 years ago

Hi, I'd like to report that there is some issue on ppc64 and sparc64 architecture. Please check the end of the build logs from the Debian infrastructure (which I've linked above). On ppc64 it reads:

LandauVishkinTest:
- equal strings: [OK]
- prefixes: [FAILED]
    lv.computeEditDistance("abcde", 5, "abcd", 4, 2) was 1, expected 0
    (tests/LandauVishkinTest.cpp:16)
- non-equal strings: [FAILED]
    lv.computeEditDistance("abcde", 5, "abcdX", 5, 2) was 2, expected 1
    (tests/LandauVishkinTest.cpp:22)
- overly distant strings: [FAILED]
    lv.computeEditDistance("abcde", 5, "XXXXX", 5, 2) was 2, expected -1
    (tests/LandauVishkinTest.cpp:31)
- CIGAR strings: [FAILED]
    cigarBuf was "", expected "5="
    (tests/LandauVishkinTest.cpp:45)

The issue might be a hint on a broken algorithm also on the amd64 architecture which is most probably your main target. Kind regards, Andreas.