{"action":"created","issue":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/643","repository_url":"https://api.github.com/repos/flux-framework/flux-core","labels_url":"https://api.github.com/repos/flux-framework/flux-core/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/issues/643/comments","events_url":"https://api.github.com/repos/flux-framework/flux-core/issues/643/events","html_url":"https://github.com/flux-framework/flux-core/issues/643","id":148436843,"number":643,"title":"Consider rename or alias for flux-broker command","user":{"login":"grondo","id":741970,"avatar_url":"https://avatars.githubusercontent.com/u/741970?v=3","gravatar_id":"","url":"https://api.github.com/users/grondo","html_url":"https://github.com/grondo","followers_url":"https://api.github.com/users/grondo/followers","following_url":"https://api.github.com/users/grondo/following{/other_user}","gists_url":"https://api.github.com/users/grondo/gists{/gist_id}","starred_url":"https://api.github.com/users/grondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grondo/subscriptions","organizations_url":"https://api.github.com/users/grondo/orgs","repos_url":"https://api.github.com/users/grondo/repos","events_url":"https://api.github.com/users/grondo/events{/privacy}","received_events_url":"https://api.github.com/users/grondo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flux-framework/flux-core/milestones/8","html_url":"https://github.com/flux-framework/flux-core/milestones/release%200.3.0","labels_url":"https://api.github.com/repos/flux-framework/flux-core/milestones/8/labels","id":1639822,"number":8,"title":"release 0.3.0","description":"","creator":{"login":"trws","id":660149,"avatar_url":"https://avatars.githubusercontent.com/u/660149?v=3","gravatar_id":"","url":"https://api.github.com/users/trws","html_url":"https://github.com/trws","followers_url":"https://api.github.com/users/trws/followers","following_url":"https://api.github.com/users/trws/following{/other_user}","gists_url":"https://api.github.com/users/trws/gists{/gist_id}","starred_url":"https://api.github.com/users/trws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trws/subscriptions","organizations_url":"https://api.github.com/users/trws/orgs","repos_url":"https://api.github.com/users/trws/repos","events_url":"https://api.github.com/users/trws/events{/privacy}","received_events_url":"https://api.github.com/users/trws/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2016-03-11T21:43:36Z","updated_at":"2016-04-14T17:54:12Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2016-04-14T17:53:58Z","updated_at":"2016-04-15T19:30:04Z","closed_at":null,"body":"It was clear during a recent talk given by @trws that the `flux broker` command for starting a flux instance under another RM/PMI environment is confusing to users who may not even know what a broker is in this context.\r\n\r\nPerhaps consider a more generic or user-friendly alias for `flux-broker`, or make `flux start` smart enough to determine if it is running in single-node-mode or under PMI environment so that either\r\n```\r\nsrun -N8 flux start flux capacitor .,.\r\n```\r\nor\r\n```\r\nflux start flux capacitor\r\n```\r\n\r\nworked as expected. (first case is a PMI bootstrapped instance as a slurm job, second case is single node, single broker)\r\n\r\nI'm not sure what you'd do with `srun -N8 flux start --size=4 COMMAND...` though ..."},"comment":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/comments/210607735","html_url":"https://github.com/flux-framework/flux-core/issues/643#issuecomment-210607735","issue_url":"https://api.github.com/repos/flux-framework/flux-core/issues/643","id":210607735,"user":{"login":"lipari","id":740218,"avatar_url":"https://avatars.githubusercontent.com/u/740218?v=3","gravatar_id":"","url":"https://api.github.com/users/lipari","html_url":"https://github.com/lipari","followers_url":"https://api.github.com/users/lipari/followers","following_url":"https://api.github.com/users/lipari/following{/other_user}","gists_url":"https://api.github.com/users/lipari/gists{/gist_id}","starred_url":"https://api.github.com/users/lipari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipari/subscriptions","organizations_url":"https://api.github.com/users/lipari/orgs","repos_url":"https://api.github.com/users/lipari/repos","events_url":"https://api.github.com/users/lipari/events{/privacy}","received_events_url":"https://api.github.com/users/lipari/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T19:30:04Z","updated_at":"2016-04-15T19:30:04Z","body":"After reading the discussion above, throwing out ideas, and then thinking more about it, I'm inclined to reserve `flux run` as the eventual `flux wreckrun` replacement.  Instead I would expand `flux start` to include what `flux broker` does now.  This would provide an intuitive boundary between instantiating a flux instance and launching a program.\r\n\r\nPerhaps we can consider adding -N <nodes> option to `flux start`.  This would allow us to better describe the distribution of brokers across:\r\n* the allocated nodes when under an external RM allocation\r\n* the parent flux instance\r\n\r\nStill to do though is work out the \"messy heuristic involving RM-specific tests\" that @garlick foresees.\r\n\r\n"}}