sparse-ir-tutorial
SpM-lab / sparse-ir-tutorial
【チュートリアル】sparse-ir ライブラリ v1 のチュートリアル(非推奨・保守終了。v2 チュートリアルを参照)
概要
Tutorials of sparse-ir libraries
README
sparse-ir
Deprecated! This tutorial is for sparse-ir v1 and is no longer maintained. Update to sparse-ir v2 (Python
sparse-ir2.x, JuliaSparseIR.jl2.x) and use the v2 tutorial.
Author guideline
- In Markdown cells, use the
$$,$$ $$environments for equations. - References are listed in the markdown cell at the bottom of each notebook.
- Remove all outputs in a jupyter notebook.
Set up tools
pip3 install jupyter-book ghp-import jupytext
Set up VS code + Docker
We strongly recommend to use VSCode + Docker to build HTML files.
Make sure you have Docker and VSCode installed.
Install the
Remote - Containersin VSCode Extensions.Go to the repository and open it in VS Code.
cd /path/to/this/repository
code .
- To use Docker with VS Code, execute the following command.
ln -s .dev/devcontainer .devcontainer
Press the green mark at the bottom left and press
Reopen in Containerfrom the command palette. After the build is finished, you can enter the Docker container.Build html files
The following command builds html files, which takes a few minutes.
make build
- Upload html files
make upload
Update the specified versions of sparse-ir, xprec, SparseIR.jl
- For Python, edit
requirements.txtmanually. - For Julia, use the package mode to update the package. Note that in the container, the
juliacommand is aliased tojulia --project=@..
References
You can add references to references.bib.
Trouble shooting
出典: https://github.com/SpM-lab/sparse-ir-tutorial の README
充実度
充実度 = ドキュメント(docs)・サンプル(examples)・テスト(tests)の3項目の整備状況を★3で表示します(1星=1項目/下のチェックリストが内訳)。リポジトリ情報を取得していない(手動で登録した)ソフトウェアは自動評価の対象外で、充実度の絞り込み(1 以上)では表示されません。
- あり: README
- あり: LICENSE
- なし: docs
- なし: examples
- なし: tests
- なし: CITATION
- なし: release
情報
- 主要言語
- Jupyter Notebook
- 言語
- Jupyter Notebook, Fortran, TeX, Dockerfile, Shell, Makefile
- ライセンス
- MIT
- 提供元
- github
- ドキュメント
- https://spm-lab.github.io/sparse-ir-tutorial/