数値計算ライブラリ:triqs:cthyb:インストール
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
数値計算ライブラリ:triqs:cthyb:インストール [2020/07/18 15:18] – [メモ] koudai | 数値計算ライブラリ:triqs:cthyb:インストール [2020/07/20 14:05] (current) – 削除 koudai | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 概要 ====== | ||
- | |||
- | * CTHyb をソースコードからコンパイルする方法です | ||
- | * https:// | ||
- | * 事前にTRIQSのインストールが必要です。またバージョンもTRIQSのものと合わせてください。 | ||
- | * このページではTRIQSが /opt/triqs/ にインストールしてあるものとしました。 | ||
- | |||
- | ====== 手順 ====== | ||
- | |||
- | ===== 準備 ===== | ||
- | |||
- | NFFT https:// | ||
- | |||
- | < | ||
- | $ sudo apt install libnfft3-dev | ||
- | </ | ||
- | |||
- | ===== CTHybのインストール ===== | ||
- | |||
- | ソースコードを入手します | ||
- | < | ||
- | $ git clone https:// | ||
- | </ | ||
- | |||
- | 作業用ディレクトリを作って、その中に入ります | ||
- | < | ||
- | $ mkdir cthyb.build | ||
- | $ cd cthyb.build | ||
- | </ | ||
- | |||
- | TRIQSの環境変数を読み込みます。 | ||
- | すでに.bashrcに書いてある場合は不要です。 | ||
- | パスは自分の環境に合わせて変更してください。 | ||
- | < | ||
- | $ source / | ||
- | </ | ||
- | |||
- | ビルドとコンパイルを行います | ||
- | < | ||
- | $ cmake ../ | ||
- | $ make | ||
- | $ make test | ||
- | $ sudo make install | ||
- | </ | ||
- | |||
- | |||
- | ==== メモ ==== | ||
- | |||
- | make testで次のエラーが出ます。とりあえず無視 | ||
- | |||
- | < | ||
- | The following tests FAILED: | ||
- | 17 - Py_setup_Delta_tau_and_h_loc (Failed) | ||
- | 18 - Py_single_site_bethe (SEGFAULT) | ||
- | 19 - Py_atomic_observables (SEGFAULT) | ||
- | 20 - Py_kanamori_py (SEGFAULT) | ||
- | 21 - Py_slater (SEGFAULT) | ||
- | 22 - Py_measure_static (SEGFAULT) | ||
- | 23 - Py_histograms (SEGFAULT) | ||
- | 24 - Py_move_global (SEGFAULT) | ||
- | 25 - Py_h5_read_write (SEGFAULT) | ||
- | 26 - Py_h5_read_write_more (SEGFAULT) | ||
- | 27 - Py_O_tau_ins (SEGFAULT) | ||
- | Errors while running CTest | ||
- | Makefile: | ||
- | make: *** [test] Error 8 | ||
- | </ | ||
- | |||
- | <file - LastTest.log> | ||
- | (略) | ||
- | 17/27 Testing: Py_setup_Delta_tau_and_h_loc | ||
- | 17/27 Test: Py_setup_Delta_tau_and_h_loc | ||
- | Command: "/ | ||
- | Directory: / | ||
- | " | ||
- | Output: | ||
- | ---------------------------------------------------------- | ||
- | Starting run with 1 MPI rank(s) at : 2020-07-18 15: | ||
- | Attempting to use an MPI routine before initializing MPICH | ||
- | <end of output> | ||
- | Test time = 0.42 sec | ||
- | ---------------------------------------------------------- | ||
- | Test Failed. | ||
- | (略) | ||
- | </ | ||
数値計算ライブラリ/triqs/cthyb/インストール.1595053115.txt.gz · Last modified: 2021/06/27 21:57 (external edit)