MFlowCode / MFC

Exascale simulation of multiphase/physics fluid dynamics
https://mflowcode.github.io
MIT License
132 stars 56 forks source link

Silo: Reference official LLNL/Silo repository #422

Closed henryleberre closed 1 month ago

henryleberre commented 1 month ago

Description

Currently, Silo is fetched from my fork - which is not ideal. This had to be done to include some of my fixes for macOS and Frontier. Although the former set of changes was upstreamed, there is no non-broken release that includes it.. We therefore reference the commit hash from my PR. The Frontier hotfix cannot be upstreamed because CMake users are not supposed to manually specify CMAKE_MODULE_PATHs at configure-time. I cannot recall the specifics of the issue, but there may be a more permanent solution available. In the meantime, we manually patch the one-line hotfix in.

Type of change

Scope

henryleberre commented 1 month ago

@sbryngelson Looking at the logs, I found a bug I had mistakenly (re)introduced. When ./mfc.sh test invokes ./mfc.sh run for each test, it wasn't passing the --no-build option. So it was attempting to rebuild, resulting in it reinstalling the (same) binaries. This can cause a few race conditions that cause spurious failures when testing with multiple threads. It's also inefficient. I pushed a fix in this PR.

sbryngelson commented 1 month ago

Good find @henryleberre