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

[modeller_usage] parallelization with randomize.dihedrals?



hi Ben et al,

just when i thought i had my parallel version working nicely...
i tried doing a run that had only one difference from previous:

	a.rand_method = randomize.dihedrals
vs previous:
    	a.rand_method = randomize.xyz

but this throws an error:    		

  File "seed_align_pp.py", line 93, in doAllAlign
    for results in j.yield_tasks_unordered():
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/job.py", line 145, in yield_tasks_unordered
    for task in self._finish_all_tasks():
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/job.py", line 163, in _finish_all_tasks
    task = self._process_event(obj, s)
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/job.py", line 179, in _process_event
    task = obj.task_results()
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/slave.py", line 61, in task_results
    r = self.get_data(allow_heartbeat=True)
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/communicator.py", line 84, in get_data
    (cmdtype, obj) = self._recv()
  File "/usr/lib/python2.6/dist-packages/modeller/parallel/communicator.py", line 125, in _recv
    raise RemoteError(obj.exc, self)
modeller.parallel.communicator.RemoteError: <type 'NameError'>: global name 'alignment' is not defined from <Slave on localhost>

any guesses as to why?  thanks again for your help.

	Rik