dsqss
issp-center-dev / dsqss
経路積分量子モンテカルロ法による有限温度の量子格子系ソルバー
概要
DSQSS -- Discrete Space Quantum System Solver
典型的な利用シーン
- 量子スピン系・ボース・ハバード模型の有限温度物性を計算したい
README
DSQSS (Discrete Space Quantum Systems Solver)
DSQSS (Discrete Space Quantum Systems Solver) is a software package for calculating expectation values of several observables of quantum lattice systems in finite temperature. DSQSS implements the path-integral Monte Carlo method with the directed loop algorithm.
Structure of directories
- src
- source codes of the main programs, DSQSS/DLA and DSQSS/PMWA
- tool
- utility tools (input file generators)
- sample
- examples of application
- test
- test suite
- doc
- document
- config
- configuration files used in CMake
Build and Install
prerequisite
- C++ Compiler
- CMake >=2.8.12
- Python >=3.8
- numpy
- scipy
- toml
Simple build
rm -rf build
mkdir build
cd build
cmake ../
make
Notes
To change compiler, add -DCMAKE_CXX_COMPILER like
cmake ../ -DCMAKE_CXX_COMPILER=`which icpc`
For Intel compiler, DSQSS offers another option -DCONFIG=intel for setting compiler and adding compiler options
cmake ../ -DCONFIG=intel
You can find executable files in build/src/dla, build/tool and build/src/pmwa/.
build manual
Sphinx and sphinxcontrib-spelling are required.
LaTeX is required for PDF format.
# in the build directory,
cmake -DDocument=ON ../
make doc
Testing
# in the build directory,
ctest
When some tests failed, you can check output of these tests by following:
# in the build directory,
ctest -V -R "test name"
Test names can be specified by the regular expression.
Install
The path to install is specified by -DCMAKE_INSTALL_PREFIX as the following,
# in the build directory,
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ../
make install
After this process, executable files such as dla are installed to ${INSTALL_DIR}/bin,
a configuration file dsqssvars-${DSQSS_VERSION}.sh to ${INSTALL_DIR}/share/dsqss/,
sample files to ${INSTALL_DIR}/share/dsqss/dsqss-${DSQSS_VERSION}/sample,
and documents (if built) to ${INSTALL_DIR}/share/dsqss/dsqss-${DSQSS_VERSION}/doc.
Example
source ${INSTALL_DIR}/share/dsqss/dsqssvars-${DSQSS_VERSION}.sh
cd sample/dla/01_spindimer
dla_pre std.toml
dla param.in
cat sample.log | grep ene
For details, see manual page.
Paper
We would appreciate if you cite the following article in your research with DSQSS, Y. Motoyama, K. Yoshimi, A. Masaki-Kato, T. Kato, and N. Kawashima, Comput. Phys. Commun. 264, 107944 (2021).
The preprint is arXiv:2007.11329.
License
License of DSQSS
DSQSS is distributed under the GNU GPL v3.
License of the bundled libs
- Boost C++ library is redistributed under the Boost software license.
- Plog is redistributed under the Mozilla Public License 2.0
FindPythonModule.cmakeis redistributed under the OSI approved BSD license.
Acknowledgement
DSQSS v1.2 and v2.0 are developed under the support of "Project for advancement of software usability in materials science" in fiscal year 2018 by The Institute for Solid State Physics, The University of Tokyo.
出典: https://github.com/issp-center-dev/dsqss の README
充実度
充実度 = ドキュメント(docs)・サンプル(examples)・テスト(tests)の3項目の整備状況を★3で表示します(1星=1項目/下のチェックリストが内訳)。リポジトリ情報を取得していない(手動で登録した)ソフトウェアは自動評価の対象外で、充実度の絞り込み(1 以上)では表示されません。
- あり: README
- あり: LICENSE
- あり: docs
- あり: examples
- あり: tests
- あり: CITATION
- あり: release
情報
- 主要言語
- C++
- 言語
- C++, Python, C, CMake, Shell
- ライセンス
- GPL-3.0
- 提供元
- github
- DOI
- 10.1016/j.cpc.2021.107944
- ドキュメント
- https://www.pasums.issp.u-tokyo.ac.jp/dsqss/