Skip to content

Functions on SubDomains throw an error with MPI-full #2547

Description

@EdCaunt

The following MFE fails with DEVITO_MPI='full', even on a single rank.

MFE:

from devito import Grid, SubDomain, Function, Eq, Operator


class SD0(SubDomain):
    name = 'sd0'

    def define(self, dimensions):
        return {d: ('middle', 2, 2) for d in dimensions}


grid = Grid(shape=(11,))
sd0 = SD0(grid=grid)

f = Function(name='f', grid=sd0)
eq = Eq(f, f+1)

Operator(eq)()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions