arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0710.4075astro-ph
收藏

从您的多核中获得更多:利用OpenMP进行天文学研究

Getting More From Your Multicore: Exploiting OpenMP for Astronomy

Michael S. Noble

摘要:

出于多核架构的出现,以及并行很少用于观测天文学分析的现实,我们演示了一般用户如何在脚本研究计算中使用紧密耦合的多处理器,同时不需要并行编程的特殊知识。我们的方法依赖于观察到的高层次的向量化语言,如IDL或MatLab的吸引力,源于相对简单的内部循环的常规数组结构,这些循环是非常适合自动并行与OpenMP。我们将讨论如何ISIS,一个开源的天体物理分析系统嵌入的S-Lang数值语言,很容易适应利用这种模式。从一个共同的天体物理问题,模型拟合,我们提出了有益的加速几个机器和编译器配置。这些结果补充了我们以前的PVM努力,并共同使我们相信ISIS是唯一的通用光谱系统,其中这样一系列的并行性-从多台机器上的单处理器到单台机器上的多个处理器-已经得到证明。

英文摘要:

Motivated by the emergence of multicore architectures, and the reality that parallelism is rarely used for analysis in observational astronomy, we demonstrate how general users may employ tightly-coupled multiprocessors in scriptable research calculations while requiring no special knowledge of parallel programming. Our method rests on the observation that much of the appeal of high-level vectorized languages like IDL or MatLab stems from relatively simple internal loops over regular array structures, and that these loops are highly amenable to automatic parallelization with OpenMP. We discuss how ISIS, an open-source astrophysical analysis system embedding the S-Lang numerical language, was easily adapted to exploit this pattern. Drawing from a common astrophysical problem, model fitting, we present beneficial speedups for several machine and compiler configurations. These results complement our previous efforts with PVM, and together lead us to believe that ISIS is the only general purpose spectroscopy system in which such a range of parallelism -- from single processors on multiple machines to multiple processors on single machines -- has been demonstrated.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