Note from THE FUTURE: there is now an Alien::OpenMP which helps writing Makefile.PL or maybe PDL .pd files. OpenMP is for shared-memory systems; MPI is a separate, complementary technology for coordinating processing between non-shared-memory systems.