I am wondering what this error might mean:
PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed
I understand that it has something to do with using multiple cores. I am running my program on a cluster and using 15 threads in this line of my code:
gauss2 = PTSampler(ntemps, renwalkers, rendim, lnlike, lnprior, threads=15)
The sampler in question is the one documented for the Parallel Tempering sampler at http://dan.iel.fm/emcee/current/user/pt/
Any idea what this error might mean?