<div dir="ltr">Thank you all !<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 22, 2019 at 4:30 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
MatGetArrayF90 is an out-dated routine. For dense matrices you can use MatDenseGetArrayF90()<br>
<br>
For sparse matrices you can use MatGetValues() or MatGetRow()<br>
<br>
Barry<br>
<br>
<br>
> On Jan 22, 2019, at 3:15 PM, Maahi Talukder via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> <br>
> Hello All,<br>
> <br>
> I was trying to use ' MatGetArrayF90' to access a matrix and check its values. But I couldn't do it, probably because of the specific compiler I am using. <br>
> Is there any other way to access a matrix and check its values ?<br>
> <br>
> <br>
> Regards,<br>
> Maahi Talukder<br>
> Clarkson University<br>
<br>
</blockquote></div>