---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-42-a66451d4a86e> in <module>()
3 edges = np.linspace(0.25/1e2,0.25/1e1,20+1)
4 r_cross = AngularPairCount(real, edges, ra='ra', dec='dec',
----> 5 second=recovered)
/Users/kaylan1/miniconda3/lib/python2.7/site-packages/nbodykit/algorithms/survey_paircount.pyc in __init__(self, first, edges, second, ra, dec, weight, show_progress, **config)
365
366 # run the algorithm
--> 367 self.run()
368
369 def __setstate__(self, state):
/Users/kaylan1/miniconda3/lib/python2.7/site-packages/nbodykit/algorithms/survey_paircount.pyc in run(self)
423 # run
424 sizes = self.comm.allgather(len(pos1))
--> 425 pc = self._run(DDtheta_mocks, kws, sizes, callback=callback)
426
427 # sum results over all ranks
/Users/kaylan1/miniconda3/lib/python2.7/site-packages/nbodykit/algorithms/sim_paircount.pyc in _run(self, func, kwargs, loads, callback)
264 chunks = numpy.array_split(range(loads[self.comm.rank]), N, axis=0)
265 for i, chunk in enumerate(chunks):
--> 266 this_pc = run(chunk)
267 if self.comm.rank == largest_load:
268 self.logger.info("%d%% done" % (N*(i+1)))
/Users/kaylan1/miniconda3/lib/python2.7/site-packages/nbodykit/algorithms/sim_paircount.pyc in run(chunk)
250 if callback is not None:
251 callback(kwargs, chunk)
--> 252 return self._run_corrfunc(func, **kwargs)
253
254 # log the function start
/Users/kaylan1/miniconda3/lib/python2.7/site-packages/nbodykit/algorithms/sim_paircount.pyc in _run_corrfunc(self, func, **kws)
298 msg += "stdout: %s\n" % stdout
299 msg += "stderr: %s" % stderr
--> 300 raise RuntimeError(msg)
301
302 return CorrfuncResult(result)
RuntimeError: calling the function 'Corrfunc.mocks.DDtheta_mocks.DDtheta_mocks' failed:
exception: Could not import the C extension for the angular correlation function for mocks.
stdout:
stderr: