User Tools

Site Tools


Sidebar

数値計算ライブラリ:triqs:dfttools:インストール

This is an old revision of the document!


概要

  • DFTTools をソースコードからコンパイルする方法です
  • 事前にTRIQSとCTHybのインストールが必要です。またバージョンもTRIQSのものと合わせてください。
  • このページではTRIQSが /opt/triqs/ にインストールしてあるものとしました。

手順

DFTToolsのインストール

ソースコードを入手します

$ git clone https://github.com/TRIQS/dft_tools.git dft_tools.src

作業用ディレクトリを作って、その中に入ります

$ mkdir dft_tools.build
$ cd dft_tools.build

ビルドとコンパイルを行います

$ cmake ../dft_tools.src -DCMAKE_INSTALL_PREFIX=/usr/local/triqs   # TRIQSがバージョン1系の場合は次のフラグを追加 -DTRIQS_PATH="/opt/triqs"
$ make
$ make test
$ sudo make install

(WIEN2k 14.1 以前のバージョンを使用している場合のみ)

/opt/triqs/share/triqs/Wien2k_SRC_files/SRC_templates 内のファイルを (WIEN2kをインストールしたディレクトリ)/SRC_templates/ にコピーしてください。

メモ

make testで次のエラーが出ます。解決策は不明です。

94% tests passed, 1 tests failed out of 18

Total Test time (real) =  18.67 sec

The following tests FAILED:
	 17 - vaspio (Failed)
Errors while running CTest
Makefile:94: recipe for target 'test' failed
make: *** [test] Error 8
数値計算ライブラリ/triqs/dfttools/インストール.1595219269.txt.gz · Last modified: 2021/06/27 21:57 (external edit)