<div dir="ltr"><div><div><div>Hi, <br><br></div>I have a large (~25k x 25k x 50) 3D array that I want to store as binary PETSc readable matrix using the MATDENSE format. I've currently achieved this (for smaller arrays) by writing the matrix out to an ASCII file and converting this ASCII file to binary, one number at a time using a C script. <br><br></div>Does petsc4py support converting a 3d numpy array (complex valued) to MATDENSE (MPI) binary format directly ? <br><br></div>I saw some discussion on this topic back in 2012 on the mailing list but it's not clear to me what happened after that. <br clear="all"><div><div><div><div><br></div><div>Thank You, <br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Sajid Ali<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div></div></div></div></div></div></div></div>