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.

Reply via email to