Closed pbartholomew08 closed 3 months ago
This bit may also cause a problem with parallel runs.
If we divide only one of the dimensions by nproc
then its equivalent to a slab decomposition and it should be fine for the tests. Or we we want to test with 2D decomposition then we might have nproc_x
and nproc_y
where nproc = nproc_x*nproc_y
.
This bit may also cause a problem with parallel runs.
If we divide only one of the dimensions by
nproc
then its equivalent to a slab decomposition and it should be fine for the tests. Or we we want to test with 2D decomposition then we might havenproc_x
andnproc_y
wherenproc = nproc_x*nproc_y
.
This doesn't cause any problem at the moment because the test doesn't run a proper computation. It isn't realistic/meaningful, but I am tempted to keep it that way as it test having a domain decomposition in each direction.
Current test is performed in serial, which passes. However if ran in parallel it fails with SIGFPE, with @Nanoseb tracked this down to it should be passed
n_padded
rather thann_loc
.Proposal: 1) Duplicate test for serial and parallel execution 2) Rewrite ordering operations to us padded values