<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Greetings!</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I have a question about preallocating memory for a parallel BAIJ matrix. From the documentation of MatMPIBAIJSetPreallocation(), the preallocation is divided between the so-called "diagonal" and "off-diagonal" sub matrices. In the example from the documentation,
the following illustration is given for the portion of a matrix that owns rows 3,4, and 5 of some 12-column matrix:<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre> 0 1 2 3 4 5 6 7 8 9 10 11
--------------------------
row 3 |o o o d d d o o o o o o
row 4 |o o o d d d o o o o o o
row 5 |o o o d d d o o o o o o
--------------------------</pre>
I have a few questions: about MPIBAIJ matrices, I am somewhat confused by the description:<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<ol>
<li><span>If the rank owned, say 5 rows instead of 3 on the same matrix, would the "d" block become a 5 by 5? as in:</span></li><li style="display:block"><span>
<pre> 0 1 2 3 4 5 6 7 8 9 10 11
--------------------------
row 3 |o o o d d d d d o o o o
row 4 |o o o d d d d d o o o o
row 5 |o o o d d d d d o o o o<br> row 6 |o o o d d d d d o o o o<br> row 7 |o o o d d d d d o o o o
--------------------------</pre>
</span></li></ol>
<ol start="2">
<li><span>Is there a way to not have to deal with "d" blocks and "o" blocks separately? I know how many nonzero blocks are in each row of my matrix but I can't easily determine which of those zeros are in the "d" block or "o" block of my ranks.</span></li><li><span>The block size "bs", that is the size of each individual "d" or "o" as shown in the diagrams right? </span></li><li><span>TRUE/FALSE: The parameters d_nz, o_nz, d_nnz, and o_nnz, those specify the number of "d" and "o" blocks that are nonzero (where each "d" or "o" is its own dense submatrix), not the actual number of nonzeros in the rows, right? Say the block size
is 3 and I set d_nz to 2, then for the diagram from the documentation this translates to 54 actual nonzeros in the diagonal block, right?<br>
</span></li></ol>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div></div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif;">
<p style="margin-top:0px; margin-bottom:0px; margin-top:0; margin-bottom:0"></p>
<div>
<p style="margin-top:0px; margin-bottom:0px; margin:0px 0px 10.66px"></p>
<div>
<p style="background: white none repeat scroll 0% 0%; margin: 0px 0px 11px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: "Times New Roman", Times, serif; font-size: 12pt;">Sincerely:</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: red; font-family: "Courier New", monospace; font-size: 14pt;"><b style=""><span style="font-family: "Courier New", monospace;">J.A. Ferrand</span></b></span><u><span style="margin: 0px; color: red; font-family: "Swis721 BlkCn BT", sans-serif; font-size: 12pt;"></span></u></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">Embry-Riddle Aeronautical University - Daytona Beach FL</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">M.Sc. Aerospace Engineering | May 2022</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">B.Sc. Aerospace Engineering</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">B.Sc. Computational Mathematics</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: rgb(0, 0, 0); font-family: Courant; font-size: 12pt;"> </span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"><span style="color: rgb(0, 0, 0); font-family: Courant; font-size: 12pt; display: inline !important; font-size-adjust: none; background-color: rgb(255, 255, 255);">Sigma Gamma Tau</span><span style="color: rgb(0, 0, 0); font-family: Courant; font-size: 12pt; display: inline !important; font-size-adjust: none; background-color: rgb(255, 255, 255);"> </span><br>
</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: rgb(0, 0, 0); font-family: Courant; font-size: 12pt;">Tau Beta Pi</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"><span style="margin: 0px; color: rgb(0, 0, 0); font-family: Courant; font-size: 12pt;">Honors Program</span></span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"> </span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<u><span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">Phone:</span></u><span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"> (386)-843-1829</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal;">
<u><span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;">Email(s):</span></u><span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"> ferranj2@my.erau.edu</span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0px; line-height: normal; text-indent: 0.5in;">
<span style="margin: 0px; color: black; font-family: Courant; font-size: 12pt;"><span style="margin:0px">
</span>jesus.ferrand@gmail.com</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>