SearcharxivSearch

arXiv · 0710.4075

Getting More From Your Multicore: Exploiting OpenMP for Astronomy

Abstract

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.

Explore related subjects

Keep this discovery

BibTeXRIS

Michael S. Noble. 2007-10-22. Getting More From Your Multicore: Exploiting OpenMP for Astronomy. https://arxiv.org/abs/0710.4075

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Circumstellar water vapour in M-type AGB stars: Radiative transfer models, abundances and predictions for HIFI

Aims: By performing a detailed radiative transfer analysis, we determine fractional abundances of circumstellar H2O in the envelopes around six M-type asymptotic giant branch stars. The models are also used to predict H2O spectral line emission for the upcoming Herschel/HIFI mission. Methods: We use Infrared space observatory long wavelength spectrometer spectra to constrain the circumstellar fractional abundance distribution of ortho-H2O, using a non-local thermal equilibrium, and non-local, radiative transfer code based on the accelerated lambda iteration formalism. The mass-loss rates and kinetic temperature structures for the sample stars are determined through radiative transfer modelling of CO line emission based on the Monte-Carlo method. The density and temperature profiles of the circumstellar dust grains are determined through spectral energy distribution modelling using the publicly available code Dusty. Results: The determined ortho-H2O abundances lie between 1e-4 and 1.5e-3 relative to H2, with the exception of WX Psc, which has a much lower estimated ortho-H2O abundance of only 2e-6, possibly indicating H_2O adsorption onto dust grains or recent mass-loss-rate modulations. The estimated abundances are uncertain by, at best, a factor of a few. Conclusions: The high water abundance found for the majority of the sources suggests that either the `normal' chemical processes are very effective in producing H2O, or else non-local thermal equilibrium atmospheric chemistry, grain surface reactions, or a release of H_2O (e.g. from icy bodies like Kuiper belt objects) play a role. We provide predictions for ortho-H2O lines in the spectral window of Herschel/HIFI.

astro-ph

CMB Anisotropies and Inflation from Non-Standard Spinors

The apparent alignment of the cosmic microwave background multipoles on large scales challenges the standard cosmological model. Scalar field inflation is isotropic and cannot account for the observed alignment. We explore the imprints, a non-standard spinor driven inflation would leave on the cosmic microwave background anisotropies. We show it is natural to expect an anisotropic inflationary expansion of the Universe which has the effect of suppressing the low multipole amplitude of the primordial power spectrum, while at the same time to provide the usual inflationary features.

astro-ph