[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] mutiple CPU error



Hi
  I try to build model with my own constrain(beta sheet) with multiple CPU, but it said:

----------------log--------------------
raise RemoteError(obj.exc, self)
modeller.parallel.communicator.RemoteError: AttributeError: 'module' object has no attribute 'MyModel' from <Slave on localhost>


I ues the following script for multiple CPU:

-------------script------------------------
from modeller import *
from modeller.automodel import *
from modeller.parallel import *
j = job()
j.append(local_slave())
j.append(local_slave())
j.append(local_slave())
j.append(local_slave())
env = environ()
log.verbose()
----------------------------------------------
THX