<div dir="ltr"><div><div>Hi,<br></div><br></div>I called DMDAVecGet/RestoreArray inside main program portion and there were no errors. These errors pop up when I call DMDAVecGet/RestoreArray inside a subroutine. I have included all the headers in subroutine also. I have defined 't' as PetscScalar, pointer ::t(:,:).<div><div><div><br>test.F90(358): error #6285: There is no matching specific subroutine for this generic subroutine call.   [DMDAVECGETARRAYF90]<br>        call DMDAVecGetArrayF90(da,Lvec,t,ierr)<br>-------------^<br>test.F90(389): error #6285: There is no matching specific subroutine for this generic subroutine call.   [DMDAVECRESTOREARRAYF90]<br>       call DMDAVecRestoreArrayF90(da,Lvec,t,ierr)<br><br><br></div><div>Thanks,<br></div><div>Praveen <br></div></div></div></div>