testing gmres in same file as jd