@chartl I tried using concurrent.futures multiprocessing, as well as an approach similar to yours. I’m getting this output:
INFO (theano.gof.compilelock): Waiting for existing lock by process '6288' (I am process '6289')
INFO (theano.gof.compilelock): To manually release the lock, delete /Users/me/.theano/compiledir_Darwin-17.7.0-x86_64-i386-64bit-i386-3.7.1-64/lock_dir
It seems like it is attempting to run in parallel, but theano is preventing it. The overall run time is the same as doing a for loop.
Is there another approach that you know of? The full run of the power analysis takes about 24 hours.