Skip to content
Snippets Groups Projects
Commit 9076e822 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix initialization expressions.

parent 751dde8f
No related branches found
No related tags found
No related merge requests found
PROGRAM collectdata2003
#ifdef USE_MPI
USE yaxt, ONLY: xt_initialize, xt_finalize, xt_idxlist, xt_idxstripes_new, &
xt_idxlist_delete, xt_int_kind, xt_stripe
xt_idxlist_delete, xi => xt_int_kind, xt_stripe
USE iso_c_binding, ONLY: c_int
#endif
IMPLICIT NONE
......@@ -122,12 +123,14 @@ CONTAINS
chunk = uniform_partition_start((/ 1, SIZE(var1) /), comm_size, rank + 2) &
- start
vardeco1 = var1ddeco(start, chunk, &
xt_idxstripes_new(xt_stripe(start - 1, chunk, 1)))
xt_idxstripes_new(xt_stripe(INT(start, xi) - 1_xi, 1_xi, &
INT(chunk, c_int))))
start = uniform_partition_start((/ 1, SIZE(var2) /), comm_size, rank + 1)
chunk = uniform_partition_start((/ 1, SIZE(var2) /), comm_size, rank + 2) &
- start
vardeco2 = var1ddeco(start, chunk, &
xt_idxstripes_new(xt_stripe(start - 1, chunk, 1)))
xt_idxstripes_new(xt_stripe(INT(start, xi) - 1_xi, 1_xi, &
INT(chunk, c_int))))
#endif
! Define the variable names
varname = 'varname1'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment