Premium
Getting more from your multicore: exploiting OpenMP from an open‐source numerical scripting language
Author(s) -
Noble Michael S.
Publication year - 2008
Publication title -
concurrency and computation: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.309
H-Index - 67
eISSN - 1532-0634
pISSN - 1532-0626
DOI - 10.1002/cpe.1296
Subject(s) - scripting language , computer science , compiler , exploit , programming language , parallelism (grammar) , parallel computing , vectorization (mathematics) , multi core processor , generator (circuit theory) , focus (optics) , computer architecture , power (physics) , physics , computer security , quantum mechanics , optics
We introduce SLIRP, a module generator for the S‐Lang numerical scripting language, with a focus on its vectorization capabilities. We demonstrate how both SLIRP and S‐Lang were easily adapted to exploit the inherent parallelism of high‐level mathematical languages with OpenMP, allowing general users to employ tightly coupled multiprocessors in scriptable research calculations while requiring no special knowledge of parallel programming. Motivated by examples in the ISIS astrophysical modeling and analysis tool, performance figures are presented for several machine and compiler configurations, demonstrating beneficial speedups for real‐world operations. Copyright © 2008 John Wiley & Sons, Ltd.