{"action":"created","issue":{"url":"https://api.github.com/repos/inducer/loopy/issues/9","labels_url":"https://api.github.com/repos/inducer/loopy/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/inducer/loopy/issues/9/comments","events_url":"https://api.github.com/repos/inducer/loopy/issues/9/events","html_url":"https://github.com/inducer/loopy/issues/9","id":97554278,"number":9,"title":"Error compiling simple kernel, missing variable from islpy","user":{"login":"iskandr","id":48441,"avatar_url":"https://avatars.githubusercontent.com/u/48441?v=3","gravatar_id":"","url":"https://api.github.com/users/iskandr","html_url":"https://github.com/iskandr","followers_url":"https://api.github.com/users/iskandr/followers","following_url":"https://api.github.com/users/iskandr/following{/other_user}","gists_url":"https://api.github.com/users/iskandr/gists{/gist_id}","starred_url":"https://api.github.com/users/iskandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iskandr/subscriptions","organizations_url":"https://api.github.com/users/iskandr/orgs","repos_url":"https://api.github.com/users/iskandr/repos","events_url":"https://api.github.com/users/iskandr/events{/privacy}","received_events_url":"https://api.github.com/users/iskandr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T21:04:07Z","updated_at":"2015-07-27T21:14:20Z","closed_at":null,"body":"I'm trying to compile an example kernel but running into the following exception:\r\n\r\n```python\r\nIn [5]: knl = lp.make_kernel(\"{[i]: 0 <= i < n}\", \"out[i] = 2*a[i]\")\r\nfailed to parse domain '[n] -> {[i]: 0 <= i < n}'\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-5-861b95c9d0a6> in <module>()\r\n----> 1 knl = lp.make_kernel(\"{[i]: 0 <= i < n}\", \"out[i] = 2*a[i]\")\r\n\r\n/Users/iskander/code/loopy/loopy/kernel/creation.py in make_kernel(***failed resolving arguments***)\r\n   1156     # }}}\r\n   1157\r\n-> 1158     domains = parse_domains(domains, defines)\r\n   1159\r\n   1160     arg_guesser = ArgumentGuesser(domains, instructions,\r\n\r\n/Users/iskander/code/loopy/loopy/kernel/creation.py in parse_domains(domains, defines)\r\n    382\r\n    383             try:\r\n--> 384                 dom = isl.BasicSet.read_from_str(isl.DEFAULT_CONTEXT, dom)\r\n    385             except:\r\n    386                 print(\"failed to parse domain '%s'\" % dom)\r\n\r\nAttributeError: 'module' object has no attribute 'DEFAULT_CONTEXT'\r\n```\r\n\r\nThis looks like an issue with ISL. Looking at the `ispy` module namespace I don't, in fact, see a `DEFAULT_CONTEXT` binding. Maybe we're using different versions?"},"comment":{"url":"https://api.github.com/repos/inducer/loopy/issues/comments/125345022","html_url":"https://github.com/inducer/loopy/issues/9#issuecomment-125345022","issue_url":"https://api.github.com/repos/inducer/loopy/issues/9","id":125345022,"user":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T21:14:20Z","updated_at":"2015-07-27T21:14:20Z","body":"(but will do soon, thanks for the reminder!)"}}