[petsc-dev] partitioning error

Mark F. Adams mark.adams at columbia.edu
Tue Nov 27 20:42:03 CST 2012


This  'make runex56' with:

~/Codes/petsc-dev/src/ksp/ksp/examples/tutorials>cat .petscrc 
-pc_gamg_repartition true

Appended is one procs error messages.

As I said this does run on the Cray but I have not updated metis on Cray so I suppose it could be a new bug or an architecture specific bug.

BTW, I have an application that fails in repartitioning (different looking error) but I have not been able to reproduce the problem with PETSc tests.

> [1]PETSC ERROR: Invalid argument!
> [1]PETSC ERROR: Row 20 has diagonal entry; Parmetis forbids diagonal entry!
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: Petsc Development HG revision: f1247b2b591d9c8175e5595967e67a14b8376e0d  HG Date: Mon Nov 26 12:57:25 2012 -0600
> [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: [2]PETSC ERROR: --------------------- Error Message ------------------------------------
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: ./ex56 on a arch-maco named localhost by markadams Tue Nov 27 21:35:05 2012
> [1]PETSC ERROR: Libraries linked from /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-g/lib
> [1]PETSC ERROR: Configure run at Mon Nov 26 14:29:24 2012
> [1]PETSC ERROR: Configure options CXX=g++ CC=gcc FC=gfortran --download-hypre=1 --download-ml=1 --download-parmetis=1 --download-metis=1 --download-hdf5=1 --download-triangle=1 --with-x=0 --with-debugging=1 --download-mpich=1 PETSC_ARCH=arch-macosx-gnu-g
> [1]PETSC ERROR: ------------------------------------------------------------------------
> [1]PETSC ERROR: MatPartitioningApply_Parmetis() line 71 in /Users/markadams/Codes/petsc-dev/src/mat/partition/impls/pmetis/pmetis.c
> [1]PETSC ERROR: MatPartitioningApply() line 228 in /Users/markadams/Codes/petsc-dev/src/mat/partition/partition.c
> [1]PETSC ERROR: createLevel() line 281 in /Users/markadams/Codes/petsc-dev/src/ksp/pc/impls/gamg/gamg.c
> [1]PETSC ERROR: PCSetUp_GAMG() line 746 in /Users/markadams/Codes/petsc-dev/src/ksp/pc/impls/gamg/gamg.c
> Configure options CXX=g++ CC=gcc FC=gfortran --download-hypre=1 --download-ml=1 --download-parmetis=1 --download-metis=1 --download-hdf5=1 --download-triangle=1 --with-x=0 --with-debugging=1 --download-mpich=1 PETSC_ARCH=arch-macosx-gnu-g
> [1]PETSC ERROR: PCSetUp() line 832 in /Users/markadams/Codes/petsc-dev/src/ksp/pc/interface/precon.c
> [1]PETSC ERROR: KSPSetUp() line 276 in /Users/markadams/Codes/petsc-dev/src/ksp/ksp/interface/itfunc.c
> [1]PETSC ERROR: main() line 259 in src/ksp/ksp/examples/tutorials/ex56.c


On Nov 27, 2012, at 6:39 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> What options did you run with? Do you have the full error message?
> 
> 
> On Mon, Nov 26, 2012 at 1:45 PM, Mark F. Adams <mark.adams at columbia.edu> wrote:
> I'm running ex56 on my Mac with repartitioning and get the appended error.
> 
> I tried this on a Cray and it runs fine.  I deleted metis and parmetis on my mac and reconfigured and still got the same error.
> 
> Any ideas?
> 
> Mark
> 
> > [1]PETSC ERROR: --------------------- Error Message ------------------------------------
> > [1]PETSC ERROR: Invalid argument!
> > [1]PETSC ERROR: Row 20 has diagonal entry; Parmetis forbids diagonal entry!
> > [1]PETSC ERROR: ------------------------------------------------------------------------
> > [1]PETSC ERROR: Petsc Development HG revision: f1247b2b591d9c8175e5595967e67a14b8376e0d  HG Date: Mon Nov 26 12:57:25 2012 -0600
> > [1]PETSC ERROR: See docs/changes/index.html for recent updates.
> > [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121127/1e1d97e4/attachment.html>


More information about the petsc-dev mailing list