MPI_init

MPI_Common_size

MPI_Comm_rank

MPI_BCat (shot gathers, velocity data)

for all tasks simultaneously

for every shot

-1st phase shift

-2nd phase shift

-interpolation

-single image gather

MPI_Reduce (common image gathers)

MPI_Finalize