{"id":13599340,"url":"https://github.com/kaityo256/sevendayshpc","last_synced_at":"2026-01-26T16:07:08.872Z","repository":{"id":41156309,"uuid":"151710699","full_name":"kaityo256/sevendayshpc","owner":"kaityo256","description":"一週間でなれる！スパコンプログラマ","archived":false,"fork":false,"pushed_at":"2023-03-21T12:43:50.000Z","size":63793,"stargazers_count":704,"open_issues_count":0,"forks_count":29,"subscribers_count":37,"default_branch":"main","last_synced_at":"2025-04-04T14:50:01.890Z","etag":null,"topics":["cpp","mpi"],"latest_commit_sha":null,"homepage":"https://kaityo256.github.io/sevendayshpc/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaityo256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-05T11:26:19.000Z","updated_at":"2025-04-02T19:16:56.000Z","dependencies_parsed_at":"2024-01-14T04:41:18.488Z","dependency_job_id":"ca9611eb-1be6-480b-ba01-a219e7aca8f3","html_url":"https://github.com/kaityo256/sevendayshpc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaityo256%2Fsevendayshpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaityo256%2Fsevendayshpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaityo256%2Fsevendayshpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaityo256%2Fsevendayshpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaityo256","download_url":"https://codeload.github.com/kaityo256/sevendayshpc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217145,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","mpi"],"created_at":"2024-08-01T17:01:02.516Z","updated_at":"2026-01-26T16:07:08.821Z","avatar_url":"https://github.com/kaityo256.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# [一週間でなれる！スパコンプログラマ](https://kaityo256.github.io/sevendayshpc/)\n\n[リポジトリ(kaityo256/sevendayshpc)](https://github.com/kaityo256/sevendayshpc)\n\n[HTML版](https://kaityo256.github.io/sevendayshpc/)\n\n[一括PDF版](https://github.com/kaityo256/sevendayshpc/releases/latest/download/sevendayshpc.pdf)\n\n## [はじめに](preface/README.md)\n\n* なぜスパコンを使うのか\n\n## Day 1 : [環境構築](day1/README.md)\n\nとりえあず手元のPCでMPIが使える環境を整え、簡単なMPIプログラミングを試してみる。\n\n* MPIとは\n* 余談：MPIは難しいか\n* MPIのインストール\n* はじめてのMPI\n* ランク\n* 標準出力について\n* GDBによるMPIプログラムのデバッグ\n\n## Day 2 : [スパコンの使い方](day2/README.md)\n\nスパコンを使うときに知っておきたいこと。ジョブの投げ方など。\n\n* はじめに\n* スパコンとは\n* 余談：BlueGene/Lのメモリエラー\n* スパコンのアカウントの取得方法\n* ジョブの実行の仕組み\n* ジョブスクリプトの書き方\n* フェアシェア\n* バックフィル\n* チェーンジョブ\n* ステージング\n* 並列ファイルシステム\n\n## Day 3 : [自明並列](day3/README.md)\n\n自明並列、通称「馬鹿パラ」のやり方について。\n\n* 自明並列、またの名を馬鹿パラとは\n* 自明並列の例1: 円周率\n* 自明並列テンプレート\n* 自明並列の例2: 多数のファイル処理\n* 自明並列の例3: 統計処理\n* 並列化効率\n* サンプル並列とパラメタ並列の違い\n\n## Day 4 : [領域分割による非自明並列](day4/README.md)\n\n非自明並列の例として、一次元熱伝導方程式方程式を領域分割してみる。\n\n* 非自明並列\n* 一次元拡散方程式 (シリアル版)\n* 一次元拡散方程式 (並列版)\n* 余談： EagerプロトコルとRendezvousプロトコル\n\n## Day 5 : [二次元反応拡散方程式](day5/README.md)\n\n本格的なMPIプログラムの例として、二次元反応拡散方程式を領域分割してみる。\n\n* シリアル版\n* 並列化ステップ1: 通信の準備など\n* 並列化ステップ2: データの保存\n* 並列化ステップ2: のりしろの通信\n* 並列化ステップ3: 並列コードの実装\n* 余談：MPIの面倒くささ\n\n## Day 6 : [ハイブリッド並列](day6/README.md)\n\nプロセス並列とスレッド並列の併用によるハイブリッド並列化について。\n特にスレッド並列で気をつけたいことなど。\n\n* ハイブリッド並列とは\n* 仮想メモリとTLB\n* 余談：TLBミスについて\n* NUMA\n* OpenMPの例\n* 性能評価\n* 余談：ロックの話\n* ハイブリッド並列の実例\n\n## Day 7 : [SIMD化](day7/README.md)\n\nSIMD化について。\n\n* はじめに\n* SIMDとは\n* SIMDレジスタを触ってみる\n* 余談：アセンブリ言語？アセンブラ言語？\n* 簡単なSIMD化の例\n* 余談：x86における浮動小数点演算の扱い\n* もう少し実戦的なSIMD化\n\n## [おわりに](postface/README.md)\n\n## ライセンス\n\nCopyright (C) 2018-present Hiroshi Watanabe\n\nこの文章と絵(pptxファイルを含む)はクリエイティブ・コモンズ 4.0 表示 (CC-BY 4.0)で提供する。\n\nThis article and pictures are licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).\n\n本リポジトリに含まれるプログラムは、[MITライセンス](https://opensource.org/licenses/MIT)で提供する。\n\nThe source codes in this repository are licensed under [the MIT License](https://opensource.org/licenses/MIT).\n\nなお、HTML版の作成に際し、CSSとして[github-markdown-css](https://github.com/sindresorhus/github-markdown-css)を利用しています。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaityo256%2Fsevendayshpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaityo256%2Fsevendayshpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaityo256%2Fsevendayshpc/lists"}