How do I use multiple cpu when doing loop which I have shown in a script
below. I am trying to use several cpus to get a faster build of a model.
Your script looks fine to me, and should run in parallel, except that
you're using the automodel class (not loopmodel) so you're doing regular
homology modeling, not loop modeling.