(python-3.10) gb4018@titaros:~/workspace/devito$ DEVITO_LOGGING=DEBUG DEVITO_MPI=1 mpirun -n 4 python mpi_mfe.py
Allocating host memory for u(2, 6, 6) [288 B]
Allocating host memory for u(2, 6, 6) [288 B]
Allocating host memory for u(2, 6, 6) [288 B]
Allocating host memory for u(2, 6, 6) [288 B]
Traceback (most recent call last):
File "/home/gb4018/workspace/devito/mpi_mfe.py", line 8, in <module>
u.data[0, 0, 0] = u.data[0, 0, 2]
File "/home/gb4018/workspace/devito/devito/data/data.py", line 187, in wrapper
return func(data, *args, **kwargs)
File "/home/gb4018/workspace/devito/devito/data/data.py", line 400, in __setitem__
raise ValueError("Cannot insert obj of type `%s` into a Data" % type(val))
ValueError: Cannot insert obj of type `<class 'NoneType'>` into a Data
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[44560,1],0]
Exit code: 1
Cross-rank assignments fail, while expected to work
To reproduce:
hint: "fake" one-size slices work