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

[IMP-dev] Parallelize code



Hi, 

I have set up a Brownian dynamics optimizer as follow:

m = IMP.kernel.Model()

# Brownian Dynamics
bd=IMP.atom.BrownianDynamics(m)
bd.set_maximum_time_step(1000)

for i in range(1, nrounds):
      e = bd.optimize(10)

Is it possible in IMP to parallelize the code to make it faster?
I have seen that there is the possibility to use OpenMP but I am not really sure how to implement it.

Thanks,
Davide