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!
=== PDL parallel CPU support === PDL also has built-in support for parallel CPU execution. The `PDL::ParallelCPU` documentation says PDL can split numerical processing across multiple processor threads, or pthreads, using functions such as `set_autopthread_targ` and `set_autopthread_size`. The documentation notes that this can improve processing performance by greater than 2–4× in many cases on multi-core or multi-processor machines.<ref>MetaCPAN, “PDL::ParallelCPU,” https://metacpan.org/pod/PDL%3A%3AParallelCPU, accessed July 3, 2026.</ref> This is significant because modern compute nodes are multi-core. A Perl/PDL program that operates on large arrays can sometimes benefit from parallel execution inside PDL without the programmer manually writing threads around every loop. PDL’s parallel CPU model is not the same thing as MPI across a cluster. It is primarily a shared-memory, single-node technique. It is useful when the data fits within one node’s memory and the computation can be divided across cores.
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