You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
The data not received from kernel error appears when running Navier-Stokes inviscid flow simulation.
Testing
"Works" here means that the simulation successfully renders on the frontend. On Chromium, Ico6@t=10 works, but ico7@t=10 does not, but Ico7@t=1 does. On Firefox, Ico7@t=10 and Ico8@t=1 work.
Root Cause
I'm led to believe by this source that this is a constraint imposed by browsers. This explains why Firefox was able to render the outputs of larger simulations.
Proposed Solution
My initial guess is that there needs to be a batching mechanism in place, probably on the SimResult struct.
The text was updated successfully, but these errors were encountered:
We could send the data in batches, rather than all at once, but that's gonna add a lot of extra complexity to an already nontrivial communication between frontend and kernel.
I'd suggest we start with something easier, namely capping the total number of real numbers that will be returned to the frontend. We can do this by downsampling in space and/or time. This isn't crazy because the visualization has limited discernible spatial resolution, and we already know that the temporal resolution is too high because we're currently only showing every fifth time point! (A bad hack that I feel bad about, added by me during the manic demo prep.)
For example, we could set a maximum length for each of the x, y, and time dimensions, and then if the number of points returned by the simulator exceeds the number, we downsample uniformly in that direction before returning the data from the Julia process.
This would be a significant departure from the "generate simulation data and have CatColab visualize it," but would we bypass this problem if we generated the visualization .gif/.mp4 on the Julia-side?
Issue
The
data not received from kernel
error appears when running Navier-Stokes inviscid flow simulation.Testing
"Works" here means that the simulation successfully renders on the frontend. On Chromium, Ico6@t=10 works, but ico7@t=10 does not, but Ico7@t=1 does. On Firefox, Ico7@t=10 and Ico8@t=1 work.
Root Cause
I'm led to believe by this source that this is a constraint imposed by browsers. This explains why Firefox was able to render the outputs of larger simulations.
Proposed Solution
My initial guess is that there needs to be a batching mechanism in place, probably on the
SimResult
struct.The text was updated successfully, but these errors were encountered: