[petsc-dev] valgrind errors in the SUPERLU*

Xiaoye S. Li xsli at lbl.gov
Sat Jan 16 14:04:43 CST 2016


The first leak is related to data structure for distributed sparse CSR
matrix A (input).  How does the petsc interface free A's structure at the
end of program?   There needs be a matching call like this:

    Destroy_CompRowLoc_Matrix_dist(&A);


when A is not needed anymore.

I will go check all the MPI buffers.

By the way, I have a question about valgrind.   Lately I have been chasing
a possible memory corruption on  Cori at NERSC.  Valgrind gave LOTS OF
internal system-related warnings, such as:

==39059== Conditional jump or move depends on uninitialised value(s)
==39059==    at 0xD5E336: __register_atfork (register-atfork.c:119)
==39059==    by 0xD5E418: __libc_pthread_init (libc_pthread_init.c:48)
==39059==    by 0x6629E1: __pthread_initialize_minimal (nptl-init.c:462)
==39059==    by 0xD14BDA: (below main) (libc-start.c:152)
==39059==
==39057==    by 0xD5E418: __libc_pthread_init (libc_pthread_init.c:48)
==39057==    by 0x6629E1: __pthread_initialize_minimal (nptl-init.c:462)
==39057==    by 0xD14BDA: (below main) (libc-start.c:152)

​This has nothing do do with my program.  Do you know a way to NOT to print
those?   I got a huge file filled with these, hard to find out the real
error.


Sherry
​


2016-01-16 10:40 GMT-08:00 Barry Smith <bsmith at mcs.anl.gov>:

