Run your code with the option '-mat_type baij -mat_block_size 6' You can use '-mat_view_info' to varify the matrix type that is actually used.
Hong On Tue, 5 May 2009, SUN Chun wrote: > Hi, > > I created a matrix with AIJ format. I knew the structure of this matrix > should also fit BAIJ type with some certain block size (say 6). Now instead > of creating another BAIJ matrix then fill in the values again, do I have an > easier way to convert this AIJ matrix to BAIJ matrix with given block size? > I'm willing to allocate another memory for the new matrix. > > Thanks, > Chun >
