Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Use more than one threads for one file processing

by Cow1337killr (Monk)
on Jul 03, 2016 at 10:23 UTC ( [id://1167054]=note: print w/replies, xml ) Need Help??


in reply to Use more than one threads for one file processing

If you want my honest opinion, I think the work of bioinformaticians is important, especially if it has anything remotely to do with curing some disease that my shorten MY life.

So, I recommend that you go to your boss and tell him you either need a faster computer OR you need yet another computer.

I think it is a waste of your precious time to be learning how to coax Perl to use multiple threads. Your time is better spent on doing what you do best: bioinformatics.

Oh, and keep us informed.

  • Comment on Re: Use more than one threads for one file processing

Replies are listed 'Best First'.
Re^2: Use more than one threads for one file processing
by marioroy (Prior) on Oct 10, 2016 at 20:21 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1167054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found