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

Re: [modeller_usage] loop modeling parallel-queue



On 1/26/11 2:53 AM, David Rodríguez wrote:
My question is: is there any difference between a) sending the eight
jobs from within the modeller script or b) sending one job after another
to a third queue software initializing the enviroment with

env = environ(0 - random.randrange(2, 50000)) #A different random seed
each time.

or is modeller taking into account previous results?

Tasks in Modeller's parallel system are completely independent, so no, it shouldn't make any difference whether you run all 8 tasks on the same machine or you run them on 8 different machines. You can also manually break up the jobs as you describe - it shouldn't make any difference - that is essentially what the parallel loop modeling does already (run the same calculation but with a different random seed). I wouldn't recommend setting a random random seed though - that will make your results non-reproducable. Just set

env = environ(-2 - number_of_task)

so that each task gets a different (but known) random seed.

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