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

Aaron Saw Min Sern aaronsms at u.nus.edu
Mon Jul 19 01:57:15 PDT 2021


Hi everyone,

Week 6 has concluded and here's my report for this week.

1) What did I get done this week?
r.neighbors
The main goal that I have accomplished is to do a complete rework of the r.neighbors implementation (PR: https://github.com/OSGeo/grass/pull/1724). A benchmark script is ready under 'benchmark' directory for users to test the performance on their local machine. The performance is comparable to the previous implementation that make use of temporary files as buffer (on SSD) instead of memory. The result of the benchmarking on my local machine (12 cores) can be found under the PR above.

r.mfilter
There are issues pointed out when working on raster files > 2GB (PR: https://github.com/OSGeo/grass/pull/1708). This is promptly addressed with commit (4caa96), and the cause is due to overflow from multiplication. This PR is ready, and a benchmark script is provided as well for local benchmarking.

2) What do I plan on doing next week?

  *   Introduce an environment variable that overwrites the default nprocs parameter which is currently 1. This is so that the users do not need to add nprocs parameter explicitly.
  *   Implement r.resamp.filter/r.resamp.interp parallelization

3) Am I blocked on anything?
No major issues.

Thanks,
Aaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20210719/bc857cef/attachment.html>


More information about the SoC mailing list