Programming Data and Task Parallelism with Chapel

Chapel is a new global-view parallel programming language developed by Cray Inc. that represents a new direction in programming parallel machines. In this paper, we present two data parallel and two task parallel algorithms written in Chapel to show the effectiveness of the language in specifying parallel algorithm and computation.