{"action":"created","issue":{"url":"https://api.github.com/repos/flux-framework/flux-sched/issues/154","repository_url":"https://api.github.com/repos/flux-framework/flux-sched","labels_url":"https://api.github.com/repos/flux-framework/flux-sched/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/flux-framework/flux-sched/issues/154/comments","events_url":"https://api.github.com/repos/flux-framework/flux-sched/issues/154/events","html_url":"https://github.com/flux-framework/flux-sched/issues/154","id":150180647,"number":154,"title":"Questions that may arise in creating the first sched RPM package ","user":{"login":"dongahn","id":862123,"avatar_url":"https://avatars.githubusercontent.com/u/862123?v=3","gravatar_id":"","url":"https://api.github.com/users/dongahn","html_url":"https://github.com/dongahn","followers_url":"https://api.github.com/users/dongahn/followers","following_url":"https://api.github.com/users/dongahn/following{/other_user}","gists_url":"https://api.github.com/users/dongahn/gists{/gist_id}","starred_url":"https://api.github.com/users/dongahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongahn/subscriptions","organizations_url":"https://api.github.com/users/dongahn/orgs","repos_url":"https://api.github.com/users/dongahn/repos","events_url":"https://api.github.com/users/dongahn/events{/privacy}","received_events_url":"https://api.github.com/users/dongahn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-21T20:19:09Z","updated_at":"2016-05-17T02:26:47Z","closed_at":null,"body":"I talked with Mark offline this morning. I thought his suggestion was good to create an issue and track questions/issues that I may come across as I will be creating the first sched RPM and a release for sched for /opt on our systems. "},"comment":{"url":"https://api.github.com/repos/flux-framework/flux-sched/issues/comments/219603454","html_url":"https://github.com/flux-framework/flux-sched/issues/154#issuecomment-219603454","issue_url":"https://api.github.com/repos/flux-framework/flux-sched/issues/154","id":219603454,"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},"created_at":"2016-05-17T02:26:46Z","updated_at":"2016-05-17T02:26:46Z","body":"@dongahn -- ok, I logged on to hype and the Lua paths work for me in `bash`:\r\n```\r\n grondo@hype356:~$ env | grep ^FLUX\r\n grondo@hype356:~$ module load flux-sched\r\n grondo@hype356:~$ env | grep ^FLUX\r\nFLUX_LUA_PATH_PREPEND=/opt/flux-sched-0.1.0/share/lua/5.1/?.lua\r\nFLUX_RC_EXTRA=/opt/flux-sched-0.1.0/etc/flux\r\nFLUX_LUA_CPATH_PREPEND=/opt/flux-sched-0.1.0/lib64/lua/5.1/?.lua\r\nFLUX_EXEC_PATH_PREPEND=/opt/flux-sched-0.1.0/libexec/flux/cmd\r\n grondo@hype356:~$ flux start\r\n[1463451754.325170] broker.err[0]: rc1: flux-module: sched: not found in module search path\r\n[1463451754.325619] broker.err[0]: Run level 1 Exited with non-zero status (rc=1)\r\n[1463451754.336362] broker.err[0]: rc3: flux-module: cmb.rmmod[0] sched: No such file or directory\r\nflux-start: 0 (pid 16025) exited with rc=1\r\n```\r\n\r\nThe problem above is just a missing `FLUX_MODULE_PATH`\r\n\r\n```\r\ngrondo@hype356:~$ export FLUX_MODULE_PATH=/opt/flux-sched-0.1.0/lib/flux/modules      \r\ngrondo@hype356:~$ flux start\r\ngrondo@hype356:~$ flux module list | grep sched\r\nsched                 322570 CB98A7D   20  S  0\r\ngrondo@hype356:~$ flux submit /bin/echo hello\r\nsubmit: Submitted jobid 1\r\n\r\ngrondo@hype356:~$ flux wreck ls\r\n    ID NTASKS STATE                    START      RUNTIME    RANKS COMMAND\r\n     1      1 complete   2016-05-16T19:25:16       0.011s        0 echo\r\ngrondo@hype356:~$ flux wreck attach -l 1\r\n0: hello\r\n```"}}