← Search

Data · dataset · 2026

Incorporating MAGMA into the 'fields' spatial statistics package

Listed in National Center for Atmospheric Research

Description

In this report we describe how to incorporate the Cholesky decomposition from the Matrix Algebra on GPU and Multicore Architectures (MAGMA) library into some of the calculations of the 'fields' spatial statistics package in R. We provide MAGMA installation instructions as well as demonstrations of performance when applied to simulated datasets and the CO2 dataset available in fields. While there are other spatial statistics packages in R using parallelism, such as bigGP and parspatstat, none to our knowledge directly incorporates GPUs or other coprocessors.

Our code is timed on Caldera computational nodes in the National Center for Atmospheric Research's Yellowstone supercomputing environment. We find that for 40,000 x 40,000 matrices the MAGMA-accelerated decomposition has a 30.7 and 46.2 times speedup for 1 and 2 GPU implementations respectively over chol, the standard Cholesky decomposition function in R (with settings allowing R programmers to use our accelerated function like they would chol).

Read the rest (2 more)

The speedups are greater when using in-place calculations where the original matrix is overwritten and not copied. In that case, the equivalent speedups are 41.8 and 54.4 times for in place decompositions on one and two GPUs respectively. We also time a simple spatial analysis workflow with maximum likelihood estimation with up to over 23,000 observations, where accelerated workflows achieved approximately 4.2 and 4.3 times speedup when using 1 and 2 GPUs respectively over a corresponding unaccelerated workflow.

As problem size increases, speedups improve, and the 2 GPU decompositions perform increasingly well compared to their corresponding 1 GPU implementations. Performance for 2 GPU decompositions is slower than with 1 GPU in some cases due to additional communication overheads and data dependencies in the Cholesky decomposition algorithm, and will be explored further in Ramakrishnaiah et al. (2015).

Links

Get the data

Where it is published

Catalogue records · 1

Topics

Inferred from text
Spatial statistics 81%
Provenance · 1 source records, 9 field assertions
SourceKeyLast seenRaw
National Center for Atmospheric Research58751037-8b37-4c37-be8a-99a249a381d813 d agoJSON v1
FieldAssertionExtractorEvidence
concepts[field].anzsrc:field:490507enrichment · data ucar edutaxonomy-embedding@1.1.0title+keywords+description (81%)
concepts[field].local:field:earth-environmentalmapping · data ucar educonnector:data_ucar_edu@1.0.0
concepts[field].local:field:mathematics-statisticsmapping · data ucar educonnector:data_ucar_edu@1.0.0
concepts[field].local:field:ocean-atmosphericmapping · data ucar educonnector:data_ucar_edu@1.0.0
created_datesource · data ucar educonnector:data_ucar_edu@1.0.0
descriptionsource · data ucar educonnector:data_ucar_edu@1.0.0/notes
publication_datesource · data ucar educonnector:data_ucar_edu@1.0.0
titlesource · data ucar educonnector:data_ucar_edu@1.0.0/title
updated_datesource · data ucar educonnector:data_ucar_edu@1.0.0