{"action":"created","issue":{"url":"https://api.github.com/repos/desihub/desiutil/issues/48","repository_url":"https://api.github.com/repos/desihub/desiutil","labels_url":"https://api.github.com/repos/desihub/desiutil/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/desihub/desiutil/issues/48/comments","events_url":"https://api.github.com/repos/desihub/desiutil/issues/48/events","html_url":"https://github.com/desihub/desiutil/issues/48","id":188345952,"number":48,"title":"desiInstall fiberassign","user":{"login":"sbailey","id":218471,"avatar_url":"https://avatars.githubusercontent.com/u/218471?v=3","gravatar_id":"","url":"https://api.github.com/users/sbailey","html_url":"https://github.com/sbailey","followers_url":"https://api.github.com/users/sbailey/followers","following_url":"https://api.github.com/users/sbailey/following{/other_user}","gists_url":"https://api.github.com/users/sbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/sbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbailey/subscriptions","organizations_url":"https://api.github.com/users/sbailey/orgs","repos_url":"https://api.github.com/users/sbailey/repos","events_url":"https://api.github.com/users/sbailey/events{/privacy}","received_events_url":"https://api.github.com/users/sbailey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"weaverba137","id":3780690,"avatar_url":"https://avatars.githubusercontent.com/u/3780690?v=3","gravatar_id":"","url":"https://api.github.com/users/weaverba137","html_url":"https://github.com/weaverba137","followers_url":"https://api.github.com/users/weaverba137/followers","following_url":"https://api.github.com/users/weaverba137/following{/other_user}","gists_url":"https://api.github.com/users/weaverba137/gists{/gist_id}","starred_url":"https://api.github.com/users/weaverba137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaverba137/subscriptions","organizations_url":"https://api.github.com/users/weaverba137/orgs","repos_url":"https://api.github.com/users/weaverba137/repos","events_url":"https://api.github.com/users/weaverba137/events{/privacy}","received_events_url":"https://api.github.com/users/weaverba137/received_events","type":"User","site_admin":false},"assignees":[{"login":"weaverba137","id":3780690,"avatar_url":"https://avatars.githubusercontent.com/u/3780690?v=3","gravatar_id":"","url":"https://api.github.com/users/weaverba137","html_url":"https://github.com/weaverba137","followers_url":"https://api.github.com/users/weaverba137/followers","following_url":"https://api.github.com/users/weaverba137/following{/other_user}","gists_url":"https://api.github.com/users/weaverba137/gists{/gist_id}","starred_url":"https://api.github.com/users/weaverba137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaverba137/subscriptions","organizations_url":"https://api.github.com/users/weaverba137/orgs","repos_url":"https://api.github.com/users/weaverba137/repos","events_url":"https://api.github.com/users/weaverba137/events{/privacy}","received_events_url":"https://api.github.com/users/weaverba137/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-11-09T20:35:08Z","updated_at":"2016-11-10T00:32:19Z","closed_at":null,"body":"Update desiInstall and/or fiberassign such that `desiInstall -v fiberassign x.y.z` would work.  Currently it doesn't work because fiberassign needs the environment variable `PLATFORM` to be set but desiInstall doesn't know that yet.\r\n\r\nAs the desi pseudo user on edison I ran:\r\n```\r\nsource /project/projectdirs/desi/software/desi_environment.sh\r\ndesiInstall -v fiberassign 0.3.0\r\n```\r\n\r\nThis didn't generate any errors, but it also didn't install `bin/fiberassign`.  To fix this, I did:\r\n```\r\ncd /global/common/edison/contrib/desi/code/fiberassign/0.3.0\r\nmake clean\r\nPLATFORM=nersc_edison make install\r\n```\r\nFor Cori 1, the equivalent PLATFORM is `nersc_cori_haswell`.\r\nFor Cori 2 this will probably be `nersc_cori_knl` but that isn't supported yet.\r\n\r\nAdding a special case to `desiInstall` so that it knows that it needs to set `PLATFORM` prior to `make install` would be one approach.\r\n\r\nThe auto-generated module file for fiberassign appears to be ok, which is great given that fiberassign doesn't provide a template `etc/fiberassign.module` file as a starting point.\r\n"},"comment":{"url":"https://api.github.com/repos/desihub/desiutil/issues/comments/259567462","html_url":"https://github.com/desihub/desiutil/issues/48#issuecomment-259567462","issue_url":"https://api.github.com/repos/desihub/desiutil/issues/48","id":259567462,"user":{"login":"weaverba137","id":3780690,"avatar_url":"https://avatars.githubusercontent.com/u/3780690?v=3","gravatar_id":"","url":"https://api.github.com/users/weaverba137","html_url":"https://github.com/weaverba137","followers_url":"https://api.github.com/users/weaverba137/followers","following_url":"https://api.github.com/users/weaverba137/following{/other_user}","gists_url":"https://api.github.com/users/weaverba137/gists{/gist_id}","starred_url":"https://api.github.com/users/weaverba137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaverba137/subscriptions","organizations_url":"https://api.github.com/users/weaverba137/orgs","repos_url":"https://api.github.com/users/weaverba137/repos","events_url":"https://api.github.com/users/weaverba137/events{/privacy}","received_events_url":"https://api.github.com/users/weaverba137/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T00:32:19Z","updated_at":"2016-11-10T00:32:19Z","body":"See desihub/fiberassign#54."}}
{"actor":{"display_login":"weaverba137"}}