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
On 11/04/2011 12:27 PM, R K Belew wrote: >> modeller.parallel.communicator.RemoteError:<type 'NameError'>: >> global name 'alignment' is not defined from<Slave on localhost>
This is a bug in randomize.dihedrals that was fixed in 9.10. So if you're running an older version of Modeller, upgrade to 9.10 and it should go away. Alternatively, apply the patch at http://salilab.org/modeller/wiki/Patches/9.9
Ben Webb, Modeller Caretaker
participants (2)
-
Modeller Caretaker
-
R K Belew