[petsc-users] no matching specific subroutine [DMDAVECGETARRAYF90]
praveen kumar
praveenpetsc at gmail.com
Mon May 9 12:11:25 CDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160509/e317817f/attachment.html>
More information about the petsc-users
mailing list