<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div> I think you have to admit that <div><br></div><div><div>[bsmith-laptop:snes/examples/tutorials] barrysmith% petscmpiexec -n 5 ./ex19 -pc_type ilu</div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[0]PETSC ERROR: Argument out of range!</div><div>[0]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[0]PETSC ERROR: See docs/index.html for manual pages.</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:10:42 2010</div><div>[0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[0]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[0]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[0]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[cli_0]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>Killed (signal 9)</div><div><br></div><div> I s a much better message than </div><div><br></div><div><br></div><div><div>[bsmith-laptop:snes/examples/tutorials] barrysmith% petscmpiexec -n 5 ./ex19 -pc_type ilu</div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[0]PETSC ERROR: Argument out of range!</div><div>[0]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[0]PETSC ERROR: See docs/index.html for manual pages.</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[0]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[0]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[0]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[cli_0]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[1]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[1]PETSC ERROR: Argument out of range!</div><div>[1]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[1]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[1]PETSC ERROR: See docs/index.html for manual pages.</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[1]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[1]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[1]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[1]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[1]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[1]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[1]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[1]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1</div><div>[cli_1]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1</div><div>[2]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[2]PETSC ERROR: Argument out of range!</div><div>[2]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[2]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[2]PETSC ERROR: See docs/index.html for manual pages.</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[2]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[2]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[2]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[2]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[2]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[2]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[2]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[2]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 2</div><div>[cli_2]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 2</div><div>[4]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[4]PETSC ERROR: Argument out of range!</div><div>[4]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[4]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[4]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[4]PETSC ERROR: See docs/index.html for manual pages.</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[4]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[4]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[4]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[4]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[4]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[4]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[4]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[4]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 4</div><div>[cli_4]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 4</div><div>[3]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[3]PETSC ERROR: Argument out of range!</div><div>[3]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[3]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[3]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[3]PETSC ERROR: See docs/index.html for manual pages.</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[3]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[3]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[3]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[3]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[3]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[3]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[3]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[3]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 3</div><div>[cli_3]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 3</div><div><br></div></div><div><div>[bsmith-laptop:snes/examples/tutorials] barrysmith% petscmpiexec -n 5 ./ex19 -pc_type ilu</div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[0]PETSC ERROR: Argument out of range!</div><div>[0]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[0]PETSC ERROR: See docs/index.html for manual pages.</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[0]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[0]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[0]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[0]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[0]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[cli_0]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[1]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[1]PETSC ERROR: Argument out of range!</div><div>[1]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[1]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[1]PETSC ERROR: See docs/index.html for manual pages.</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[1]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[1]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[1]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div>[1]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[1]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[1]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[1]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[1]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[1]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1</div><div>[cli_1]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1</div><div>[2]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[2]PETSC ERROR: Argument out of range!</div><div>[2]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[2]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[2]PETSC ERROR: See docs/index.html for manual pages.</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[2]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[2]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[2]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[2]PETSC ERROR: ------------------------------------------------------------------------</div><div>[2]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[2]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[2]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[2]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[2]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[2]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 2</div><div>[cli_2]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 2</div><div>[4]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[4]PETSC ERROR: Argument out of range!</div><div>[4]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[4]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[4]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[4]PETSC ERROR: See docs/index.html for manual pages.</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[4]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[4]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[4]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[4]PETSC ERROR: ------------------------------------------------------------------------</div><div>[4]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[4]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[4]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[4]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[4]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[4]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 4</div><div>[cli_4]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 4</div><div>[3]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[3]PETSC ERROR: Argument out of range!</div><div>[3]PETSC ERROR: Partition in y direction is too fine! 4 5!</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: Petsc Development HG revision: c1b45858b86e4eb019634112f9645ee58d756dfa HG Date: Thu May 06 11:15:08 2010 -0500</div><div>[3]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[3]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[3]PETSC ERROR: See docs/index.html for manual pages.</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: ./ex19 on a arch-gnu named <a href="http://anlextwls002-207.wl.anl-external.org">anlextwls002-207.wl.anl-external.org</a> by barrysmith Fri May 7 15:05:55 2010</div><div>[3]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib</div><div>[3]PETSC ERROR: Configure run at Thu May 6 12:52:19 2010</div><div>[3]PETSC ERROR: Configure options --download-scalapack --download-mpich --download-parmetis --download-mumps PETSC_ARCH=arch-gnu --download-superlu_dist --download-hypre --download-blacs --with-fc="gfortran -m64"</div><div>[3]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3]PETSC ERROR: DACreate_2D() line 1342 in src/dm/da/src/da2.c</div><div>[3]PETSC ERROR: DASetType() line 48 in src/dm/da/src/dareg.c</div><div>[3]PETSC ERROR: DASetTypeFromOptions_Private() line 65 in src/dm/da/src/dacreate.c</div><div>[3]PETSC ERROR: DASetFromOptions() line 131 in src/dm/da/src/dacreate.c</div><div>[3]PETSC ERROR: DACreate2d() line 1847 in src/dm/da/src/da2.c</div><div>[3]PETSC ERROR: main() line 107 in src/snes/examples/tutorials/ex19.c</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 3</div><div>[cli_3]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 3</div><div><br></div></div><div>x</div><div><div>On May 7, 2010, at 1:24 PM, Barry Smith wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 7, 2010, at 1:04 PM, Matthew Knepley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Thu, May 6, 2010 at 10:16 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I'd like to add a MPI_Comm as the first argument to PetscError() and friends.<br>
<br>
In this way, if the same error is known over all the communicator ranks it can print just one nice error message and stack instead of spewing out many of the same messages all over the place.<br>
<br>
Does anyone object to this?<br></blockquote><div><br></div><div>I am just worried that it will introduce deadlocks. If an error occurs on only one process</div><div>and not another (like a NaN), but we use the entire communicator, we can get deadlock</div>
<div>on the error message which will be very confusing. </div></div></blockquote><div><br></div> The idea is that by default we would pass in PETSC_COMM_SELF. Only when we KNOW 100% that ALL ranks in a process WILL FOR ABSOLUTE sure generate the same error would be pass the entire comm to SETERRQ() For example, if the user has set an invalid PC type etc. So a process generating a NAN would use only a PETSC_COMM_SELF in the SETERRQ().</div><div><br></div><div> You are right that there is a chance when totally bizarre shit happens that rank 1 of a comm calls SETERRQ() but rank 0 does not; then no appropriate error message will be printed. I don't see a way to totally avoid this chance. So we can</div><div><br></div><div>1) ignore this chance and make the change and see what happens</div><div>2) leave things the same as they are now.</div><div><br></div><div> Even if it turns out we cannot have only rank 0 of the SETERRQ() print the message because bizarre shit happens too often, I think conceptually it is the right thing to do to pass in the MPI_Comm over which the error happens. So I'd like to make the chance and we can always take out the control over printing by rank 0 if it is a problem (i.e. the default error handles could ignore the comm).</div><div><br></div><div> I'm going to try this and see if I can work out the kinks before pushing.</div><div><br><blockquote type="cite"><div class="gmail_quote"><div>Is there a nice MPI way of checking</div><div>whether everyone is present, and if not then just use the current method?</div></div></blockquote><div><br></div> No, absolutely not since that would require communication with everyone who may not be there.</div><div><br></div><div> Barry</div><div><br><blockquote type="cite"><div class="gmail_quote"><div><br></div><div> Matt</div><div> </div>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">
It does mean for each SETERRQXXX() we call we need to select the correct comm that is passed in. I will do all that, worst case just use MPI_COMM_SELF for some and get the same effect as today.<br>
<font color="#888888">
<br>
Barry<font class="Apple-style-span"><font class="Apple-style-span" color="#888888"><br></font></font></font></blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>
</blockquote></div><br></div></blockquote></div><br></div></body></html>