griffithlab / pVACtools

http://www.pvactools.org
BSD 3-Clause Clear License
141 stars 59 forks source link

Parallel threads overwrite each other on stderr #259

Closed chrisamiller closed 5 years ago

chrisamiller commented 5 years ago

When running with 8 threads (via pvacvector), I see a few of these in the err log:

Allele HLA-B*57:03 notRunning IEDB on Allele HLA-B*57:03 and Epitope Length 8 with Method NetMHCpan - Entries 1-2 - Completed

Presumably, this is due to threads both trying to write at the same time. It's low priority, but there oughta be a way to do some kind of blocking and prevent this from happening.

malachig commented 5 years ago

To be clear, you still get the result, but this is a warning that a thread is attempting something that has already been completed by another thread?

susannasiebert commented 5 years ago

No it's just two threads writing their individual log messages at the same time.

malachig commented 5 years ago

Ah, okay.