[petsc-dev] Fwd: [petsc-users] PCView only for one block ?

Jed Brown jedbrown at mcs.anl.gov
Tue Apr 16 21:54:58 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:

>> FWIW, src/snes/examples/tutorials/ex7.c also produces verbose output.  I
>> understand the desire to show details when someone configures each
>> subdomain differently, but I'd still rather have scalable output by
>> default.
>
>     It doesn't for me. In fact in next it doesn't even run in parallel, is this expected behavior?

Typo.  The example I actually ran was src/ksp/ksp/examples/tutorials/ex7.c.

> ~/Src/petsc/src/snes/examples/tutorials  next $ petscmpiexec -n 2 ./ex7 -snes_view

You're right, this example isn't set up for parallel. I'll add a guard.

> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
> [1]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
> [1]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[1]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
> [1]PETSC ERROR: likely location of problem given in stack below
> [1]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
> [1]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
> [1]PETSC ERROR:       INSTEAD the line number of the start of the function
> [1]PETSC ERROR:       is given.
> [1]PETSC ERROR: [1] FormFunctionLocal line 377 src/snes/examples/tutorials/ex7.c
> [1]PETSC ERROR: [1] SNESComputeFunction_DMDA line 79 /Users/barrysmith/Src/PETSc/src/snes/utils/dmdasnes.c
> [1]PETSC ERROR: [1] SNES user function line 0 unknownunknown
> [1]PETSC ERROR: [1] SNESComputeFunction line 2016 /Users/barrysmith/Src/PETSc/src/snes/interface/snes.c
> [1]PETSC ERROR: [1] SNESSolve_NEWTONLS line 145 /Users/barrysmith/Src/PETSc/src/snes/impls/ls/ls.c
> [1]PETSC ERROR: [1] SNESSolve line 3708 /Users/barrysmith/Src/PETSc/src/snes/interface/snes.c
> [1]PETSC ERROR: --------------------- Error Message ------------------------------------
> [1]PETSC ERROR: Signal received!
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: Petsc Development GIT revision: acc80a61d235fd808c6194a016f8a1e2727e30e4  GIT Date: 2013-04-07 17:28:52 -0500
> [1]PETSC ERROR: See docs/changes/index.html for recent updates.
> [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [1]PETSC ERROR: See docs/index.html for manual pages.
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: ./ex7 on a arch-g++ named Barrys-MacBook-Pro.local by barrysmith Tue Apr 16 21:05:19 2013
> [1]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/PETSc/arch-g++/lib
> [1]PETSC ERROR: Configure run at Sun Apr  7 17:35:21 2013
> [1]PETSC ERROR: Configure options --download-mpich --with-clanguage=c++ --with-dynamic-loading --with-shared-libraries --with-single-library=0 PETSC_ARCH=arch-g++ --with-fc=0
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
> [cli_1]: aborting job:
> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   EXIT CODE: 59
> =   CLEANING UP REMAINING PROCESSES
> =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> ===================================================================================




More information about the petsc-dev mailing list