[petsc-dev] errors for /petsc/src/ts/examples/tutorials/ex29.c

Jed Brown jed at jedbrown.org
Thu Sep 15 23:14:39 CDT 2016


Lulu Liu <lulu.liu at kaust.edu.sa> writes:

> Hi,
>
> How to fix this errors? Thanks!
>
> mpirun -n 4 ./ex29 -da_refine 4 -ts_max_steps 10 -ts_rtol 1e-3 -ts_atol
> 1e-3 -ts_type arkimex -ts_monitor -snes_monitor -snes_type aspin
> -da_processors_x 2 -da_processors_y 2 -snes_type aspin -ts_max_steps 3

I think it is incorrect for DMDAGetReducedDMDA to call DMDACreate2d.  It
should instead call the lower level functions and *not* call
DMSetFromOptions.

> 0 TS dt 0.05 time 0.
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Argument out of range
> [0]PETSC ERROR: Too many processors in X direction: 2 1
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for
> trouble shooting.
> [1]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [1]PETSC ERROR: Argument out of range
> [1]PETSC ERROR: Too many processors in X direction: 2 1
> [1]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for
> trouble shooting.
> [1]PETSC ERROR: Petsc Release Version 3.7.3, unknown
> [1]PETSC ERROR: ./ex29 on a arch-darwin-c-debug named
> 77-59-39-26.dclient.hispeed.ch by lulu Tue Sep 13 22:04:51 2016
> [1]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
> --with-fc=gfortran --download-fblaslapack --download-mpich --download-cmake
> --download-superlu_dist --download-mumps --download-hypre
> --download-scalapack --download-metis --download-parmetis
> --download-superlu --download-triangle --download-exodusii
> --download-netcdf --download-hdf5
> [1]PETSC ERROR: [2]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [2]PETSC ERROR: Argument out of range
> [2]PETSC ERROR: Too many processors in X direction: 2 1
> [2]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for
> trouble shooting.
> [2]PETSC ERROR: Petsc Release Version 3.7.3, unknown
> [2]PETSC ERROR: ./ex29 on a arch-darwin-c-debug named
> 77-59-39-26.dclient.hispeed.ch by lulu Tue Sep 13 22:04:51 2016
> [2]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
> --with-fc=gfortran --download-fblaslapack --download-mpich --download-cmake
> --download-superlu_dist --download-mumps --download-hypre
> --download-scalapack --download-metis --download-parmetis
> --download-superlu --download-triangle --download-exodusii
> --download-netcdf --download-hdf5
> [2]PETSC ERROR: #1 DMSetUp_DA_2D() line 268 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/da2.c
> [0]PETSC ERROR: Petsc Release Version 3.7.3, unknown
> [0]PETSC ERROR: ./ex29 on a arch-darwin-c-debug named
> 77-59-39-26.dclient.hispeed.ch by lulu Tue Sep 13 22:04:51 2016
> [0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
> --with-fc=gfortran --download-fblaslapack --download-mpich --download-cmake
> --download-superlu_dist --download-mumps --download-hypre
> --download-scalapack --download-metis --download-parmetis
> --download-superlu --download-triangle --download-exodusii
> --download-netcdf --download-hdf5
> [0]PETSC ERROR: #1 DMSetUp_DA_2D() line 268 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/da2.c
> [1]PETSC ERROR: #2 DMSetUp_DA() line 25 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dareg.c
> [1]PETSC ERROR: #3 DMSetUp() line 744 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [1]PETSC ERROR: #4 DMDACreate2d() line 866 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/da2.c
> [1]PETSC ERROR: #5 DMDAGetReducedDMDA() line 398 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dacorn.c
> [1]PETSC ERROR: #6 DMCreateCoordinateDM_DA() line 14 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dacorn.c
> [1]PETSC ERROR: #7 DMGetCoordinateDM() line 4293 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [1]PETSC ERROR: #8 DMSubDomainHook_Coordinates() line 3989 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [1]PETSC ERROR: [2]PETSC ERROR: #2 DMSetUp_DA() line 25 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dareg.c
> [2]PETSC ERROR: #3 DMSetUp() line 744 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [2]PETSC ERROR: #4 DMDACreate2d() line 866 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/da2.c
> [2]PETSC ERROR: #5 DMDAGetReducedDMDA() line 398 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dacorn.c
> [2]PETSC ERROR: #6 DMCreateCoordinateDM_DA() line 14 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/impls/da/dacorn.c
> [2]PETSC ERROR: #7 DMGetCoordinateDM() line 4293 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [2]PETSC ERROR: #8 DMSubDomainHook_Coordinates() line 3989 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
> [2]PETSC ERROR: #9 DMCreateDomainDecomposition() line 1592 in
> /Users/lulu/petsc/petsc-3.7.3/petsc/src/dm/interface/dm.c
>
> -- 
>
> ------------------------------
> This message and its contents, including attachments are intended solely 
> for the original recipient. If you are not the intended recipient or have 
> received this message in error, please notify me immediately and delete 
> this message from your computer system. Any unauthorized use or 
> distribution is prohibited. Please consider the environment before printing 
> this email.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160915/6965b2b9/attachment.sig>


More information about the petsc-dev mailing list