1
Installation and License Questions / MPI does not work
« on: April 10, 2012, 16:30 »
Hi there,
im following your "Parallel Tutorial" but it seems to be a bit outdated.
The script
from ATK.MPI import *
if processIsMaster():
print '# Master node'
else:
print '# Slave node'
produces only:
Traceback (most recent call last):
File "test_mpi.py", line 1, in <module>
from ATK.MPI import *
ImportError: No module named ATK.MPI
Can you give an updated example?
im following your "Parallel Tutorial" but it seems to be a bit outdated.
The script
from ATK.MPI import *
if processIsMaster():
print '# Master node'
else:
print '# Slave node'
produces only:
Traceback (most recent call last):
File "test_mpi.py", line 1, in <module>
from ATK.MPI import *
ImportError: No module named ATK.MPI
Can you give an updated example?