diff --git a/dace/libraries/mpi/nodes/win_create.py b/dace/libraries/mpi/nodes/win_create.py index e3f7ba10d0..7abfc02b96 100644 --- a/dace/libraries/mpi/nodes/win_create.py +++ b/dace/libraries/mpi/nodes/win_create.py @@ -29,7 +29,7 @@ def expansion(node, parent_state, parent_sdfg, **kwargs): code = f""" MPI_Win_create(_win_buffer, - {win_buf_count_str}, + {win_buf_count_str} * sizeof({win_buffer_dtype}), sizeof({win_buffer_dtype}), MPI_INFO_NULL, {comm},