<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sorry, I don't quite get. Is this something I can avoid by doing
preallocation properly or petsc issue that will be fixed? <br>
<br>
On 20.04.2012 14:23, Jed Brown wrote:
<blockquote
cite="mid:CAM9tzSkHdDKYtKy6CJAoY4nG62Wmwu680=H0h_i6dBwKYAEmCQ@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Fri, Apr 20, 2012 at 05:18, Matthew
Knepley <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:knepley@gmail.com">knepley@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>Did someone intend to fix this, and then
stop? MatAXPY_BasicWithPreallocation() is the same
as MatAXPY_Basic().</div>
</blockquote>
</div>
<div><br>
</div>
<div>Look how it's called. I don't know what's going on here.</div>
<div><br>
</div>
<div> ierr =
MatAXPYGetPreallocation_SeqAIJ(yy->A,xx->A,nnz_d);CHKERRQ(ierr);</div>
<div> ierr =
MatAXPYGetPreallocation_SeqAIJ(yy->B,xx->B,nnz_o);CHKERRQ(ierr);</div>
<div> ierr =
MatMPIAIJSetPreallocation(B,0,nnz_d,0,nnz_o);CHKERRQ(ierr);</div>
<div> ierr =
MatAXPY_BasicWithPreallocation(B,Y,a,X,str);CHKERRQ(ierr);</div>
<div><br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Alexander</pre>
</body>
</html>