<div dir="ltr"><div>Hello everyone,</div><div><br></div><div>It seems that to use MatXAIJSetPreallocation, one has to pass the array of the number of nonzero blocks per row, even if this number is same across all the local rows. <br></div><div><br></div><div>For the other preallocation functions (say,<font size="2"><span style="font-weight:normal"> MatMPIBAIJSetPreallocation</span></font>), they do support both a constant and a array for the number of nonzeros.</div><div><br></div><div>I am curious that the reason MatAIJSetPreallocation does not support the constant number of nonzeros case.</div><div><br></div><div>Thank you.</div><div>Xiangdong<br></div></div>