[petsc-users] error while allocating dense distributed matrix

Michael Povolotskyi mpovolot at purdue.edu
Thu Jun 6 16:55:31 CDT 2013


Dear Petsc developers,
petsc gives error with the error code equal to 60 when I'm doing the 
following:

ierr = MatCreateMPIDense(comm, m, num_cols 
,num_rows,num_cols,data,petsc_matrix)

on rank = 0 the gebugger gives:
(gdb) print m
$1 = 240
(gdb) print num_cols
$2 = 18
(gdb) print num_rows
$3 = 360

on rank = 1 the gebugger gives:
ierr = MatCreateMPIDense(comm, m, num_cols 
,num_rows,num_cols,data,petsc_matrix);
(gdb) print m
$1 = 120
(gdb) print num_cols
$2 = 18
(gdb) print num_rows
$3 = 360
(gdb)

Could you, please, tell me what is wrong here?
Thank you,
Michael.


More information about the petsc-users mailing list