zhaoyanswill / RAPSearch2

Reduced Alphabet based Protein similarity Search
40 stars 15 forks source link

boost archive_exception apparently caused by simultaneous stream jobs #17

Open SamStudio8 opened 9 years ago

SamStudio8 commented 9 years ago

Executing multiple rapsearch commands in the same working directory using -u 1 and redirecting stdout to a desired file appears to raise a boost archive_exception with the error "invalid_signature". I think this is because the temporary files have no output file name to prefix to .tmp<N> (as -o is not specified) and thus all jobs attempt to read/write to .tmp0 in the same directory, corrupting the header and causing boost to be upset.

Feel free to check out my attempt at debugging.