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

Re: [modeller_usage] parallelization and the master/slaves' env.io.atom_files_directory?



On 11/01/2011 02:52 PM, R K Belew wrote:
my slave task like this:
...
env = environ()
env.io.atom_files_directory = [dataDir]
arg4seed = - (int(runIdx) + 2)
env = environ(arg4seed)
...
it throws an exception that seems
to have to do with env.io.atom_files_directory now (in the
master/slave version) not getting set correctly?

You've created two environ objects on your slave. Since you've assigned them to the same Python variable, the second will overwrite the first. What you probably want is

arg4seed = - (int(runIdx) + 2)
env = environ(arg4seed)
env.io.atom_files_directory = [dataDir]

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage