{"action":"opened","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/7011","repository_url":"https://api.github.com/repos/chapel-lang/chapel","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/7011/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/7011/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/7011/events","html_url":"https://github.com/chapel-lang/chapel/issues/7011","id":250188389,"number":7011,"title":"CHPL_COMM_DEBUG=1 w/ GASNet requires CHPL_DEVELOPER=1 ","user":{"login":"PHHargrove","id":6687992,"avatar_url":"https://avatars1.githubusercontent.com/u/6687992?v=4","gravatar_id":"","url":"https://api.github.com/users/PHHargrove","html_url":"https://github.com/PHHargrove","followers_url":"https://api.github.com/users/PHHargrove/followers","following_url":"https://api.github.com/users/PHHargrove/following{/other_user}","gists_url":"https://api.github.com/users/PHHargrove/gists{/gist_id}","starred_url":"https://api.github.com/users/PHHargrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHHargrove/subscriptions","organizations_url":"https://api.github.com/users/PHHargrove/orgs","repos_url":"https://api.github.com/users/PHHargrove/repos","events_url":"https://api.github.com/users/PHHargrove/events{/privacy}","received_events_url":"https://api.github.com/users/PHHargrove/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-15T00:13:17Z","updated_at":"2017-08-15T00:13:17Z","closed_at":null,"body":"I am trying to deploy some CI scripts to test Chapel's \"master\" with GASNet's \"develop\" on a daily basis. While I am having reasonably good luck with default builds, I am not having much luck with getting CHPL_COMM_DEBUG to work as I am expecting.\r\n\r\nThis is the second (less pressing for me) issue I've encountered.\r\n\r\nI am building Chapel with the 1-line work-around I describe in #7010, and passing `CHPL_COMM=gasnet CHPL_COMM_SUBSTRATE=udp CHPL_DEBUG=1` to gmake.\r\nBy default I am seeing the following while compiling comm-chapel.c:\r\n```\r\n/tmp/BLD/dbg/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-everything/debug/include/udp-conduit/amudp_const.h:64:6: error: #error Tried to compile AMUDP client code with optimization enabled but also AMUDP_DEBUG (which seriously hurts performance). Disable C and C++ compiler optimization or reconfigure/rebuild without --enable-debug\r\n     #error Tried to compile AMUDP client code with optimization enabled but also AMUDP_DEBUG (which seriously hurts performance). Disable C and C++ compiler optimization or reconfigure/rebuild without --enable-debug\r\n      ^\r\n```\r\n\r\nI find that I can avoid this problem by adding `CHPL_DEVELOPER=1` to the gmake command line.  \r\nPersonally, I am OK with that one added setting for use within our CI scripting.  \r\nHowever, my reading of the Chapel documentation didn't sound as if `CHPL_DEVELOPER=1` is an *intended* prerequisite for `CHPL_COMM_DEBUG=1` (but I could have missed it).\r\n\r\nAlso, since I am uncertain what else might be happening as a side-effect of setting `CHPL_DEVELOPER=1`, I am wondering: is there some other approach I could/should be using to avoid this error?  I see `OPTIMIZE` in the Makefiles, but that doesn't appear to be \"user-facing\" since it lacks a `CHPL_` prefix.\r\n"}}
{"actor":{"display_login":"PHHargrove"}}