Subject: Re: [modeller_usage] qsub and cis restraints
From: Modeller Caretaker <>
Date: Mon, 08 Oct 2007 12:17:59 -0700
Cc:
Gordon Wells wrote:
Do classes inheriting from automodel get propagated when using the
sge_qsub parallel job? I can get a parallel run to work with automodel,
but not with a new class including a cis-peptide restraint defined in
special_restraints (which I can get to run in single proc mode).
My guess is that you've declared this subclass directly in your script,
rather than in a separate module. The parallel job support uses the
Python 'pickle' module to serialize objects, and that doesn't work for
classes declared in the 'main' script. See
http://salilab.org/modeller/9v2/manual/node380.html and
examples/python/parallel-task.py.