LutzGross / esys-escript.github.io

Other
29 stars 13 forks source link

Misleading poingt information in str(Data) under MPI #28

Open aellery opened 2 years ago

aellery commented 2 years ago

Under MPI I may get the following output for str(d) for a data object d:

Summary: inf=0.006 sup=0.008 data points=6226784 Summary: inf=0.006 sup=0.008 data points=6287544 Summary: inf=0.006 sup=0.008 data points=6224336 Summary: inf=0.006 sup=0.008 data points=6362476 Summary: inf=0.006 sup=0.008 data points=6255152

Firstly str(d) returns different values of different ranks which breaks a fundamental rule of escript that on python all function (with a tiny number of exceptions) return the same value. Secondly the output is depending on the number if ranks (not good) and "points" spec is wrong.