Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression splitter fails on thetis test #68

Closed
wence- opened this issue May 10, 2016 · 1 comment · Fixed by #69
Closed

Expression splitter fails on thetis test #68

wence- opened this issue May 10, 2016 · 1 comment · Fixed by #69

Comments

@wence-
Copy link
Contributor

wence- commented May 10, 2016

Clone thetis from thetisproject/thetis

Run

py.test "test/swe2d/test_steady_state_channel_mms.py::test_steady_state_channel_mms[pndp(n+1)]"
../../src/deps/COFFEE/coffee/plan.py:110: in _generate_cpu_code
    loop_opt.eliminate_zeros()
../../src/deps/COFFEE/coffee/optimizer.py:163: in eliminate_zeros
    self.nz_syms = zls.reschedule(self.header)
../../src/deps/COFFEE/coffee/scheduler.py:844: in reschedule
    self.exprs.update(elf.fission(stmt, expr_info))
../../src/deps/COFFEE/coffee/scheduler.py:463: in fission
    split, splittable = self.cutter.cut(*splittable)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <coffee.scheduler.CutterSum object at 0x7f2661019650>, node = <coffee.base.Incr object at 0x7f2660e42310>, expr_info = <coffee.expression.MetaExpr object at 0x7f2662468f50>

    def cut(self, node, expr_info):
        left, right = ExpressionFissioner.Cutter.cut(self, node)
        if self._success:
>           index = expr_info.parent.children.index(node)
E           ValueError: <coffee.base.Incr object at 0x7f2660e42310> is not in list

../../src/deps/COFFEE/coffee/scheduler.py:300: ValueError

@wence-
Copy link
Contributor Author

wence- commented May 10, 2016

Possibly similar to the error Onno posted on the firedrake list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant