Improve local-team example in Impl and Prog-guide

Issue #564 resolved
Johnny Corbino created an issue

The current example works and proves the point of using local_team() to improve memory scalability and perform direct loads/stores yet it could be misread as us encouraging element-wise ASCII-format I/O. The new version of the example should have the following improvements:

* Use binary mode for I/O instead of text
* Change array to hold elements of type double instead of size_t (more realistic case)
* Check for possible issues when opening (creating and reading) the file
* Improve comments and formatting

NOTE: I’m already working on a PR for the Impl repo to incorporate this changes post 2022.9 release

Comments (2)

  1. Log in to comment