Skip to content
Snippets Groups Projects
Commit 76b77866 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Small fix due to PETSc 3.3 version.

parent 4800ba78
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment