Editing
Portal:HPC - High Performance Computing
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Many-core Perl and process-level parallelism === Not all HPC-style work requires MPI or OpenMP. Many workloads are embarrassingly parallel: each input file, simulation case, image, sequence, log, or parameter set can be processed independently. Perl is strong in this area. '''MCE''', the '''Many-Core Engine''' for Perl, is one important module. Its documentation says that MCE provides parallel processing capabilities and helps maximize available cores. MCE uses worker pools and chunking rather than forking a new process for every data element.<ref>MetaCPAN, “MCE - Many-Core Engine,” https://metacpan.org/pod/MCE, accessed July 3, 2026.</ref> `Parallel::ForkManager` is another widely used module. Its documentation says it is intended for operations that can be done in parallel where the number of processes should be limited.<ref>MetaCPAN, “Parallel::ForkManager,” https://metacpan.org/pod/Parallel%3A%3AForkManager, accessed July 3, 2026.</ref> `Parallel::Loops` allows loop iterations to be run in parallel using available CPUs when iterations do not depend on one another.<ref>MetaCPAN, “Parallel::Loops,” https://metacpan.org/pod/Parallel%3A%3ALoops, accessed July 3, 2026.</ref> These modules are not HPC standards in the same sense as MPI or OpenMP, but they are highly relevant to real scientific work. Many research workflows are not one giant parallel solver; they are thousands of independent tasks. Perl is often excellent at coordinating those tasks.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information