GeoscienceAustralia / dea-cogger

Convert NetCDFs to Cloud Optimized GeoTIFFs
15 stars 4 forks source link

Synchronise Master-Worker Cog Conversion Using MPI #13

Closed santoshamohan closed 5 years ago

santoshamohan commented 5 years ago

Request for this pull request

Refactor streamer file to better manage worker-master interaction.

Proposed solution

  1. Rename streamer/mpi_wofls_convert.sh file to streamer/mpi_cog_convert.sh.
  2. Update streamer/mpi_cog_convert.sh to take parameters as an user argument rather than hard-coded values.
  3. Add tagged MPI send()/receive() mode to synchronise a large number of independent tasks when there are more tasks than processors, especially when the run times vary for each task.
  4. Update logging to timestamp each task activity.
  5. Update README.md as per the latest changes.