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

[modeller_usage] flex-em in parallel mode?



 Hi,

I am trying to run flex-em.py out of the cryoem_files examples in parallel mode.

I tried for example the following script. It runs. Nevertheless only one CPU is used.
(The example model-parallel.py works perfectly)

----------------------------------------------------------------------------------------------------
from modeller import *
from MD import opt_md
from modeller.parallel import *

log.minimal()
j = job()

j.append(local_slave())  #CPU 1
j.append(local_slave())  #CPU 2

log.verbose() # request verbose output
env = environ()


j.queue_task(opt_md('./', 'xxxx', str(2), 10*2, 'mod2b.mrc', 'mod2bn.pdb',
                'MRC', 1.8, 64, 15, 1.8, 1.8, 1.8, 'rigid.txt'))

results= j.run_all_tasks()

---------------------------------------------------------------------------------------------------------


Thanks for your help
Nathalie