Research Article

High-Performance Design Patterns for Modern Fortran

Listing 3

if (this_image() == 3) then
 a(1, 1, 1)1] = a(1, 1, 1)2]
end if