Michael Povolotskyi <[email protected]> writes:

> Thank you, Barry.
> What I did I changed the call to
>
> ierr = MatCreateMPIDense(comm, m, num_cols 
> ,PETSC_DECIDE,PETSC_DECIDE,data,petsc_matrix)

This is right if 'num_cols' is the local number of columns (i.e., number
of owned entries in a vector x, when computing y = A*x).

Also, the function has been called MatCreateDense() since petsc-3.3, so
please upgrade (to petsc-3.4).

Reply via email to