In stark distinction to HPF, the HPJava translation scheme does not require insertion of compiler-generated communications, making it relatively straightforward. The most complicated part is ensuring that node code works independently of the distribution format of arrays. The current translation schemes is documented in detail in the HPJava manual  and translation scheme .
Figure 3 gives the translation of the ``loop nest'' from Figure 1--the two overall constructs with included for loop. Apart from cosmetic whitespace, and renaming of compiler-generated temporary names to the more readable form , this is the actual code emitted by the current version of the translator.