{"action":"created","issue":{"url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/1","labels_url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/1/comments","events_url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/1/events","html_url":"https://github.com/cdsc-github/parade-ara-simulator/issues/1","id":120353111,"number":1,"title":"Floating point exception (core dumped)","user":{"login":"majid169","id":12230469,"avatar_url":"https://avatars.githubusercontent.com/u/12230469?v=3","gravatar_id":"","url":"https://api.github.com/users/majid169","html_url":"https://github.com/majid169","followers_url":"https://api.github.com/users/majid169/followers","following_url":"https://api.github.com/users/majid169/following{/other_user}","gists_url":"https://api.github.com/users/majid169/gists{/gist_id}","starred_url":"https://api.github.com/users/majid169/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majid169/subscriptions","organizations_url":"https://api.github.com/users/majid169/orgs","repos_url":"https://api.github.com/users/majid169/repos","events_url":"https://api.github.com/users/majid169/events{/privacy}","received_events_url":"https://api.github.com/users/majid169/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-04T08:06:46Z","updated_at":"2015-12-04T21:07:36Z","closed_at":null,"body":"Hi and thanks for releasing the simulator,\r\n\r\nActually, I build the simulator for ARA version. Now, when I run the simulator using following command:\r\n./build/X86/gem5.opt ./configs/example/fs.py\r\n\r\nI got this error:\r\n\r\ninfo: Entering event queue @ 0.  Starting simulation...\r\nFloating point exception (core dumped)\r\n\r\nI checked with gdb and I found the problem is in  line 34 of NetworkInterrupts.cc: \r\nProgram received signal SIGFPE, Arithmetic exception.\r\nlocalCBsForCycle (current_cycle=current_cycle@entry=...) at build/X86/modules/NetworkInterrupt/NetworkInterrupts.cc:34\r\n34        size_t oldIndex = (m_current_cycle - 1) % cycleCBRing.size();\r\n\r\nDo you have any suggestion for me?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/comments/162082120","html_url":"https://github.com/cdsc-github/parade-ara-simulator/issues/1#issuecomment-162082120","issue_url":"https://api.github.com/repos/cdsc-github/parade-ara-simulator/issues/1","id":162082120,"user":{"login":"zhenman","id":13925562,"avatar_url":"https://avatars.githubusercontent.com/u/13925562?v=3","gravatar_id":"","url":"https://api.github.com/users/zhenman","html_url":"https://github.com/zhenman","followers_url":"https://api.github.com/users/zhenman/followers","following_url":"https://api.github.com/users/zhenman/following{/other_user}","gists_url":"https://api.github.com/users/zhenman/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenman/subscriptions","organizations_url":"https://api.github.com/users/zhenman/orgs","repos_url":"https://api.github.com/users/zhenman/repos","events_url":"https://api.github.com/users/zhenman/events{/privacy}","received_events_url":"https://api.github.com/users/zhenman/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T21:07:36Z","updated_at":"2015-12-04T21:07:36Z","body":"Hi Majid,\r\n\r\nThanks for your interest in using PARADE. \r\n\r\nDue to some porting issues, currently PARADE uses a separate event queue for accelerator events, which is the variable cycleCBRing. I think you got this error because cycleCBRing is not initialized. \r\n\r\nWhen you build ARA version, did you enable the macro SIM_DEDICATED_ARA in all files? This could be the possible reason because the initialization of cycleCBRing is under the SIM_DEDICATED_ARA macro.\r\n\r\nPlease let me know if there is more problems.\r\n\r\nThanks,\r\nZhenman"}}