I am running cascade-search, and I noticed that during the second search it will suddenly hang indefinitely. I suspect a threading bug.
The command line is
crux cascade-search --verbosity 100 --overwrite T --output-dir . --precursor-window 10 --precursor-window-type ppm --remove-precursor-peak T --exact-p-value T --concat T --num-threads 1 --estimation-method tdc small.ms2 maxMods=0,../2016-07-22mods/maxMods=1
The tar file is too big to upload to sourceforge, but you can find it here:
/net/noble/vol1/home/noble/proj/malaria/2016histone-msms/results/bill/cascade-bug.tgz
Alice, can you see if you get the same behavior? Then we can discuss potential ways to debug this.
One of the cmd options you specified is --num-threads 1, so there shouldn't be any threading. If it is hanging indefinitely, I don't think it would be due to threading. I'll try to reproduce the problem though.
Just figured out what was going on. It was a lock problem. There's a if () { continue; } branch where the lock was not getting released. The patch below should fix it. Currently testing the patch.
Yes, I have verified that (1) my test now runs to completion, (2) it get
the same results with num-threads=1 and num-threads=4, and (3) all smoke
tests pass. Code looks fine. Please check this in.
Bill
On Thu, Aug 11, 2016 at 11:12 AM, Alice Cheng acheng94@users.sf.net wrote:
Related
Issues:
#427