{"action":"created","issue":{"url":"https://api.github.com/repos/mej/nhc/issues/35","repository_url":"https://api.github.com/repos/mej/nhc","labels_url":"https://api.github.com/repos/mej/nhc/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/mej/nhc/issues/35/comments","events_url":"https://api.github.com/repos/mej/nhc/issues/35/events","html_url":"https://github.com/mej/nhc/issues/35","id":234944631,"number":35,"title":"NHC seems to be ignoring 'NHC_RM=slurm' in nhc.conf","user":{"login":"mbelgin","id":3011604,"avatar_url":"https://avatars2.githubusercontent.com/u/3011604?v=3","gravatar_id":"","url":"https://api.github.com/users/mbelgin","html_url":"https://github.com/mbelgin","followers_url":"https://api.github.com/users/mbelgin/followers","following_url":"https://api.github.com/users/mbelgin/following{/other_user}","gists_url":"https://api.github.com/users/mbelgin/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelgin/subscriptions","organizations_url":"https://api.github.com/users/mbelgin/orgs","repos_url":"https://api.github.com/users/mbelgin/repos","events_url":"https://api.github.com/users/mbelgin/events{/privacy}","received_events_url":"https://api.github.com/users/mbelgin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-09T21:36:23Z","updated_at":"2017-06-19T15:15:42Z","closed_at":null,"body":"Hi Michael, \r\n\r\nI've added this line in nhc.conf to use slurm as the RM:\r\n\r\n`* || export NHC_RM=slurm`\r\n\r\nHowever, NHC still seems to be checking /var/spool/torque (which also exists on our systems), and deciding that we must be using torque:\r\n\r\n```\r\nnhc -x -c /etc/nhc/nhc.conf | grep NHC_RM\r\n...\r\n+ local -a DIRLIST\r\n+ [[ -d /var/spool/torque ]]\r\n+ NHC_RM=pbs\r\n+ return 0\r\n...\r\n(truncated)\r\n```\r\n\r\nto confirm: \r\n\r\n```\r\n# grep NHC_RM /etc/nhc/nhc.conf\r\n   * || export NHC_RM=slurm\r\n```\r\n\r\nIs this by design or a bug? I'd think once explicitly defined in nhc.conf, nhc would not need to perform any further checks to identify the RM... Skipping this check would also save some cycles ;)\r\n\r\nThanks!\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mej/nhc/issues/comments/309471769","html_url":"https://github.com/mej/nhc/issues/35#issuecomment-309471769","issue_url":"https://api.github.com/repos/mej/nhc/issues/35","id":309471769,"user":{"login":"mbelgin","id":3011604,"avatar_url":"https://avatars2.githubusercontent.com/u/3011604?v=3","gravatar_id":"","url":"https://api.github.com/users/mbelgin","html_url":"https://github.com/mbelgin","followers_url":"https://api.github.com/users/mbelgin/followers","following_url":"https://api.github.com/users/mbelgin/following{/other_user}","gists_url":"https://api.github.com/users/mbelgin/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelgin/subscriptions","organizations_url":"https://api.github.com/users/mbelgin/orgs","repos_url":"https://api.github.com/users/mbelgin/repos","events_url":"https://api.github.com/users/mbelgin/events{/privacy}","received_events_url":"https://api.github.com/users/mbelgin/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T15:15:42Z","updated_at":"2017-06-19T15:15:42Z","body":"Please discard the last comment, I wasn't using the short hostname. sinfo seems to be OK."}}
{"actor":{"display_login":"mbelgin"}}