Tpetra: Matrix Market writeSparse assumes input row Map is one to one
Created by: mhoemmen
Tpetra::MatrixMarket::writeSparse (and writeSparseFile) assumes that the input matrix's row Map is one to one (not overlapping). This is because it does an Import from the input matrix, to a matrix with a gathered row Map (all indices on Process 0).
If the gathered row Map is always one to one, we could fix this easily by using an Export instead of an Import.
@vbrunini reported this issue, via CC by @kddevin .