[petsc-users] Petsc reread options file and FIELDSPLIT null size
Matthew Knepley
knepley at gmail.com
Wed Feb 24 06:53:24 CST 2016
On Wed, Feb 24, 2016 at 3:16 AM, Hoang Giang Bui <hgbk2008 at gmail.com> wrote:
> Hello
>
> Is it possible to reread the options file since I like to experiment
> different solver configuration during time stepping?
>
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsInsertFile.html#PetscOptionsInsertFile
> In addition, I got an error with FIELDSPLIT when a split has zero size
> (That happens in the first step when one field is disabled). Below is the
> error message on the proc 0:
>
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Caught signal number 8 FPE: Floating Point
> Exception,probably divide by zero
> [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
> [0]PETSC ERROR: or see
> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
> [0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS
> X to find memory corruption errors
> [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and
> run
> [0]PETSC ERROR: to get more information on the crash.
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Signal received
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> [0]PETSC ERROR: Petsc Release Version 3.6.3, Dec, 03, 2015
> [0]PETSC ERROR: python on a arch-linux2-cxx-opt named bermuda by hbui Wed
> Feb 24 10:00:34 2016
> [0]PETSC ERROR: Configure options --with-shared-libraries
> --with-debugging=0 --with-pic --with-clanguage=cxx
> --download-fblas-lapack=yes --download-ptscotch=yes --download-metis=yes
> --download-parmetis=yes --download-scalapack=yes --download-mumps=yes
> --download-hypre=yes --download-ml=yes --download-klu=yes
> --download-pastix=yes --with-mpi-dir=/opt/openmpi-1.10.1
> --prefix=/home/hbui/opt/petsc-3.6.3
> [0]PETSC ERROR: #1 User provided function() line 0 in unknown file
>
The SEGV does not occur in PETSc code, but rather your code, as this stack
trace shows.
Thanks,
Matt
>
> Do you have any comments?
>
> Giang
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160224/1f214e3e/attachment-0001.html>
More information about the petsc-users
mailing list