<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello everyone,<div class=""><br class=""></div><div class="">I would like to look for help for a small problem. I am trying to create a Hypre ilu(0) preconditioned in Fortran with the following code, where the matrix A_mpi has been created.</div><div class=""><br class=""></div><div class=""><div class="">    call PCCreate(MPI_COMM_WORLD, pcilu0, Ierr)</div><div class="">    CHKERRQ(Ierr)</div><div class="">    call PCSetOperators(pcilu0, A_mpi, A_mpi, Ierr)</div><div class="">    CHKERRQ(Ierr)</div><div class="">    call PCSetType(pcilu0, PCHYPRE, Ierr)</div><div class="">    CHKERRQ(Ierr)</div><div class="">    call PCHYPRESetType(pcilu0, 'euclid', Ierr)</div><div class="">    CHKERRQ(Ierr)</div><div class="">    call PetscOptionsSetValue(pcilu0, '-pc_hypre_euclid_levels', '0', Ierr) </div><div class="">    CHKERRQ(Ierr)</div><div class=""><br class=""></div></div><div class="">But, I got some segmentation errors. I tried to use valgrind, but it doesn’t report any errors. </div><div class=""><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div></div><div class=""><br class=""></div><div class="">Thank you very much!</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">Feng Xing</div><div class="">Postdoc in France</div><div class=""><br class=""></div></body></html>