Comment 5 for bug 1088175

Revision history for this message
Anders Logg (logg) wrote : Re: [Bug 1088175] [NEW] LinearOperator does not work in parallel

On Sun, Dec 09, 2012 at 02:32:19PM -0000, Garth Wells wrote:
> On Sun, Dec 9, 2012 at 2:01 PM, Anders Logg <email address hidden> wrote:
> > On Sun, Dec 09, 2012 at 01:27:50PM -0000, Garth Wells wrote:
> >> On Sun, Dec 9, 2012 at 1:20 PM, Anders Logg <email address hidden> wrote:
> >> > I can take a look but object to the description. It is indeed written
> >> > to work in parallel. It has also been tested to work in parallel
> >> > before.
> >> >
> >>
> >> Tested where?
> >
> > I thought the unit test was running fine on the buildbots but I see
> > now it was never added to the list of tests (in the main test.py).
> >
>
> The unit test is a special case for which it may run on 3 processes
> because the number of dofs is divisible by 3. In general, the parallel
> layouts will not match.

It doesn't even work for that case. So what happened is that I thought
the test was run on the buildbot and therefore worked in parallel. I
see now why it doesn't work but it should be relatively easy to fix.

--
Anders

> Garth
>
> >
> >> It's clear from the code that it will only work in parallel for very
> >> special cases.
> >> Garth
> >>
> >> >
> >> >
> >> > On Sun, Dec 09, 2012 at 01:00:59PM -0000, Garth Wells wrote:
> >> >> Public bug reported:
> >> >>
> >> >> LinearOperator is not written to work in parallel. It does not respect
> >> >> the parallel layout of matrices and vectors. This leads to crashes.
> >> >>
> >> >> The unit test has been disabled in parallel.
> >> >>
> >> >> ** Affects: dolfin
> >> >> Importance: Undecided
> >> >> Assignee: Anders Logg (logg)
> >> >> Status: New
> >> >>
> >> >> ** Changed in: dolfin
> >> >> Assignee: (unassigned) => Anders Logg (logg)
> >> >>
> >> >
> >> >
> >> > Title:
> >> > LinearOperator does not work in parallel
> >> >
> >> > To manage notifications about this bug go to:
> >> > https://bugs.launchpad.net/dolfin/+bug/1088175/+subscriptions
> >>
> >
> >
> > Title:
> > LinearOperator does not work in parallel
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dolfin/+bug/1088175/+subscriptions
>