![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Use more than one threads for one file processingby marioroy (Prior) |
on Oct 10, 2016 at 20:21 UTC ( #1173676=note: print w/replies, xml ) | Need Help?? |
A lot of effort when into the MCE module to assist bioinformaticians in regards to using multiple cores. MCE includes logic allowing one to process input by specifying a record separator. In the OP's case, to anchor "@" at the start of the line: "\n@". Workers receive record(s) beginning with "@", not "\n@". Basically, MCE wraps serial code with little code to consume multiple cores. Regards, Mario.
In Section
Seekers of Perl Wisdom
|
|