Parallel pseudospectral methods for the solution of the wave equation