{"action":"closed","issue":{"url":"https://api.github.com/repos/numba/numba/issues/961","labels_url":"https://api.github.com/repos/numba/numba/issues/961/labels{/name}","comments_url":"https://api.github.com/repos/numba/numba/issues/961/comments","events_url":"https://api.github.com/repos/numba/numba/issues/961/events","html_url":"https://github.com/numba/numba/issues/961","id":55505963,"number":961,"title":"Numba isn't working with multiprocessing","user":{"login":"seibert","id":425352,"avatar_url":"https://avatars.githubusercontent.com/u/425352?v=3","gravatar_id":"","url":"https://api.github.com/users/seibert","html_url":"https://github.com/seibert","followers_url":"https://api.github.com/users/seibert/followers","following_url":"https://api.github.com/users/seibert/following{/other_user}","gists_url":"https://api.github.com/users/seibert/gists{/gist_id}","starred_url":"https://api.github.com/users/seibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seibert/subscriptions","organizations_url":"https://api.github.com/users/seibert/orgs","repos_url":"https://api.github.com/users/seibert/repos","events_url":"https://api.github.com/users/seibert/events{/privacy}","received_events_url":"https://api.github.com/users/seibert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-26T16:47:18Z","updated_at":"2015-01-27T16:56:01Z","closed_at":"2015-01-27T16:56:01Z","body":"(From mailing list)\r\n\r\nThis program:\r\n```\r\nfrom numba import jit\r\nfrom multiprocessing import Pool\r\nfrom numpy import array\r\npool = Pool()\r\n\r\n@jit\r\ndef wastetime(i):\r\n  results = []\r\n  for j in range(6**6):\r\n    results.append(i*j)\r\n  return array(results).sum()\r\n\r\nresults = [pool.apply_async(wastetime,(i),) for i in range(6**6)]\r\nfor r in results:\r\n  print r.get()\r\n```\r\ndies with the following output:\r\n```\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 15, in <module>\r\n    print r.get()\r\n  File \"/Users/stan/anaconda/envs/numba_dev/lib/python2.7/multiprocessing/pool.py\", line 558, in get\r\n    raise self._value\r\nTypeError: CPUOverloaded object argument after * must be a sequence, not int\r\n```\r\n\r\n(Tested on OS X.)"}}