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
my mpi is ok
when i input mpirun -n 4 python3 owntest.py
i get My rank is 0
My rank is 1
My rank is 2
My rank is 3
but when i run :python demo_som.py
get:
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 61, in init_distributed
apply_distributed(opt)
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 20, in apply_distributed
master_address = MPI.COMM_WORLD.bcast(master_address, root=0)
NameError: name 'MPI' is not defined
The text was updated successfully, but these errors were encountered:
my mpi is ok
when i input mpirun -n 4 python3 owntest.py
i get My rank is 0
My rank is 1
My rank is 2
My rank is 3
but when i run :python demo_som.py
get:
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 61, in init_distributed
apply_distributed(opt)
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 20, in apply_distributed
master_address = MPI.COMM_WORLD.bcast(master_address, root=0)
NameError: name 'MPI' is not defined
The text was updated successfully, but these errors were encountered: