Skip to content

Comments

uniquefying and making mesh files temporary#94

Open
kyle-larkin wants to merge 1 commit intodevelopmentfrom
klarkin_geogrid_fixes
Open

uniquefying and making mesh files temporary#94
kyle-larkin wants to merge 1 commit intodevelopmentfrom
klarkin_geogrid_fixes

Conversation

@kyle-larkin
Copy link

ESMF mesh files continue to cause problem on shared NFS. A file created by a previous simulation that is then reused by a later simulation can cause an Errno -51, which appears as a corrupted file, but which may be caused by stale metadata. The solution for running multiple concurrent simulations using the same geospatial discretization is to make meshfiles temporary, and unique.

Additions

Removals

Changes

  • Made meshfiles unique by using uuid in config.py.
  • Added cleanup logic in bmi_model, so that it's cleaned at exit, or at finalize.

Testing

1.Tested locally on multiple configurations. Examined file creation and removal, both at completion of run and when terminating the process early.

Screenshots

Notes

Todos

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Visually tested in supported browsers and devices (see checklist below 👇)
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Target Environment support

  • Linux

@kyle-larkin kyle-larkin self-assigned this Feb 11, 2026
@mxkpp mxkpp mentioned this pull request Feb 19, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant