gsneha26 / SegAlign

A Scalable GPU-Based Whole Genome Aligner, published in SC20: https://doi.ieeecomputersociety.org/10.1109/SC41405.2020.00043
MIT License
66 stars 16 forks source link

cudaErrorIllegalAddress: an illegal memory access was encountered #50

Closed tothuhien closed 2 years ago

tothuhien commented 3 years ago

Hi, I have encountered the following error why trying to align 2 genomes of size ~ 2-3 Gb. Is it related to the allocation of memory or a bug? Thanks a lot. Hien

Using 2 threads
Using 1 GPU(s)

Reading query file ...

Reading target file ...

Start alignment ...

Sending reference block 0 ...

Sending query block 0 with buffer 0 ...

Sending query block 1 with buffer 1 ...
Query block 0, interval 1/56 (0:10000000) with buffer 0
Query block 0, interval 2/56 (10000000:20000000) with buffer 0
terminate called after throwing an instance of 'thrust::system::system_error'
  what():  CUDA free failed: cudaErrorIllegalAddress: an illegal memory access was encountered
/usr/local/bin/run_segalign: line 197: 30983 Aborted                 stdbuf -oL segalign $refPath $queryPath $DATA_FOLDER $optionalArguments
gsneha26 commented 3 years ago

Could you share the files and the command you used?