E3SM-Project / polaris

Testing and analysis for OMEGA, MPAS-Ocean, MALI and MPAS-Seaice
BSD 3-Clause "New" or "Revised" License
6 stars 13 forks source link

Fix the `bisect` utility #206

Closed xylar closed 2 months ago

xylar commented 3 months ago

This merge fixes the --copy_exectable flag to polaris setup, which referred to nonexistent config options.

It also fixes the way E3SM submodules are checked out at the beginning of each bisection step. The submodule is cleaned, hard-reset to the HEAD and then submodules are recursively checked out to ensure that every step is starting from a clean state.

Checklist

xylar commented 2 months ago

Testing

I was able to use the utility after these fixes to diagnose the issue reported in #205 and https://github.com/E3SM-Project/E3SM/issues/6515