Hi,
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(:,:).
test.F90(358): error #6285: There is no matching specific subroutine for
this generic subroutine call. [DMDAVECGETARRAYF90]
call DMDAVecGetArrayF90(da,Lvec,t,ierr)
-------------^
test.F90(389): error #6285: There is no matching specific subroutine for
this generic subroutine call. [DMDAVECRESTOREARRAYF90]
call DMDAVecRestoreArrayF90(da,Lvec,t,ierr)
Thanks,
Praveen