diff --git a/src/tests/vpicio_mts.c b/src/tests/vpicio_mts.c index 4851d934..4c467945 100644 --- a/src/tests/vpicio_mts.c +++ b/src/tests/vpicio_mts.c @@ -98,7 +98,7 @@ main(int argc, char **argv) printf("Writing %" PRIu64 " number of particles for %llu steps with %d clients.\n", numparticles, steps, size); - dims[0] = numparticles; + dims[0] = numparticles * size; x = (float *)malloc(numparticles * sizeof(float)); y = (float *)malloc(numparticles * sizeof(float));