sparse-ir-tutorial
SpM-lab / sparse-ir-tutorial
[Tutorial] Tutorials for the sparse-ir libraries v1 (deprecated and no longer maintained; see the v2 tutorial)
Overview
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
Source: https://github.com/SpM-lab/sparse-ir-tutorial README
Richness
Richness = how many of docs / examples / tests are in place, shown as 0–3 stars (1 star = 1 item; the checklist below is the breakdown). Software listed by hand (without repository data) is not assessed and is left out when filtering by a richness of 1 or more.
- Yes: README
- Yes: LICENSE
- No: docs
- No: examples
- No: tests
- No: CITATION
- No: release
Information
- Primary language
- Jupyter Notebook
- Languages
- Jupyter Notebook, Fortran, TeX, Dockerfile, Shell, Makefile
- License
- MIT
- Provider
- github
- Documentation
- https://spm-lab.github.io/sparse-ir-tutorial/