>
> Sherry,
>
>   We think there is a small memory leak in Superlu; could you check it?
>
> > ==11431== 40 bytes in 1 blocks are definitely lost in loss record 1 of 1
> > ==11431==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==11431==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==11431==    by 0x67834CA: dCreate_CompRowLoc_Matrix_dist
> (dutil_dist.c:61)
> > ==11431==    by 0x58C280D: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:405)
> > ==11431==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==11431==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==11431==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==11431==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==11431==    by 0x6025919: KSPSolve (itfunc.c:594)
> > ==11431==    by 0x61E538F: SNESSolve_NEWTONLS (ls.c:230)
> > ==11431==    by 0x6255E9C: SNESSolve (snes.c:3992)
> > ==11431==    by 0x40271F: main (ex19.c:160)
> > ==11431==
> > ==11430== 40 bytes in 1 blocks are definitely lost in loss record 1 of 1
> > ==11430==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==11430==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==11430==    by 0x67834CA: dCreate_CompRowLoc_Matrix_dist
> (dutil_dist.c:61)
> > ==11430==    by 0x58C280D: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:405)
> > ==11430==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==11430==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==11430==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==11430==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==11430==    by 0x6025919: KSPSolve (itfunc.c:594)
> > ==11430==    by 0x61E538F: SNESSolve_NEWTONLS (ls.c:230)
> > ==11430==    by 0x6255E9C: SNESSolve (snes.c:3992)
> > ==11430==    by 0x40271F: main (ex19.c:160)
> > ==11430==
>
> Another problem is that when running PETSc examples with Superlu we see
> valgrind warning messages about copying uninitialized data in MPI calls in
> superlu. This is cause by hypre allocating some buffer space, but only
> putting values in part of the buffer and then sending the entire buffer via
> MPI to some other process. Technically this is not an "error" if you never
> access the non initialized data on the receiver process but it makes
> valgrind unusable for finding TRUE memory issues (since the output is
> filled with false positives).
>
>    The issue could be fixed by either 1) initializing the complete buffer
> allocated (for example when it is malloced), then MPI won't see
> uninitialized data or better IMHO 2) send shorter messages that don't
> contain this part of the buffer that is never used anyway.
>
> Thanks
>
>   Barry
> ******* Testing: testexamples_SUPERLU_DIST_DATAFILESPATH *******
> 0a1,89
> > ==29986== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==29986==    at 0xE11ACDB: writev (writev.c:51)
> > ==29986==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==29986==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==29986==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==29986==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==29986==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==29986==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==29986==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==29986==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==29986==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==29986==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==29986==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==29986==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==29986==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==29986==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==29986==    by 0x405E42: main (ex10.c:316)
> > ==29986==  Address 0xf4d8318 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==29986==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==29986==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==29986==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==29986==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==29986==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==29986==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==29986==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==29986==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==29986==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==29986==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==29986==    by 0x405E42: main (ex10.c:316)
> > ==29986==  Uninitialised value was created by a heap allocation
> > ==29986==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==29986==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==29986==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==29986==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==29986==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==29986==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==29986==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==29986==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==29986==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==29986==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==29986==    by 0x405E42: main (ex10.c:316)
> > ==29986==
> > ==29987== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==29987==    at 0xE11ACDB: writev (writev.c:51)
> > ==29987==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==29987==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==29987==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==29987==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==29987==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==29987==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==29987==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==29987==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==29987==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==29987==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==29987==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==29987==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==29987==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==29987==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==29987==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==29987==    by 0x406122: main (ex10.c:336)
> > ==29987==  Address 0xfb20f38 is 8 bytes inside a block of size 152
> alloc'd
> > ==29987==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==29987==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==29987==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==29987==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==29987==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==29987==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==29987==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==29987==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==29987==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==29987==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==29987==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==29987==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==29987==    by 0x406122: main (ex10.c:336)
> > ==29987==  Uninitialised value was created by a heap allocation
> > ==29987==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==29987==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==29987==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==29987==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==29987==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==29987==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==29987==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==29987==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==29987==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==29987==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==29987==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==29987==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==29987==    by 0x406122: main (ex10.c:336)
> > ==29987==
> /sandbox/petsc/petsc.clone/src/ksp/ksp/examples/tutorials
> Possible problem with ex10_superlu_lu_2, diffs above
> =========================================
> 4a5,106
> > ==30097== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30097==    at 0xE11ACDB: writev (writev.c:51)
> > ==30097==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30097==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30097==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30097==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30097==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30097==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30097==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30097==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30097==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30097==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30097==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30097==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x405E42: main (ex10.c:316)
> > ==30097==  Address 0xf625088 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30097==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30097==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30097==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30097==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30097==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30097==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30097==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30097==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x405E42: main (ex10.c:316)
> > ==30097==  Uninitialised value was created by a heap allocation
> > ==30097==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30097==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30097==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30097==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30097==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30097==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30097==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30097==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30097==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30097==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30097==    by 0x405E42: main (ex10.c:316)
> > ==30097==
> > ==30098== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30098==    at 0xE11ACDB: writev (writev.c:51)
> > ==30098==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30098==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30098==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30098==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30098==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30098==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30098==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30098==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30098==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30098==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30098==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30098==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x405E42: main (ex10.c:316)
> > ==30098==  Address 0xf619a88 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30098==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30098==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30098==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30098==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30098==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30098==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30098==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30098==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x405E42: main (ex10.c:316)
> > ==30098==  Uninitialised value was created by a heap allocation
> > ==30098==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30098==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30098==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30098==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30098==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30098==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30098==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30098==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30098==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30098==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30098==    by 0x405E42: main (ex10.c:316)
> > ==30098==
> 8a111,314
> > ==30150== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30150==    at 0xE11ACDB: writev (writev.c:51)
> > ==30150==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30150==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30150==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30150==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30150==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30150==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30150==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30150==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30150==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30150==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30150==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30150==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30150==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30150==    by 0x405E42: main (ex10.c:316)
> > ==30150==  Address 0xf623888 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30150==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30150==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30150==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30150==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30150==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30150==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30150==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30150==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    at 0xE11ACDB: writev (writev.c:51)
> > ==30152==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30152==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30152==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30152==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30152==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30150==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30150==    by 0x405E42: main (ex10.c:316)
> > ==30150==  Uninitialised value was created by a heap allocation
> > ==30150==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30150==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30150==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30150==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30150==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30150==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30150==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30150==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30150==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30150==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30150==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30150==    by 0x405E42: main (ex10.c:316)
> > ==30150==
> > ==30152==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30152==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30152==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30152==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30152==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30152==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x405E42: main (ex10.c:316)
> > ==30152==  Address 0xf61cff8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30152==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30152==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30152==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30152==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30152==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30152==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30152==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30152==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x405E42: main (ex10.c:316)
> > ==30152==  Uninitialised value was created by a heap allocation
> > ==30152==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30152==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30152==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30152==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30152==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30152==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30152==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30152==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30152==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30152==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30152==    by 0x405E42: main (ex10.c:316)
> > ==30152==
> > ==30151== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30151==    at 0xE11ACDB: writev (writev.c:51)
> > ==30151==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30151==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30151==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30151==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30151==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30151==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30151==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30151==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30151==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30151==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30151==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30151==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x405E42: main (ex10.c:316)
> > ==30151==  Address 0xf6183c8 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30151==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30151==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30151==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30151==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30151==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30151==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30151==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30151==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x405E42: main (ex10.c:316)
> > ==30151==  Uninitialised value was created by a heap allocation
> > ==30151==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30151==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30151==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30151==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30151==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30151==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30151==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30151==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30151==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30151==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30151==    by 0x405E42: main (ex10.c:316)
> > ==30151==
> > ==30153== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30153==    at 0xE11ACDB: writev (writev.c:51)
> > ==30153==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30153==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30153==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30153==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30153==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30153==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30153==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30153==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30153==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30153==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30153==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30153==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x405E42: main (ex10.c:316)
> > ==30153==  Address 0xf617728 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30153==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30153==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30153==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30153==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30153==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30153==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30153==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30153==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x405E42: main (ex10.c:316)
> > ==30153==  Uninitialised value was created by a heap allocation
> > ==30153==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30153==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30153==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30153==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30153==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30153==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30153==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30153==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30153==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30153==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30153==    by 0x405E42: main (ex10.c:316)
> > ==30153==
> 12a319,624
> > ==30207== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30207==    at 0xE11ACDB: writev (writev.c:51)
> > ==30207==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30207==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30207==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30207==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30207==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30207==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30207==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30207==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30207==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30207==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30207==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30207==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x405E42: main (ex10.c:316)
> > ==30207==  Address 0xf6202b8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30207==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30207==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30207==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30207==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30207==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30207==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30207==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30207==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x405E42: main (ex10.c:316)
> > ==30207==  Uninitialised value was created by a heap allocation
> > ==30207==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30207==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30207==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30207==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30207==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30207==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30207==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30207==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30207==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30207==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30207==    by 0x405E42: main (ex10.c:316)
> > ==30207==
> > ==30205== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30205==    at 0xE11ACDB: writev (writev.c:51)
> > ==30205==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30205==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30205==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30205==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30205==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30205==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30205==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30205==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30205==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30205==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30205==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30205==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x405E42: main (ex10.c:316)
> > ==30205==  Address 0xf61b928 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30205==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30205==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30205==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30205==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30205==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30205==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30205==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30205==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x405E42: main (ex10.c:316)
> > ==30205==  Uninitialised value was created by a heap allocation
> > ==30205==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30205==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30205==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30205==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30205==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30205==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30205==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30205==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30205==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30205==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30205==    by 0x405E42: main (ex10.c:316)
> > ==30205==
> > ==30208== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30208==    at 0xE11ACDB: writev (writev.c:51)
> > ==30208==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30208==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30208==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30208==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30208==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30208==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30208==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30208==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30208==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30208==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30208==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30208==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x405E42: main (ex10.c:316)
> > ==30208==  Address 0xf6142f8 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30208==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30208==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30208==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30208==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30208==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30208==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30208==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30208==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x405E42: main (ex10.c:316)
> > ==30208==  Uninitialised value was created by a heap allocation
> > ==30208==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30208==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30208==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30208==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30208==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30208==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30208==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30208==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30208==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30208==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30208==    by 0x405E42: main (ex10.c:316)
> > ==30208==
> > ==30206== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30206==    at 0xE11ACDB: writev (writev.c:51)
> > ==30206==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30206==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30206==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30206==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30206==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30206==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30206==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30206==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30206==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30206==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30206==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30206==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x405E42: main (ex10.c:316)
> > ==30206==  Address 0xf6164f8 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30206==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30206==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30206==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30206==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30206==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30206==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30206==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30206==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x405E42: main (ex10.c:316)
> > ==30206==  Uninitialised value was created by a heap allocation
> > ==30206==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30206==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30206==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30206==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30206==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30206==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30206==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30206==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30206==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30206==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30206==    by 0x405E42: main (ex10.c:316)
> > ==30206==
> > ==30203== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30203==    at 0xE11ACDB: writev (writev.c:51)
> > ==30203==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30203==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30203==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30203==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30203==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30203==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30203==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30203==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30203==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30203==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30203==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30203==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x405E42: main (ex10.c:316)
> > ==30203==  Address 0xf6229c8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30203==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30203==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30203==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30203==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30203==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30203==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30203==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30203==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x405E42: main (ex10.c:316)
> > ==30203==  Uninitialised value was created by a heap allocation
> > ==30203==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30203==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30203==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30203==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30203==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30203==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30203==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30203==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30203==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30203==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30203==    by 0x405E42: main (ex10.c:316)
> > ==30203==
> > ==30204== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30204==    at 0xE11ACDB: writev (writev.c:51)
> > ==30204==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30204==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30204==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30204==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30204==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30204==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30204==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30204==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30204==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30204==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30204==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30204==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x405E42: main (ex10.c:316)
> > ==30204==  Address 0xf617008 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30204==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30204==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30204==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30204==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30204==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30204==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30204==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30204==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x405E42: main (ex10.c:316)
> > ==30204==  Uninitialised value was created by a heap allocation
> > ==30204==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30204==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30204==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30204==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30204==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30204==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30204==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30204==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30204==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30204==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30204==    by 0x405E42: main (ex10.c:316)
> > ==30204==
> 16a629,1036
> > ==30262== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30262==    at 0xE11ACDB: writev (writev.c:51)
> > ==30262==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30262==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30262==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30262==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30262==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30262==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30262==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30262==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30262==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30262==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30262==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30262==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x405E42: main (ex10.c:316)
> > ==30262==  Address 0xf61c2b8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30262==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30262==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30262==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30262==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30262==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30262==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30262==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30262==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x405E42: main (ex10.c:316)
> > ==30262==  Uninitialised value was created by a heap allocation
> > ==30262==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30262==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30262==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30262==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30262==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30262==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30262==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30262==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30262==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30262==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30262==    by 0x405E42: main (ex10.c:316)
> > ==30262==
> > ==30260== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30260==    at 0xE11ACDB: writev (writev.c:51)
> > ==30260==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30260==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30260==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30260==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30260==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30260==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30260==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30260==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30260==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30260==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30260==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30260==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x405E42: main (ex10.c:316)
> > ==30260==  Address 0xf61ed28 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30260==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30260==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30260==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30260==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30260==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30260==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30260==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30260==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x405E42: main (ex10.c:316)
> > ==30260==  Uninitialised value was created by a heap allocation
> > ==30260==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30260==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30260==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30260==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30260==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30260==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30260==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30260==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30260==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30260==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30260==    by 0x405E42: main (ex10.c:316)
> > ==30260==
> > ==30258== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30258==    at 0xE11ACDB: writev (writev.c:51)
> > ==30258==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30258==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30258==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30258==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30258==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30258==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30258==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30258==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30258==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30258==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30258==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30258==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x405E42: main (ex10.c:316)
> > ==30258==  Address 0xf61a368 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30258==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30258==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30258==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30258==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30258==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30258==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30258==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30258==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x405E42: main (ex10.c:316)
> > ==30258==  Uninitialised value was created by a heap allocation
> > ==30258==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30258==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30258==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30258==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30258==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30258==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30258==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30258==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30258==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30258==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30258==    by 0x405E42: main (ex10.c:316)
> > ==30258==
> > ==30256== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30256==    at 0xE11ACDB: writev (writev.c:51)
> > ==30256==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30256==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30256==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30256==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30256==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30256==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30256==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30256==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30256==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30256==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30256==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30256==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x405E42: main (ex10.c:316)
> > ==30256==  Address 0xf621318 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30256==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30256==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30256==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30256==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30256==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30256==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30256==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30256==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x405E42: main (ex10.c:316)
> > ==30256==  Uninitialised value was created by a heap allocation
> > ==30256==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30256==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30256==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30256==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30256==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30256==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30256==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30256==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30256==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30256==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30256==    by 0x405E42: main (ex10.c:316)
> > ==30256==
> > ==30263== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30263==    at 0xE11ACDB: writev (writev.c:51)
> > ==30263==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30263==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30263==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30263==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30263==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30263==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30263==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30263==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30263==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30263==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30263==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30263==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x405E42: main (ex10.c:316)
> > ==30263==  Address 0xf612b98 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30263==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30263==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30263==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30263==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30263==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30263==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30263==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30263==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x405E42: main (ex10.c:316)
> > ==30263==  Uninitialised value was created by a heap allocation
> > ==30263==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30263==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30263==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30263==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30263==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30263==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30263==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30263==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30263==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30263==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30263==    by 0x405E42: main (ex10.c:316)
> > ==30263==
> > ==30261== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30261==    at 0xE11ACDB: writev (writev.c:51)
> > ==30261==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30261==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30261==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30261==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30261==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30261==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30261==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30261==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30261==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30261==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30261==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30261==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x405E42: main (ex10.c:316)
> > ==30261==  Address 0xf612f58 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30261==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30261==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30261==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30261==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30261==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30261==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30261==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30261==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x405E42: main (ex10.c:316)
> > ==30261==  Uninitialised value was created by a heap allocation
> > ==30261==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30261==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30261==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30261==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30261==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30261==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30261==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30261==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30261==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30261==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30261==    by 0x405E42: main (ex10.c:316)
> > ==30261==
> > ==30259== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30259==    at 0xE11ACDB: writev (writev.c:51)
> > ==30259==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30259==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30259==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30259==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30259==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30259==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30259==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30259==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30259==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30259==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30259==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30259==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x405E42: main (ex10.c:316)
> > ==30259==  Address 0xf615468 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30259==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30259==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30259==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30259==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30259==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30259==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30259==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30259==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x405E42: main (ex10.c:316)
> > ==30259==  Uninitialised value was created by a heap allocation
> > ==30259==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30259==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30259==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30259==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30259==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30259==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30259==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30259==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30259==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30259==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30259==    by 0x405E42: main (ex10.c:316)
> > ==30259==
> > ==30257== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30257==    at 0xE11ACDB: writev (writev.c:51)
> > ==30257==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30257==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30257==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30257==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30257==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30257==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30257==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30257==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30257==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30257==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30257==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30257==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x405E42: main (ex10.c:316)
> > ==30257==  Address 0xf615c38 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30257==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30257==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30257==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30257==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30257==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30257==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30257==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30257==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x6013E35: PCSetUp_Redu
> ndant (redundant.c:171)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x405E42: main (ex10.c:316)
> > ==30257==  Uninitialised value was created by a heap allocation
> > ==30257==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30257==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30257==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30257==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30257==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30257==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30257==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30257==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30257==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30257==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30257==    by 0x405E42: main (ex10.c:316)
> > ==30257==
> 20a1041,1484
> > ==30314== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30314==    at 0xE11ACDB: writev (writev.c:51)
> > ==30314==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30314==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30314==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30314==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30314==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30314==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30314==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30314==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30314==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30314==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30314==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30314==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x405E42: main (ex10.c:316)
> > ==30314==  Address 0xf61a5e8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30314==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30314==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30314==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30314==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30314==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30314==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30314==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30314==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x405E42: main (ex10.c:316)
> > ==30314==  Uninitialised value was created by a heap allocation
> > ==30314==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30314==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30314==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30314==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30314==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30314==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30314==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30314==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30314==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30314==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30314==    by 0x405E42: main (ex10.c:316)
> > ==30314==
> > ==30308== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30308==    at 0xE11ACDB: writev (writev.c:51)
> > ==30308==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30308==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30308==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30308==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30308==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30308==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30308==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30308==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30308==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30308==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30308==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30308==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x405E42: main (ex10.c:316)
> > ==30308==  Address 0xf60ee88 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30308==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30308==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30308==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30308==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30308==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30308==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30308==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30308==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x405E42: main (ex10.c:316)
> > ==30308==  Uninitialised value was created by a heap allocation
> > ==30308==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30308==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30308==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30308==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30308==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30308==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30308==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30308==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30308==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30308==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30308==    by 0x405E42: main (ex10.c:316)
> > ==30308==
> > ==30311== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30311==    at 0xE11ACDB: writev (writev.c:51)
> > ==30311==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30311==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30311==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30311==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30311==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30311==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30311==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30311==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30311==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30311==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30311==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30311==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x405E42: main (ex10.c:316)
> > ==30311==  Address 0xf60b8e8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30311==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30311==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30311==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30311==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30311==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30311==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30311==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30311==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x405E42: main (ex10.c:316)
> > ==30311==  Uninitialised value was created by a heap allocation
> > ==30311==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30311==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30311==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30311==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30311==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30311==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30311==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30311==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30311==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30311==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30311==    by 0x405E42: main (ex10.c:316)
> > ==30311==
> > ==30315== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30315==    at 0xE11ACDB: writev (writev.c:51)
> > ==30315==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30315==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30315==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30315==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30315==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30315==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30315==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30315==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30315==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30315==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30315==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30315==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x405E42: main (ex10.c:316)
> > ==30315==  Address 0xf611828 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30315==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30315==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30315==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30315==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30315==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30315==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30315==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30315==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x405E42: main (ex10.c:316)
> > ==30315==  Uninitialised value was created by a heap allocation
> > ==30315==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30315==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30315==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30315==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30315==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30315==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30315==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30315==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30315==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30315==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30315==    by 0x405E42: main (ex10.c:316)
> > ==30315==
> > ==30309== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30309==    at 0xE11ACDB: writev (writev.c:51)
> > ==30309==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30309==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30309==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30309==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30309==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30309==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30309==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==30309==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30309==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30309==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30309==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30312== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30309==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==  Address 0xf772038 is 8 bytes inside a block of size 520
> alloc'd
> > ==30309==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30309==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30309==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30309==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30309==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30309==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30309==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30309==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30309==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30309==    by 0x406122: main (ex10.c:336)
> > ==30309==  Uninitialised value was created by a heap allocation
> > ==30309==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30309==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30309==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30309==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30309==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30309==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30309==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30309==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30309==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30309==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30309==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30309==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30309==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30309==    by 0x406122: main (ex10.c:336)
> > ==30309==
> > ==30310== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30310==    at 0xE11ACDB: writev (writev.c:51)
> > ==30313== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30313==    at 0xE11ACDB: writev (writev.c:51)
> > ==30313==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30313==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30313==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30313==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30313==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30313==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30313==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==30313==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30313==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30313==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30313==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30313==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==  Address 0xf7904c8 is 8 bytes inside a block of size 712
> alloc'd
> > ==30313==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30313==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30313==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30313==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30313==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30313==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30313==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30313==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30313==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30313==    by 0x406122: main (ex10.c:336)
> > ==30313==  Uninitialised value was created by a heap allocation
> > ==30313==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30313==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30313==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30313==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30313==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30313==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30313==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30313==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30313==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30313==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30313==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30313==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30313==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30313==    by 0x406122: main (ex10.c:336)
> > ==30313==
> > ==30310==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30310==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30310==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30310==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30310==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30310==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30310==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==30310==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30310==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30312==    at 0xE11ACDB: writev (writev.c:51)
> > ==30312==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30310==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30312==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30310==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30312==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30312==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==30310==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30312==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30312==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30310==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==  Address 0xf7908f8 is 8 bytes inside a block of size 712
> alloc'd
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30312==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30310==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==  Address 0xfb11898 is 8 bytes inside a block of size 520
> alloc'd
> > ==30310==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30312==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30310==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30312==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30312==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30310==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30312==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30312==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30310==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30312==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30312==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30310==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30312==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30312==    by 0x406122: main (ex10.c:336)
> > ==30312==  Uninitialised value was created by a heap allocation
> > ==30312==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30310==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30312==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30312==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30312==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30312==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30312==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30312==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30312==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30310==    by 0x406122: main (ex10.c:336)
> > ==30312==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30312==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30312==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30310==  Uninitialised value was created by a heap allocation
> > ==30312==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30312==    by 0x406122: main (ex10.c:336)
> > ==30312==
> > ==30310==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30310==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30310==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30310==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30310==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30310==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30310==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30310==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30310==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30310==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30310==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30310==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30310==    by 0x406122: main (ex10.c:336)
> > ==30310==
> 24a1489,1692
> > ==30367== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30367==    at 0xE11ACDB: writev (writev.c:51)
> > ==30371== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30367==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30367==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30367==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30367==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30367==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30367==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30367==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30367==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30367==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30367==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30367==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30367==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x405E42: main (ex10.c:316)
> > ==30371==    at 0xE11ACDB: writev (writev.c:51)
> > ==30367==  Address 0xf608dc8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30367==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30367==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30367==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30367==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30367==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30367==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30367==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30367==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x405E42: main (ex10.c:316)
> > ==30367==  Uninitialised value was created by a heap allocation
> > ==30367==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30367==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30367==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30367==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30367==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30367==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30367==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30367==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30367==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30367==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30367==    by 0x405E42: main (ex10.c:316)
> > ==30367==
> > ==30371==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30371==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30371==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30371==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30371==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30371==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30371==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30371==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30371==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30371==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30371==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30371==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x405E42: main (ex10.c:316)
> > ==30371==  Address 0xf6067a8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30371==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30371==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30371==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30371==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30371==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30371==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30371==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30371==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x405E42: main (ex10.c:316)
> > ==30371==  Uninitialised value was created by a heap allocation
> > ==30371==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30371==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30371==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30371==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30371==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30371==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30371==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30371==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30371==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30371==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30371==    by 0x405E42: main (ex10.c:316)
> > ==30371==
> > ==30374== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30374==    at 0xE11ACDB: writev (writev.c:51)
> > ==30374==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30374==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30374==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30374==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30370== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30370==    at 0xE11ACDB: writev (writev.c:51)
> > ==30374==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30370==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30370==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30370==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30370==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30370==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30370==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30370==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30370==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30370==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30370==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30370==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30370==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x405E42: main (ex10.c:316)
> > ==30370==  Address 0xf5fc5e8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30370==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30370==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30370==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30370==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30370==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30370==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30370==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30370==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x405E42: main (ex10.c:316)
> > ==30370==  Uninitialised value was created by a heap allocation
> > ==30370==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30370==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30370==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30370==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30370==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30370==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30370==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30370==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30370==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30370==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30370==    by 0x405E42: main (ex10.c:316)
> > ==30370==
> > ==30374==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30374==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30374==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30374==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30374==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30374==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30374==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x405E42: main (ex10.c:316)
> > ==30374==  Address 0xf5fa468 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30374==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30374==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30374==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30374==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30374==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30374==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30374==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30374==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x405E42: main (ex10.c:316)
> > ==30374==  Uninitialised value was created by a heap allocation
> > ==30374==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30374==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30374==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30374==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30374==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30374==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30374==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30374==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30374==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30374==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30374==    by 0x405E42: main (ex10.c:316)
> > ==30374==
> 28a1697,1909
> > ==30420== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30420==    at 0xE11ACDB: writev (writev.c:51)
> > ==30420==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30420==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30420==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30420==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30420==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30420==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30420==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30420==    by 0x67A0BCF: pdgstrf (pdgstrf.c:981)
> > ==30420==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30420==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30420==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30420==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x405E42: main (ex10.c:316)
> > ==30420==  Address 0xf5f10b8 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30420==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30420==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30420==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30420==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30420==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30420==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30420==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30420==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x405E42: main (ex10.c:316)
> > ==30420==  Uninitialised value was created by a heap allocation
> > ==30420==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30420==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30420==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30420==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30420==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30420==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30420==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30420==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30420==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30420==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30420==    by 0x405E42: main (ex10.c:316)
> > ==30420==
> > ==30423== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30423==    at 0xE11ACDB: writev (writev.c:51)
> > ==30423==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30423==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30423==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30423==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30423==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30423==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30423==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30423==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30423==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30423==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30423==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30423==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x405E42: main (ex10.c:316)
> > ==30423==  Address 0xf5dd228 is 8 bytes inside a block of size 131,072
> alloc'd
> > ==30423==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30423==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30423==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30423==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30423==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30423==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30423==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30423==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x405E42: main (ex10.c:316)
> > ==30423==  Uninitialised value was created by a heap allocation
> > ==30423==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30423==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30423==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30423==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30423==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30423==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30423==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30423==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30423==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30423==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30423==    by 0x405E42: main (ex10.c:316)
> > ==30423==
> > ==30427== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30427==    at 0xE11ACDB: writev (writev.c:51)
> > ==30427==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30427==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30427==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30427==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30427==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30427==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30427==    by 0x67A605A: pdgstrf2_trsm (pdgstrf2.c:199)
> > ==30427==    by 0x67A11C7: pdgstrf (pdgstrf.c:1084)
> > ==30427==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30427==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30427==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30427==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x405E42: main (ex10.c:316)
> > ==30427==  Address 0xf5d79d8 is 72 bytes inside a block of size 131,072
> alloc'd
> > ==30427==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30427==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30427==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30427==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30427==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30427==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30427==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30427==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x405E42: main (ex10.c:316)
> > ==30427==  Uninitialised value was created by a heap allocation
> > ==30427==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30427==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30427==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30427==    by 0x67A022E: pdgstrf (pdgstrf.c:737)
> > ==30427==    by 0x6787708: pdgssvx (pdgssvx.c:1109)
> > ==30427==    by 0x58C32E4: MatLUFactorNumeric_SuperLU_DIST
> (superlu_dist.c:421)
> > ==30427==    by 0x591B10A: MatLUFactorNumeric (matrix.c:2946)
> > ==30427==    by 0x5E581F6: PCSetUp_LU (lu.c:164)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x6013E35: PCSetUp_Redundant (redundant.c:171)
> > ==30427==    by 0x5DA8CFA: PCSetUp (precon.c:984)
> > ==30427==    by 0x6023C6F: KSPSetUp (itfunc.c:390)
> > ==30427==    by 0x405E42: main (ex10.c:316)
> > ==30427==
> > ==30424== Syscall param writev(vector[...]) points to uninitialised
> byte(s)
> > ==30424==    at 0xE11ACDB: writev (writev.c:51)
> > ==30424==    by 0xDAC9596: MPL_large_writev (mplsock.c:32)
> > ==30424==    by 0xDAB8DC9: MPIDU_Sock_writev (sock_immed.i:610)
> > ==30424==    by 0xDA739CD: MPIDI_CH3_iSendv (ch3_isendv.c:84)
> > ==30424==    by 0xDA43948: MPIDI_CH3_EagerContigIsend (ch3u_eager.c:556)
> > ==30424==    by 0xDA58574: MPID_Isend (mpid_isend.c:138)
> > ==30424==    by 0xD930ED8: PMPI_Isend (isend.c:125)
> > ==30424==    by 0x67A8198: pdgstrs (pdgstrs.c:717)
> > ==30424==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30424==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30424==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30424==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30424==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==  Address 0xf745788 is 8 bytes inside a block of size 336
> alloc'd
> > ==30424==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30424==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30424==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30424==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30424==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30424==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30424==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30424==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30424==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30424==    by 0x406122: main (ex10.c:336)
> > ==30424==  Uninitialised value was created by a heap allocation
> > ==30424==    at 0x4C2B6CD: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==30424==    by 0x67B5CBD: superlu_malloc_dist (memory.c:108)
> > ==30424==    by 0x6785666: doubleMalloc_dist (dmemory_dist.c:145)
> > ==30424==    by 0x67A7A0F: pdgstrs (pdgstrs.c:580)
> > ==30424==    by 0x6787E75: pdgssvx (pdgssvx.c:1260)
> > ==30424==    by 0x58BE3A4: MatSolve_SuperLU_DIST (superlu_dist.c:170)
> > ==30424==    by 0x591E6DB: MatSolve (matrix.c:3178)
> > ==30424==    by 0x5E58FA5: PCApply_LU (lu.c:213)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30424==    by 0x6014529: PCApply_Redundant (redundant.c:198)
> > ==30424==    by 0x5DA1EC1: PCApply (precon.c:484)
> > ==30424==    by 0x6131991: KSP_PCApply (kspimpl.h:244)
> > ==30424==    by 0x613225F: KSPSolve_PREONLY (preonly.c:27)
> > ==30424==    by 0x6026542: KSPSolve (itfunc.c:651)
> > ==30424==    by 0x406122: main (ex10.c:336)
> > ==30424==
> /sandbox/petsc/petsc.clone/src/ksp/ksp/examples/tutorials
> Possible problem with ex10_superlu_dist_redundant, diffs above
> =========================================
> ******* Testing: testexamples_CHACO *******
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160116/086a3df6/attachment.html>


More information about the petsc-dev mailing list