Skip to content

blueline: wait_for_compilation()#1098

Draft
havogt wants to merge 2 commits intomainfrom
blueline_wait_for_compilation
Draft

blueline: wait_for_compilation()#1098
havogt wants to merge 2 commits intomainfrom
blueline_wait_for_compilation

Conversation

@havogt
Copy link
Contributor

@havogt havogt commented Mar 9, 2026

No description provided.

@havogt havogt marked this pull request as draft March 9, 2026 15:20
@github-actions
Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run default
  • cscs-ci run distributed

Optional Tests

To run benchmarks you can use:

  • cscs-ci run benchmark-bencher

To run tests and benchmarks with the DaCe backend you can use:

  • cscs-ci run dace

To run test levels ignored by the default test suite (mostly simple datatest for static fields computations) you can use:

  • cscs-ci run extra

For more detailed information please look at CI in the EXCLAIM universe.

)

if mask_hdiff is None:
mask_hdiff = gtx.zeros(cell_k_domain, dtype=xp.bool_, allocator=model_backends.get_allocator(actual_backend))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically Fortran said the array is not associated therefore we dummy allocate. Previously, we allocated for numpy which will give an error because even if the field is not used (actively) in the program it is passed over the interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hit this in the uncoupled r2b10 setup, which is a bit weird, because the fields should actually not be None. Maybe there is a rank where the mask is all False and the field does not get allocated on the Fortran side.

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