Conversation
|
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests To run benchmarks you can use:
To run tests and benchmarks with the DaCe backend you can use:
To run test levels ignored by the default test suite (mostly simple datatest for static fields computations) you can use:
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)) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.