adamantine-sim / adamantine

Software to simulate heat transfer for additive manufacturing
https://adamantine-sim.github.io/adamantine/
Other
39 stars 11 forks source link

Add localization for DA #137

Closed stvdwtt closed 2 years ago

stvdwtt commented 2 years ago

This removes the last dense matrix operations in DataAssimilator by adding support for localization. As expected, this permits much larger meshes (at least 8x, I haven't tried larger yet), depending on the localization cutoff length.

stvdwtt commented 2 years ago

I'm looking into the integration test error and will push a fix when I have a chance. I think it might be just that I changed the test input file to be a larger problem and to include localization, but that messed with the expected integration test result.

Rombur commented 2 years ago

Still times out

stvdwtt commented 2 years ago

Odd -- I'll take a closer look at it this afternoon.

Rombur commented 2 years ago

Still times out but it goes further. We have two choices:

What do you think?

stvdwtt commented 2 years ago

I was able to trim the DA integration test runtime by a factor of two (at least on my machine), so hopefully that won't be an issue anymore. I also added the "-j 4" flag to the ctest command as you suggested. If we think there could still be some issues I can split up the integration tests, but for now I was going for the lightest touch that would work.

(And even though I had a commit that upped the timeout to 3h, I backed it down to 2h in the latest commit -- it just seems unreasonable to have tests that run for that long.)