Open mikeando opened 5 years ago
Turns out this is not a compilation bug, but rather devito unable to realise that time_order=0
basically sequentialises the space loops. Indeed, this would fail even w/ OpenMP a w/o MPI.
time_order=0
boils down to executing something like
u[0, x] = u[0, x-1] + u[0, x+1]
which clearly isn't parallel along x
this should be intercepted and a proper error/warning be returned
I'm running the following example code:
Which I run using 4 processes on my local machine using:
When run with
configuration['mpi']=True
I get the correct result of:But if I run with
configuration['mpi']='full'
I get rubbish:I'm running on linux, my icc version is
icc (ICC) 19.0.3.199 20190206
and my mpi version isMy devito version is current master:
Let me know if any more information would be helpful