伽玛暴(Gamma-Ray Burst)笔记。记录有关伽玛暴的新文章,另外也包括看的老文章、自己的想法、以及跟天文相关的一些东西。 Feel free to leave me a message by comments or by email.

星期五, 六月 29, 2007

Noble 2007 用OpenMP编写并行程序

主要内容:
OpenMP支持c和fortran,不需要很多并行只是,即可编写多cpu的并行程序。文章介绍用OpenMP编写天文方面的程序。

精彩摘抄:


文章信息:

arXiv:0706.4048 (cross-list from cs.DC) [ps, pdf, other]
Title: Getting More From Your Multicore: Exploiting OpenMP From An Open Source Numerical Scripting Language
Authors: Michael S. Noble
Comments: 15 pages, 16 figures; working paper, in preparation
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Astrophysics (astro-ph)

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 & analysis tool, performance figures are presented for several machine and compiler configurations, demonstrating beneficial speedups for real-world operations.

没有评论: