Re: [petsc-users] coloring algorithms

2017-03-23 Thread Barry Smith
> On Mar 23, 2017, at 5:35 PM, Kong, Fande wrote: > > Thanks, Barry, > > On Thu, Mar 23, 2017 at 4:02 PM, Barry Smith wrote: > > Please send the matrix as a binary file. > >Are you computing a distance one coloring or distance 2. 2 is needed for

Re: [petsc-users] coloring algorithms

2017-03-23 Thread Kong, Fande
Thanks, Barry, On Thu, Mar 23, 2017 at 4:02 PM, Barry Smith wrote: > > Please send the matrix as a binary file. > >Are you computing a distance one coloring or distance 2. 2 is needed > for Jacobians. > The matrix does not come from PDE, and it is from a

Re: [petsc-users] coloring algorithms

2017-03-23 Thread Barry Smith
Please send the matrix as a binary file. Are you computing a distance one coloring or distance 2. 2 is needed for Jacobians. > On Mar 23, 2017, at 4:57 PM, Kong, Fande wrote: > > Thanks, Hong, > > I did some tests with a matrix (40x40): > > row 0: (0, 1.) (2, 1.)

Re: [petsc-users] coloring algorithms

2017-03-23 Thread Kong, Fande
Thanks, Hong, I did some tests with a matrix (40x40): *row 0: (0, 1.) (2, 1.) (3, 1.) (11, 1.) (14, 1.) (15, 1.) (19, 1.) (22, 1.) (23, 1.) (24, 1.) (27, 1.) (28, 1.) row 1: (1, 1.) (2, 1.) (3, 1.) (6, 1.) (16, 1.) (17, 1.) (18, 1.) (21, 1.)

Re: [petsc-users] coloring algorithms

2017-03-23 Thread Hong
> > Fande, > > I was wondering if the coloring approaches listed online are working? > Which ones are in parallel, and which ones are in sequential? > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/ > MatColoringType.html#MatColoringType > JP and Greedy are parallel. > > If

[petsc-users] coloring algorithms

2017-03-23 Thread Kong, Fande
Hi All, I was wondering if the coloring approaches listed online are working? Which ones are in parallel, and which ones are in sequential? http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatColoringType.html#MatColoringType If the coloring is in parallel, can it be used with