Commit 76b77866 authored by Thomas Witkowski's avatar Thomas Witkowski

Small fix due to PETSc 3.3 version.

parent 4800ba78
......@@ -71,8 +71,10 @@ namespace AMDiS {
// === Create PETSc matrix with the computed nnz data structure. ===
MatCreateAIJ(mpiCommGlobal, nRankRows, nRankRows,
nOverallRows, nOverallRows,
0, d_nnz, 0, o_nnz, &matIntInt);
nOverallRows, nOverallRows,
0, d_nnz, 0, o_nnz, &matIntInt);
MatSetOption(matIntInt, MAT_NEW_NONZERO_ALLOCATION_ERR, PETSC_FALSE);
#if (DEBUG != 0)
MSG("Fill petsc matrix 1 needed %.5f seconds\n", MPI::Wtime() - wtime);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment