added specfem3d_debug for testing input/output methods