[petsc-users] no matching specific subroutine [DMDAVECGETARRAYF90]
Barry Smith
bsmith at mcs.anl.gov
Mon May 9 13:09:26 CDT 2016
Email a stand alone problem that reproduces the problem.
> On May 9, 2016, at 12:11 PM, praveen kumar <praveenpetsc at gmail.com> wrote:
>
> 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
More information about the petsc-users
mailing list