in reply to Re: Getting started with MCE (the Many-Core Engine)
in thread Getting started with MCE (the Many-Core Engine)
Thank you so much for the example code. I can now see the meaning of chunk_size and how to share data between processes. MCE is a really beautiful distribution with comprehensive documentation and tons of examples (and a couple of cookbooks). I'm just not familiar with the concepts and jargon of parallel processing and was feeling kinda lost, but less now. Thanks to you! :-)time perl -le '$x=1e9;$y=0;$y+=$_ for 1..$x;print$y' 500000000500000000 real 0m26.796s user 0m26.617s sys 0m0.088s time mce (your script) 500000000500000000 real 0m7.323s user 0m55.095s sys 0m0.127s
Time for another go at the docs while I figure out how to adapt this to incrementing strings perl-style:
perl -le '$a="a";for(1..30){print$a++}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Getting started with MCE (the Many-Core Engine)
by 1nickt (Canon) on Jun 11, 2018 at 18:14 UTC | |
by Anonymous Monk on Jun 13, 2018 at 00:18 UTC | |
by marioroy (Prior) on Jun 13, 2018 at 13:37 UTC | |
by Anonymous Monk on Jun 13, 2018 at 15:30 UTC | |
by marioroy (Prior) on Jun 13, 2018 at 20:04 UTC | |
|
Re^3: Getting started with MCE (the Many-Core Engine)
by vr (Curate) on Jun 11, 2018 at 19:45 UTC | |
by Anonymous Monk on Jun 12, 2018 at 17:45 UTC | |
|
Re^3: Getting started with MCE (the Many-Core Engine)
by Anonymous Monk on Jun 12, 2018 at 17:18 UTC |