{"action":"opened","issue":{"url":"https://api.github.com/repos/CAMH-Scientific-Computing/SCC/issues/27","labels_url":"https://api.github.com/repos/CAMH-Scientific-Computing/SCC/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/CAMH-Scientific-Computing/SCC/issues/27/comments","events_url":"https://api.github.com/repos/CAMH-Scientific-Computing/SCC/issues/27/events","html_url":"https://github.com/CAMH-Scientific-Computing/SCC/issues/27","id":85675358,"number":27,"title":"MODULEPATH has the quarantine listed 3 times on login node","user":{"login":"pipitone","id":509382,"avatar_url":"https://avatars.githubusercontent.com/u/509382?v=3","gravatar_id":"","url":"https://api.github.com/users/pipitone","html_url":"https://github.com/pipitone","followers_url":"https://api.github.com/users/pipitone/followers","following_url":"https://api.github.com/users/pipitone/following{/other_user}","gists_url":"https://api.github.com/users/pipitone/gists{/gist_id}","starred_url":"https://api.github.com/users/pipitone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipitone/subscriptions","organizations_url":"https://api.github.com/users/pipitone/orgs","repos_url":"https://api.github.com/users/pipitone/repos","events_url":"https://api.github.com/users/pipitone/events{/privacy}","received_events_url":"https://api.github.com/users/pipitone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-06T01:56:16Z","updated_at":"2015-06-06T01:56:16Z","closed_at":null,"body":"On the login node, the MODULEPATH environment variable (which the `module` command uses) has the quarantine path listed 3 times: \r\n```sh \r\n$ echo $MODULEPATH[jpipitone@login ~]$ echo $MODULEPATH\r\n:/quarantine/Modules/Modules/3.2.9/modulefiles/:/quarantine/Modules/Modules/3.2.9/quarantine/:/quarantine/Modules/Modules/3.2.9/modulefiles/:/quarantine/Modules/Modules/3.2.9/quarantine/:/quarantine/Modules/Modules/3.2.9/modulefiles/:/quarantine/Modules/Modules/3.2.9/quarantine/\r\n```\r\n\r\nI think this has to do with extras in `/etc/profile.d` but I haven't looked into it. \r\n\r\nThe upshot is that running `module avail` gives lots of redundant output, but since the quarantine shouldn't be used on the login node, perhaps the fix for this is just to disable `module` entirely. "}}