This simple PVL program contains a parallel for-loop with a barrier to redistribute permissions and an atomic increase of an integer.