{"action":"closed","number":1483,"pull_request":{"url":"https://api.github.com/repos/open-mpi/ompi/pulls/1483","id":63638127,"html_url":"https://github.com/open-mpi/ompi/pull/1483","diff_url":"https://github.com/open-mpi/ompi/pull/1483.diff","patch_url":"https://github.com/open-mpi/ompi/pull/1483.patch","issue_url":"https://api.github.com/repos/open-mpi/ompi/issues/1483","number":1483,"state":"closed","locked":false,"title":"RFC: Add support for flag enumerators for MCA variables","user":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"body":"This PR adds support for flag enumerators for MCA variables. A new function and types have been added to ```mca_base_var_enum.h``` to support these enumerators. Use ```mca_base_var_enum_create_flag``` to create a flag enumerator with a given set of flags and use the enumerator with ```mca_base_var_register()/mca_base_pvar_register()```.\r\n\r\nVariables using a flag enumerator can take a comma-delimited list of flags. For example, instead of\r\n\r\n```\r\n# set put, get, send, and in-place\r\nbtl_vader_flags = 0xf\r\n```\r\n\r\na user can can now use\r\n\r\n```\r\n# set put, get, send, and in-place\r\nbtl_vader_flags = send,put,get,in-place\r\n```\r\n\r\nThe old value way of setting the flags will continue to work.","created_at":"2016-03-21T21:49:30Z","updated_at":"2016-03-26T17:43:33Z","closed_at":"2016-03-26T17:43:33Z","merged_at":"2016-03-26T17:43:33Z","merge_commit_sha":"d6e90f24b155ce1ccfb2bd7e0cdc388c047620be","assignee":null,"milestone":{"url":"https://api.github.com/repos/open-mpi/ompi/milestones/15","html_url":"https://github.com/open-mpi/ompi/milestones/v2.1.0","labels_url":"https://api.github.com/repos/open-mpi/ompi/milestones/15/labels","id":1435864,"number":15,"title":"v2.1.0","description":"","creator":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":5,"state":"open","created_at":"2015-11-30T19:03:32Z","updated_at":"2016-03-26T17:43:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/open-mpi/ompi/pulls/1483/commits","review_comments_url":"https://api.github.com/repos/open-mpi/ompi/pulls/1483/comments","review_comment_url":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-mpi/ompi/issues/1483/comments","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/7572c8b74f0ce9af7db31d8b349bdbbc6a7f29e1","head":{"label":"hjelmn:flag_enum_2","ref":"flag_enum_2","sha":"7572c8b74f0ce9af7db31d8b349bdbbc6a7f29e1","user":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"repo":{"id":24726896,"name":"ompi","full_name":"hjelmn/ompi","owner":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hjelmn/ompi","description":"Open MPI main development repository","fork":true,"url":"https://api.github.com/repos/hjelmn/ompi","forks_url":"https://api.github.com/repos/hjelmn/ompi/forks","keys_url":"https://api.github.com/repos/hjelmn/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hjelmn/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hjelmn/ompi/teams","hooks_url":"https://api.github.com/repos/hjelmn/ompi/hooks","issue_events_url":"https://api.github.com/repos/hjelmn/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/hjelmn/ompi/events","assignees_url":"https://api.github.com/repos/hjelmn/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/hjelmn/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/hjelmn/ompi/tags","blobs_url":"https://api.github.com/repos/hjelmn/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hjelmn/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hjelmn/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hjelmn/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hjelmn/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/hjelmn/ompi/languages","stargazers_url":"https://api.github.com/repos/hjelmn/ompi/stargazers","contributors_url":"https://api.github.com/repos/hjelmn/ompi/contributors","subscribers_url":"https://api.github.com/repos/hjelmn/ompi/subscribers","subscription_url":"https://api.github.com/repos/hjelmn/ompi/subscription","commits_url":"https://api.github.com/repos/hjelmn/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hjelmn/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hjelmn/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hjelmn/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hjelmn/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/hjelmn/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hjelmn/ompi/merges","archive_url":"https://api.github.com/repos/hjelmn/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hjelmn/ompi/downloads","issues_url":"https://api.github.com/repos/hjelmn/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/hjelmn/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/hjelmn/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/hjelmn/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hjelmn/ompi/labels{/name}","releases_url":"https://api.github.com/repos/hjelmn/ompi/releases{/id}","deployments_url":"https://api.github.com/repos/hjelmn/ompi/deployments","created_at":"2014-10-02T16:27:20Z","updated_at":"2015-04-20T22:50:29Z","pushed_at":"2016-03-26T17:42:13Z","git_url":"git://github.com/hjelmn/ompi.git","ssh_url":"git@github.com:hjelmn/ompi.git","clone_url":"https://github.com/hjelmn/ompi.git","svn_url":"https://github.com/hjelmn/ompi","homepage":null,"size":86588,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"open-mpi:master","ref":"master","sha":"00bf598fac290acd22a578db89299b554b519f52","user":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"repo":{"id":24107001,"name":"ompi","full_name":"open-mpi/ompi","owner":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-mpi/ompi","description":"Open MPI main development repository","fork":false,"url":"https://api.github.com/repos/open-mpi/ompi","forks_url":"https://api.github.com/repos/open-mpi/ompi/forks","keys_url":"https://api.github.com/repos/open-mpi/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-mpi/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-mpi/ompi/teams","hooks_url":"https://api.github.com/repos/open-mpi/ompi/hooks","issue_events_url":"https://api.github.com/repos/open-mpi/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/open-mpi/ompi/events","assignees_url":"https://api.github.com/repos/open-mpi/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/open-mpi/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/open-mpi/ompi/tags","blobs_url":"https://api.github.com/repos/open-mpi/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-mpi/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-mpi/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-mpi/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/open-mpi/ompi/languages","stargazers_url":"https://api.github.com/repos/open-mpi/ompi/stargazers","contributors_url":"https://api.github.com/repos/open-mpi/ompi/contributors","subscribers_url":"https://api.github.com/repos/open-mpi/ompi/subscribers","subscription_url":"https://api.github.com/repos/open-mpi/ompi/subscription","commits_url":"https://api.github.com/repos/open-mpi/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-mpi/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-mpi/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-mpi/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-mpi/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/open-mpi/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-mpi/ompi/merges","archive_url":"https://api.github.com/repos/open-mpi/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-mpi/ompi/downloads","issues_url":"https://api.github.com/repos/open-mpi/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/open-mpi/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/open-mpi/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/open-mpi/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-mpi/ompi/labels{/name}","releases_url":"https://api.github.com/repos/open-mpi/ompi/releases{/id}","deployments_url":"https://api.github.com/repos/open-mpi/ompi/deployments","created_at":"2014-09-16T16:08:30Z","updated_at":"2016-03-17T13:23:10Z","pushed_at":"2016-03-26T17:43:33Z","git_url":"git://github.com/open-mpi/ompi.git","ssh_url":"git@github.com:open-mpi/ompi.git","clone_url":"https://github.com/open-mpi/ompi.git","svn_url":"https://github.com/open-mpi/ompi","homepage":null,"size":106221,"stargazers_count":160,"watchers_count":160,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":263,"forks":123,"open_issues":263,"watchers":160,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1483"},"html":{"href":"https://github.com/open-mpi/ompi/pull/1483"},"issue":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/1483"},"comments":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/1483/comments"},"review_comments":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1483/comments"},"review_comment":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1483/commits"},"statuses":{"href":"https://api.github.com/repos/open-mpi/ompi/statuses/7572c8b74f0ce9af7db31d8b349bdbbc6a7f29e1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":376,"deletions":61,"changed_files":8}}