{"action":"created","comment":{"url":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments/31728124","id":31728124,"diff_hunk":"@@ -5,22 +5,21 @@\n スケジューラを経由してジョブを実行する\n ==========================================\n \n-| ジョブスケジューラー（Torqueなど）を経由してジョブを実行する方法について説明する。\n-| ジョブスケジューラーを経由して実行するには [xsub](https://github.com/crest-cassia/xsub) というスケジューラーをラップするスクリプトをリモートホスト側に導入する必要がある。\n-| xsubは各ホストごとのスケジューラーの差異を吸収する。\n+| xsub(https://github.com/crest-cassia/xsub) というスケジューララッパを経由してTorqueなどにジョブ投入する方法について説明する。\n+| xsubは各ホストごとのスケジューラの差異を吸収する。\n \n | xsubの各ホストへの導入方法については、xsubのREADMEを参照のこと。\n | またxsubの実行コマンドへのPATHを、bashrcでセットする必要がある。（ログインシェルがzshなどの他のシェルの場合でも）\n | OACISがxsubの実行時に `bash -l` コマンドを経由して、bashのログインシェルとして実行するためである。\n \n-| ホストの登録時に \"scheduler_type\" として `xsub` を選択すると、各ホストに導入されたxsub経由でジョブが実行される。\n-\n 実行例（Torqueを経由してジョブを実行する場合）\n ----------------------------------------------\n \n-| ジョブスクリプトのヘッダにスケジューラのパラメータ（使用時間、占有するノード数、使用メモリ量など）を指定する必要がある場合、Runの作成時にパラメータの入力が求められる。\n-| これらのパラメータは、OACISからxsubを実行するときにパラメータとして渡される。\n-| xsubはこれらのパラメータを受け取り、ジョブカードのヘッダに記述してスケジューラの投入コマンドを実行する。\n+| シミュレータを実行するホストの環境変数XSUB_TYPEに\"torque\"を指定する。（ `export XSUB_TYPE=\"torque\"` ）","path":"doc/source/advanced_usage.rst","position":22,"original_position":22,"commit_id":"02d7d321ac62e51b05ef8ad2cb24f6b1b71f6b6c","original_commit_id":"02d7d321ac62e51b05ef8ad2cb24f6b1b71f6b6c","user":{"login":"yohm","id":718731,"avatar_url":"https://avatars.githubusercontent.com/u/718731?v=3","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"body":"exportコマンドは .bashrc に追加する、ということを追記してください。","created_at":"2015-06-04T14:56:01Z","updated_at":"2015-06-04T14:56:01Z","html_url":"https://github.com/crest-cassia/oacis/pull/330#discussion_r31728124","pull_request_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/330","_links":{"self":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments/31728124"},"html":{"href":"https://github.com/crest-cassia/oacis/pull/330#discussion_r31728124"},"pull_request":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/330"}}},"pull_request":{"url":"https://api.github.com/repos/crest-cassia/oacis/pulls/330","id":36809071,"html_url":"https://github.com/crest-cassia/oacis/pull/330","diff_url":"https://github.com/crest-cassia/oacis/pull/330.diff","patch_url":"https://github.com/crest-cassia/oacis/pull/330.patch","issue_url":"https://api.github.com/repos/crest-cassia/oacis/issues/330","number":330,"state":"open","locked":false,"title":"Remove host schedulers other than xsub","user":{"login":"takeshi-uchitane","id":5600507,"avatar_url":"https://avatars.githubusercontent.com/u/5600507?v=3","gravatar_id":"","url":"https://api.github.com/users/takeshi-uchitane","html_url":"https://github.com/takeshi-uchitane","followers_url":"https://api.github.com/users/takeshi-uchitane/followers","following_url":"https://api.github.com/users/takeshi-uchitane/following{/other_user}","gists_url":"https://api.github.com/users/takeshi-uchitane/gists{/gist_id}","starred_url":"https://api.github.com/users/takeshi-uchitane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takeshi-uchitane/subscriptions","organizations_url":"https://api.github.com/users/takeshi-uchitane/orgs","repos_url":"https://api.github.com/users/takeshi-uchitane/repos","events_url":"https://api.github.com/users/takeshi-uchitane/events{/privacy}","received_events_url":"https://api.github.com/users/takeshi-uchitane/received_events","type":"User","site_admin":false},"body":"# Remove Host Schedulers Other Than Xsub\r\n- [x] とりあえず不要なschedulerを消去\r\n- [x] schedulerに依存している変数名とメソッド名の変更・削除(.scheduler_typeなど)\r\n- [x] viewの修正\r\n- [ ] ドキュメントの修正(日本語)\r\n- [ ] ドキュメントの修正(wiki)\r\n\r\n# Others\r\n- [ ] Run#shwo でプレビューをする必要がある？(そもそも編集不可．Host#_aboutで見れる．ホストパラメータはジョブスクリプトには追記されない．)\r\n- [ ] ホストパラメータのmpi_procsとomp_threadsが特別扱いされているがジョブスクリプトからも排除すればxsub内で統一的に定義可能なのでは？","created_at":"2015-06-03T08:32:25Z","updated_at":"2015-06-04T14:56:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70de8f85aa86d842c14c806da841ce069aed562f","assignee":{"login":"yohm","id":718731,"avatar_url":"https://avatars.githubusercontent.com/u/718731?v=3","gravatar_id":"","url":"https://api.github.com/users/yohm","html_url":"https://github.com/yohm","followers_url":"https://api.github.com/users/yohm/followers","following_url":"https://api.github.com/users/yohm/following{/other_user}","gists_url":"https://api.github.com/users/yohm/gists{/gist_id}","starred_url":"https://api.github.com/users/yohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohm/subscriptions","organizations_url":"https://api.github.com/users/yohm/orgs","repos_url":"https://api.github.com/users/yohm/repos","events_url":"https://api.github.com/users/yohm/events{/privacy}","received_events_url":"https://api.github.com/users/yohm/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/330/commits","review_comments_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/330/comments","review_comment_url":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/issues/330/comments","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/02d7d321ac62e51b05ef8ad2cb24f6b1b71f6b6c","head":{"label":"crest-cassia:remove_host_schedulers_other_than_xsub","ref":"remove_host_schedulers_other_than_xsub","sha":"02d7d321ac62e51b05ef8ad2cb24f6b1b71f6b6c","user":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars.githubusercontent.com/u/5803360?v=3","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"repo":{"id":13269212,"name":"oacis","full_name":"crest-cassia/oacis","owner":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars.githubusercontent.com/u/5803360?v=3","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crest-cassia/oacis","description":"shared repository for cassia project developments","fork":false,"url":"https://api.github.com/repos/crest-cassia/oacis","forks_url":"https://api.github.com/repos/crest-cassia/oacis/forks","keys_url":"https://api.github.com/repos/crest-cassia/oacis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crest-cassia/oacis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crest-cassia/oacis/teams","hooks_url":"https://api.github.com/repos/crest-cassia/oacis/hooks","issue_events_url":"https://api.github.com/repos/crest-cassia/oacis/issues/events{/number}","events_url":"https://api.github.com/repos/crest-cassia/oacis/events","assignees_url":"https://api.github.com/repos/crest-cassia/oacis/assignees{/user}","branches_url":"https://api.github.com/repos/crest-cassia/oacis/branches{/branch}","tags_url":"https://api.github.com/repos/crest-cassia/oacis/tags","blobs_url":"https://api.github.com/repos/crest-cassia/oacis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crest-cassia/oacis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crest-cassia/oacis/git/refs{/sha}","trees_url":"https://api.github.com/repos/crest-cassia/oacis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/{sha}","languages_url":"https://api.github.com/repos/crest-cassia/oacis/languages","stargazers_url":"https://api.github.com/repos/crest-cassia/oacis/stargazers","contributors_url":"https://api.github.com/repos/crest-cassia/oacis/contributors","subscribers_url":"https://api.github.com/repos/crest-cassia/oacis/subscribers","subscription_url":"https://api.github.com/repos/crest-cassia/oacis/subscription","commits_url":"https://api.github.com/repos/crest-cassia/oacis/commits{/sha}","git_commits_url":"https://api.github.com/repos/crest-cassia/oacis/git/commits{/sha}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/comments{/number}","issue_comment_url":"https://api.github.com/repos/crest-cassia/oacis/issues/comments{/number}","contents_url":"https://api.github.com/repos/crest-cassia/oacis/contents/{+path}","compare_url":"https://api.github.com/repos/crest-cassia/oacis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crest-cassia/oacis/merges","archive_url":"https://api.github.com/repos/crest-cassia/oacis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crest-cassia/oacis/downloads","issues_url":"https://api.github.com/repos/crest-cassia/oacis/issues{/number}","pulls_url":"https://api.github.com/repos/crest-cassia/oacis/pulls{/number}","milestones_url":"https://api.github.com/repos/crest-cassia/oacis/milestones{/number}","notifications_url":"https://api.github.com/repos/crest-cassia/oacis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crest-cassia/oacis/labels{/name}","releases_url":"https://api.github.com/repos/crest-cassia/oacis/releases{/id}","created_at":"2013-10-02T11:20:13Z","updated_at":"2015-02-18T11:23:55Z","pushed_at":"2015-06-04T07:28:59Z","git_url":"git://github.com/crest-cassia/oacis.git","ssh_url":"git@github.com:crest-cassia/oacis.git","clone_url":"https://github.com/crest-cassia/oacis.git","svn_url":"https://github.com/crest-cassia/oacis","homepage":null,"size":9276,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":7,"default_branch":"Development"}},"base":{"label":"crest-cassia:update_bootstrap3","ref":"update_bootstrap3","sha":"8ff1d6f08218ce89d3d33cdaf82c0b3b44fa55de","user":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars.githubusercontent.com/u/5803360?v=3","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"repo":{"id":13269212,"name":"oacis","full_name":"crest-cassia/oacis","owner":{"login":"crest-cassia","id":5803360,"avatar_url":"https://avatars.githubusercontent.com/u/5803360?v=3","gravatar_id":"","url":"https://api.github.com/users/crest-cassia","html_url":"https://github.com/crest-cassia","followers_url":"https://api.github.com/users/crest-cassia/followers","following_url":"https://api.github.com/users/crest-cassia/following{/other_user}","gists_url":"https://api.github.com/users/crest-cassia/gists{/gist_id}","starred_url":"https://api.github.com/users/crest-cassia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crest-cassia/subscriptions","organizations_url":"https://api.github.com/users/crest-cassia/orgs","repos_url":"https://api.github.com/users/crest-cassia/repos","events_url":"https://api.github.com/users/crest-cassia/events{/privacy}","received_events_url":"https://api.github.com/users/crest-cassia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crest-cassia/oacis","description":"shared repository for cassia project developments","fork":false,"url":"https://api.github.com/repos/crest-cassia/oacis","forks_url":"https://api.github.com/repos/crest-cassia/oacis/forks","keys_url":"https://api.github.com/repos/crest-cassia/oacis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crest-cassia/oacis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crest-cassia/oacis/teams","hooks_url":"https://api.github.com/repos/crest-cassia/oacis/hooks","issue_events_url":"https://api.github.com/repos/crest-cassia/oacis/issues/events{/number}","events_url":"https://api.github.com/repos/crest-cassia/oacis/events","assignees_url":"https://api.github.com/repos/crest-cassia/oacis/assignees{/user}","branches_url":"https://api.github.com/repos/crest-cassia/oacis/branches{/branch}","tags_url":"https://api.github.com/repos/crest-cassia/oacis/tags","blobs_url":"https://api.github.com/repos/crest-cassia/oacis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crest-cassia/oacis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crest-cassia/oacis/git/refs{/sha}","trees_url":"https://api.github.com/repos/crest-cassia/oacis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crest-cassia/oacis/statuses/{sha}","languages_url":"https://api.github.com/repos/crest-cassia/oacis/languages","stargazers_url":"https://api.github.com/repos/crest-cassia/oacis/stargazers","contributors_url":"https://api.github.com/repos/crest-cassia/oacis/contributors","subscribers_url":"https://api.github.com/repos/crest-cassia/oacis/subscribers","subscription_url":"https://api.github.com/repos/crest-cassia/oacis/subscription","commits_url":"https://api.github.com/repos/crest-cassia/oacis/commits{/sha}","git_commits_url":"https://api.github.com/repos/crest-cassia/oacis/git/commits{/sha}","comments_url":"https://api.github.com/repos/crest-cassia/oacis/comments{/number}","issue_comment_url":"https://api.github.com/repos/crest-cassia/oacis/issues/comments{/number}","contents_url":"https://api.github.com/repos/crest-cassia/oacis/contents/{+path}","compare_url":"https://api.github.com/repos/crest-cassia/oacis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crest-cassia/oacis/merges","archive_url":"https://api.github.com/repos/crest-cassia/oacis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crest-cassia/oacis/downloads","issues_url":"https://api.github.com/repos/crest-cassia/oacis/issues{/number}","pulls_url":"https://api.github.com/repos/crest-cassia/oacis/pulls{/number}","milestones_url":"https://api.github.com/repos/crest-cassia/oacis/milestones{/number}","notifications_url":"https://api.github.com/repos/crest-cassia/oacis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crest-cassia/oacis/labels{/name}","releases_url":"https://api.github.com/repos/crest-cassia/oacis/releases{/id}","created_at":"2013-10-02T11:20:13Z","updated_at":"2015-02-18T11:23:55Z","pushed_at":"2015-06-04T07:28:59Z","git_url":"git://github.com/crest-cassia/oacis.git","ssh_url":"git@github.com:crest-cassia/oacis.git","clone_url":"https://github.com/crest-cassia/oacis.git","svn_url":"https://github.com/crest-cassia/oacis","homepage":null,"size":9276,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":7,"default_branch":"Development"}},"_links":{"self":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/330"},"html":{"href":"https://github.com/crest-cassia/oacis/pull/330"},"issue":{"href":"https://api.github.com/repos/crest-cassia/oacis/issues/330"},"comments":{"href":"https://api.github.com/repos/crest-cassia/oacis/issues/330/comments"},"review_comments":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/330/comments"},"review_comment":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crest-cassia/oacis/pulls/330/commits"},"statuses":{"href":"https://api.github.com/repos/crest-cassia/oacis/statuses/02d7d321ac62e51b05ef8ad2cb24f6b1b71f6b6c"}}}}