[petsc-users] Problem with "If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type charac..."
Satish Balay
balay at mcs.anl.gov
Tue Dec 27 11:17:08 CST 2016
Looks like this issue was previously discussed
http://lists.mcs.anl.gov/pipermail/petsc-users/2015-October/027365.html
Satish
On Tue, 27 Dec 2016, Zhang, Hong wrote:
> PetscInt IIA(1)
> IIA(1) = II
> call MatSetValues(A_mat_uv,1,IIA,1,int_impl(k,3),impl_mat_A,INSERT_VALUES,ierr)
>
> Hong (Mr)
>
> > On Dec 27, 2016, at 2:38 AM, TAY wee-beng <zonexo at gmail.com> wrote:
> >
> > Hi,
> >
> > I'm now trying to compile an old code and I got the error:
> >
> > "If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type charac...
> >
> > which happens at:
> >
> > call MatSetValues(A_mat_uv,1,II,1,int_impl(k,3),impl_mat_A,INSERT_VALUES,ierr)
> >
> > I remember having this error. However, I can't find my solution. I recall it's due to some changes in the new PETSc version.
> >
> > Can you help?
> >
> >
> > --
> > Thank you
> >
> > Yours sincerely,
> >
> > TAY wee-beng
> >
>
>
More information about the petsc-users
mailing list