{"action":"created","issue":{"url":"https://api.github.com/repos/firemodels/fds-smv/issues/2609","labels_url":"https://api.github.com/repos/firemodels/fds-smv/issues/2609/labels{/name}","comments_url":"https://api.github.com/repos/firemodels/fds-smv/issues/2609/comments","events_url":"https://api.github.com/repos/firemodels/fds-smv/issues/2609/events","html_url":"https://github.com/firemodels/fds-smv/issues/2609","id":100374842,"number":2609,"title":"OpenMP bug in radi.f90","user":{"login":"mcgratta","id":11333911,"avatar_url":"https://avatars.githubusercontent.com/u/11333911?v=3","gravatar_id":"","url":"https://api.github.com/users/mcgratta","html_url":"https://github.com/mcgratta","followers_url":"https://api.github.com/users/mcgratta/followers","following_url":"https://api.github.com/users/mcgratta/following{/other_user}","gists_url":"https://api.github.com/users/mcgratta/gists{/gist_id}","starred_url":"https://api.github.com/users/mcgratta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcgratta/subscriptions","organizations_url":"https://api.github.com/users/mcgratta/orgs","repos_url":"https://api.github.com/users/mcgratta/repos","events_url":"https://api.github.com/users/mcgratta/events{/privacy}","received_events_url":"https://api.github.com/users/mcgratta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mcgratta","id":11333911,"avatar_url":"https://avatars.githubusercontent.com/u/11333911?v=3","gravatar_id":"","url":"https://api.github.com/users/mcgratta","html_url":"https://github.com/mcgratta","followers_url":"https://api.github.com/users/mcgratta/followers","following_url":"https://api.github.com/users/mcgratta/following{/other_user}","gists_url":"https://api.github.com/users/mcgratta/gists{/gist_id}","starred_url":"https://api.github.com/users/mcgratta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcgratta/subscriptions","organizations_url":"https://api.github.com/users/mcgratta/orgs","repos_url":"https://api.github.com/users/mcgratta/repos","events_url":"https://api.github.com/users/mcgratta/events{/privacy}","received_events_url":"https://api.github.com/users/mcgratta/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-11T18:24:06Z","updated_at":"2015-08-11T18:54:54Z","closed_at":null,"body":"This input file fails in debug mode but not in release mode (Git-441-g47d7ff3). It fails only when the number of OpenMP threads is greater than 1. I have been testing with 4 and 6.\r\n\r\n&HEAD CHID = 'openmp_bug' /\r\n\r\n&MULT ID='m1', DX=0.4, DY=0.5, I_UPPER=1, J_UPPER=1 /\r\n&MESH IJK=40,50,50, XB=-0.4,0.0,-0.5,0.0,0.0,0.5, MULT_ID='m1' /\r\n\r\n&TIME T_END=0.1 /\r\n\r\n&TAIL /\r\n\r\nTo test, just compile the code, set the OMP_NUM_THREADS to greater than one, then just run the case at the command line with either the debug or release version.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/firemodels/fds-smv/issues/comments/130016829","html_url":"https://github.com/firemodels/fds-smv/issues/2609#issuecomment-130016829","issue_url":"https://api.github.com/repos/firemodels/fds-smv/issues/2609","id":130016829,"user":{"login":"mcgratta","id":11333911,"avatar_url":"https://avatars.githubusercontent.com/u/11333911?v=3","gravatar_id":"","url":"https://api.github.com/users/mcgratta","html_url":"https://github.com/mcgratta","followers_url":"https://api.github.com/users/mcgratta/followers","following_url":"https://api.github.com/users/mcgratta/following{/other_user}","gists_url":"https://api.github.com/users/mcgratta/gists{/gist_id}","starred_url":"https://api.github.com/users/mcgratta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcgratta/subscriptions","organizations_url":"https://api.github.com/users/mcgratta/orgs","repos_url":"https://api.github.com/users/mcgratta/repos","events_url":"https://api.github.com/users/mcgratta/events{/privacy}","received_events_url":"https://api.github.com/users/mcgratta/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T18:54:54Z","updated_at":"2015-08-11T18:54:54Z","body":"This might be a bug with the Intel Fortran compiler. The bug occurs at line 974 of radi.f90. Could you look at the OpenMP directives surrounding the loop. I cannot see anything wrong with it, but when I added some debug statements, I could see that the OpenMP threads were not behaving properly."}}