Dear Ben,

Thank you very much! Does it mean that I need to change "env = environ()" to e.g. "env = environ(rand_seed=-81)", or "env = environ(rand_seed=-775)", just anything that between -2 and -50000?

That is doable. But I have 100 jobs to run. In order to have the same code for different jobs, can I do like this?

random_integer = random.randint(-50000, -2)
env = environ(rand_seed=random_integer)

Thank you!

Yours sincerely
Cheng


------------------ Original ------------------
From: "Modeller Caretaker"<modeller-care@salilab.org>;
Date: Sat, Jun 6, 2020 12:19 PM
To: "ZHANG Cheng"<272699575@qq.com>;"modeller_usage"<modeller_usage@salilab.org>;
Subject: Re: [modeller_usage] Identical output for different batches

On 6/5/20 7:00 PM, ZHANG Cheng via modeller_usage wrote:
> So it seems that all the jobs are started from a same "seed". Is there a
> way to randomise the seed?

Of course - set rand_seed when you create your environ() object:
https://salilab.org/modeller/9.24/manual/node117.html

Ben Webb, Modeller Caretaker
--
modeller-care@salilab.org             https://salilab.org/modeller/
Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage