You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the following test script can pass the test,
frommpi4pyimportMPIfromscalapyimportcorecomm=MPI.COMM_WORLDrank=comm.ranksize=comm.sizeifsize!=4:
raiseException("Test needs 4 processes.")
deftest_Dup():
core.initmpi([2, 2], block_shape=[5, 5]) # comment it out to see what happensnewcomm=comm.Dup()
core.initmpi([2, 2], block_shape=[5, 5], comm=newcomm)
if__name__=='__main__':
test_Dup()
it would get failed if I comment out core.initmpi([2, 2], block_shape=[5, 5]). The failed message is
This is strange because I think grid initialization on newcomm should not depend on the original grid initialization on MPI.COMM_WORLD. I don't know it is a bug or not.
The text was updated successfully, but these errors were encountered:
While the following test script can pass the test,
it would get failed if I comment out
core.initmpi([2, 2], block_shape=[5, 5])
. The failed message isThis is strange because I think grid initialization on
newcomm
should not depend on the original grid initialization onMPI.COMM_WORLD
. I don't know it is a bug or not.The text was updated successfully, but these errors were encountered: