Skip to content

Possible fix for demo_thread#4297

Merged
mathomp4 merged 3 commits intobugfix/aoloso/demo_threadfrom
bugfix/aoloso/demo_thread-tryfix
Jan 9, 2026
Merged

Possible fix for demo_thread#4297
mathomp4 merged 3 commits intobugfix/aoloso/demo_threadfrom
bugfix/aoloso/demo_thread-tryfix

Conversation

@mathomp4
Copy link
Copy Markdown
Member

@mathomp4 mathomp4 commented Jan 5, 2026

Types of change(s)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Trivial change (affects only documentation or cleanup)
  • Refactor (no functional changes, no api changes)

Checklist

  • Tested this change with a run of GEOSgcm
  • Ran the Unit Tests (make tests)

Description

In #4208, some compilers are not happy with the hybrid demo (see https://app.circleci.com/pipelines/github/GEOS-ESM/MAPL/13108/workflows/ef63b257-db2c-4523-9593-188449111a61/jobs/129452)

In talking with @tclune it looks like this might be due to the block construct. So, this PR undoes that.

We also add a much more exciting omp line thanks to Google Gemini (which had some good and some bad suggestions).

I'm making this a PR into @aoloso 's PR so he can take a look as the OpenMP expert on this code!

Related Issue

@mathomp4 mathomp4 requested a review from aoloso January 5, 2026 19:05
@mathomp4 mathomp4 requested a review from a team as a code owner January 5, 2026 19:05
@mathomp4 mathomp4 added 0 Diff The changes in this pull request have verified to be zero-diff with the target branch. 📈 MAPL3 MAPL 3 Related Changelog Skip Skips the Changelog Enforcer labels Jan 5, 2026
@mathomp4
Copy link
Copy Markdown
Member Author

mathomp4 commented Jan 9, 2026

I think I see why the spack tests are failing. I've pushed a change to try and fix it.

@mathomp4
Copy link
Copy Markdown
Member Author

mathomp4 commented Jan 9, 2026

Crap. I pushed to Hamid's branch... Brain is not braining today.

@mathomp4 mathomp4 merged commit e3309ac into bugfix/aoloso/demo_thread Jan 9, 2026
32 of 33 checks passed
@mathomp4 mathomp4 deleted the bugfix/aoloso/demo_thread-tryfix branch January 9, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 Diff The changes in this pull request have verified to be zero-diff with the target branch. Changelog Skip Skips the Changelog Enforcer 📈 MAPL3 MAPL 3 Related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants