-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error with batched einsum array context #967
Comments
Forgot to mention: when I look at the two loops mentioned in the error, their lengths correspond to the numbers of elements in the interior faces and on the isothermal boundary. |
I applied @kaushikcfd's fix from inducer/arraycontext#217 and now I can run the full KS 2D case without errors. 🎉 Seeing that PR made me question whether I'm using the right version of the code, though. In my current subpackage config, |
Yay! How are compile times with this transform path? |
Using what's in Kaushik's meshmode branch is the correct approach. As Kaushik says here, he has just "parked" the code in meshmode while it's under review. The code is technically indepenent of meshmode and thus will land in arraycontext, that's why the PRs live there. |
Let's say there's room for improvement, heh. Fusion contractor:
Batched einsum:
Unfortunately it looks like the timestep time is also quite a bit slower at the moment. Fusion contractor:
Batched einsum:
|
When using the batched einsum array context with the prediction driver, the RHS compile produces the following error:
When run without
-O
, it produces a different (but possibly related) error:The error persists with most of the physics turned off, as long as species limiting and the main isothermal boundary both remain enabled (note: the actual boundary condition being applied doesn't seem to matter, I've tried both isothermal and
DummyBoundary
).A reduced Y3 case can be installed/run with the instructions below. It creates a RHS DAG of about 100 nodes and runs in a few minutes.
The text was updated successfully, but these errors were encountered: