<div dir="ltr">I added a case to the SeqAIJ options switch:<div><br></div><div> case MAT_COO_BLOCKED_ASSEMBLY:<br>    A->coo_blocked_assembly = flg;<br>    break;</div><div><br></div><div>And added the flag for this to mat/tests/ex123* and when we have '-mat_type is', I get matis calling <b>MatSetOption</b> with a NULL argument (a->A)</div><div><br></div><div>What is wrong here? Not being able to use blocked assembly for matis is fine, but this is not a useful error message.</div><div><br></div><div>x* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1</div>    frame #0: 0x0000000128c58223 libpetsc.3.023.dylib`PetscError(comm=0, line=-1, func=0x0000000000000000, file="", n=PETSC_SUCCESS, p=PETSC_ERROR_INITIAL, mess="<b>Null Pointer: Parameter # %d</b>") at err.c:387<br>    frame #1: 0x000000011fa3df99 libpetsc.3.023.dylib`<b>MatSetOption(mat=<font color="#ff0000">0x0000000000000000</font>, op=MAT_COO_BLOCKED_ASSEMBLY, flg=PETSC_TRUE) a</b>t matrix.c:6048:3<br>  * frame #2: 0x000000011ebdcfef libpetsc.3.023.dylib`MatSetOption_IS(A=0x0000621000004350, op=MAT_COO_BLOCKED_ASSEMBLY, flg=PETSC_TRUE) at matis.c:3286:3<br>    frame #3: 0x000000011fa4a7e0 libpetsc.3.023.dylib`MatSetOption(mat=0x0000621000004350, op=MAT_COO_BLOCKED_ASSEMBLY, flg=PETSC_TRUE) at matrix.c:6127:3<br>    frame #4: 0x000000011fd87f66 libpetsc.3.023.dylib`MatSetFromOptions(B=0x0000621000004350) at gcreate.c:320:12<br>    frame #5: 0x00000001000039d3 ex123`main(argc=11, args=0x000000030412d1f0) at ex123.c:44:3<br>    frame #6: 0x0000000200018530 dyld`start + 3056</div>