Hi Steve, On 9/30/2015 2:57 PM, Steven Franke wrote: > As Joe said, for EME we probably want to run very large numbers > of trials. If one were to start multiple calls to sfrsd2, each > with its own random seed, all at once, and ensure that each > call runs in its own thread, would this accomplish much of what > we are after?
That's a possibile approach for cases in which many synchronized signals need decoding. My idea (which should be useful even when there's only one signal to decode) is simply to parallelize the "ntrials" loop starting around line ~147 of sfrsd. Each thread would begin with its own random seed and have its own local variables for era_pos, workdat, etc. Each thread would keep track of its own nhard_min, nsoft_min, etc. When any one of the threads produces a decode, it would terminate the others and continue as a normal single thread. -- Joe ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel