{"action":"opened","issue":{"url":"https://api.github.com/repos/XcalableMP/Specification/issues/38","repository_url":"https://api.github.com/repos/XcalableMP/Specification","labels_url":"https://api.github.com/repos/XcalableMP/Specification/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/XcalableMP/Specification/issues/38/comments","events_url":"https://api.github.com/repos/XcalableMP/Specification/issues/38/events","html_url":"https://github.com/XcalableMP/Specification/issues/38","id":156911014,"number":38,"title":"xmp_array_gtol()の拡張案","user":{"login":"mnakao","id":6206109,"avatar_url":"https://avatars.githubusercontent.com/u/6206109?v=3","gravatar_id":"","url":"https://api.github.com/users/mnakao","html_url":"https://github.com/mnakao","followers_url":"https://api.github.com/users/mnakao/followers","following_url":"https://api.github.com/users/mnakao/following{/other_user}","gists_url":"https://api.github.com/users/mnakao/gists{/gist_id}","starred_url":"https://api.github.com/users/mnakao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnakao/subscriptions","organizations_url":"https://api.github.com/users/mnakao/orgs","repos_url":"https://api.github.com/users/mnakao/repos","events_url":"https://api.github.com/users/mnakao/events{/privacy}","received_events_url":"https://api.github.com/users/mnakao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/XcalableMP/Specification/labels/1.%E7%B4%B9%E4%BB%8B","name":"1.紹介","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T06:09:11Z","updated_at":"2016-05-26T06:09:11Z","closed_at":null,"body":"BLASなどの数値計算ライブラリを分散配列に適用したい場合、分散配列に対応するローカル配列の長さを取得する必要があります。例えば、分散配列のa[start]〜a[end]までを処理したい場合、その間の要素を各ノードがどれだけ持っているのかを計算する必要があります。\r\n\r\n計算方法の1つにxmp_array_gtol()の利用がありますが、xmp_array_gtol()に指定されたグローバルインデックスを持っていないノードが実行した場合に返ってくる値は不定なので、個別のノードでインデックスの計算を行う必要があります。\r\n\r\nそこで、xmp_array_gtol()を拡張し、xmp_array_gtol()に指定されたグローバルインデックスを持っていないノードが実行した場合に返ってくる値を、そのノードが持っている正順に近いローカルインデックスの値にすることで、ローカル配列の長さを簡易に取得できます。\r\n\r\n詳細はPDFを参照してください。\r\n\r\n[xmp_array_gtolの拡張.pdf](https://github.com/XcalableMP/Specification/files/283555/xmp_array_gtol.pdf)\r\n"}}
{"actor":{"display_login":"mnakao"}}