Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
spack.yamlを書こう
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
koyamaso
April 10, 2021
87
0
Share
spack.yamlを書こう
koyamaso
April 10, 2021
More Decks by koyamaso
See All by koyamaso
9.4.3 耐障害性を持つ合意
koyamaso
0
27
5.4 リーダーレスレプリケーション
koyamaso
1
190
4.1.3 ThriftとProtocol Buffers
koyamaso
0
48
Raft 文献調査
koyamaso
0
180
主専攻実験S-3 メタヒューリスティクスと巡回セールスマン問題 最終発表
koyamaso
0
410
Featured
See All Featured
Done Done
chrislema
186
16k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Designing for Timeless Needs
cassininazir
0
190
Mobile First: as difficult as doing things right
swwweet
225
10k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
330
Accessibility Awareness
sabderemane
0
94
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
WCS-LA-2024
lcolladotor
0
520
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.7k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Transcript
spack.yamlを書こう
Spackとは? 柔軟なパッケージマネージャ HPC関連のライブラリが主に管理されている 誰でもPull Requestを送ることでパッケージを追加出来る https://github.com/spack/spack ユーザが独自のリポジトリを管理することも出来る 例: ANLは https://github.com/mochi-hpc/mochi-spack-packages を管理している
Spack 使い方(bash)
この使い方の問題点 - 依存するパッケージ全てで spack install 〇〇 && spack load -r
〇〇をする必要がある これはかなり面倒 - 同一パッケージの複数のバージョンをインストール可能だが ... load時にハッシュを書かないといけなくなる 例 spack load -r mochi-margo/a1b2c3 (このハッシュはspack find -dlv mochi-margoで表示される) これもかなり面倒
spack.yamlとは プロジェクトごとの設定ファイル プロジェクトのディレクトリ直下に置く (例: https://github.com/mochi-hpc/mochi-margo/blob/main/spack.yaml ) これによってユーザは必要なパッケージを一括インストール、ロードができる 細かいバージョン指定なども可能
spack.yaml 使い方 詳細は https://spack.readthedocs.io/en/latest/environments.html を参照
spack.yaml 書き方
おしまい