johnlees / seer

sequence element (kmer) enrichment analysis
GNU General Public License v2.0
42 stars 9 forks source link

Threading issues with map_back #15

Open philipkremer opened 8 years ago

philipkremer commented 8 years ago

Hi,

I've encountered an error with map_back with respect to threading. The error files reads:

map_back: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= sched_fifo_min_prio && new_prio <= sched_fifo_max_prio)' failed. /tmp/1447922559.2134646: line 8: 32413 Aborted /nfs/users/nfs_j/jl11/software/bin/map_back -k seer_sign_kmer_neis_mort.filtered.txt -r mds_list.txt --threads 4

Thanks,

Philip

johnlees commented 8 years ago

This is a probably an issue with the mutex on stdout used with multiple threads. See http://stackoverflow.com/questions/21825291/threading-issues

An improvement would be to thread each significant_kmer rather than each fasta

johnlees commented 8 years ago

map_back mostly redundant with phandango output