[GRASS-dev] [SoC] GSoC 2021 - Parallelization of raster modules for GRASS GIS

Hi everyone,

Week 1 has concluded, and this is my report for this week.

  1. What did I get done this week?

r.univar

  • Updated Makefile to include OpenMP dependencies
  • Wrote multi-threaded test cases to ensure consistency of the program
  • Wrote benchmarking script to measure speedup
  • Implemented parallel support
  • Drafted the PR of abovementioned changes [1]

r.neighbor

  • Investigated Segment library to support random access and write operations
  1. What do I plan on doing next week?

The goal is to come out with a design for output-based modules. The next step is to finish the implementation for r.neighbor. Furthermore, I plan to investigate the thread-safety of Raster3D module for pthread implementation of r.mapcalc.

  1. Am I blocked on anything?

No, it has been good so far, but I hope to improve on my pace.

[1] https://github.com/OSGeo/grass/pull/1634