User Tools

Site Tools


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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
数値計算ライブラリ:triqs:cthyb:インストール [2020/07/20 12:07] – [CTHyb (latest version)] koudai数値計算ライブラリ:triqs:cthyb:インストール [2020/07/20 14:05] (current) – 削除 koudai
Line 1: Line 1:
-====== 概要 ====== 
- 
-  * CTHyb をソースコードからコンパイルする方法です 
-  * https://triqs.github.io/cthyb/latest/install.html も見てください 
-  * 事前にTRIQSのインストールが必要です。またバージョンもTRIQSのものと合わせてください。 
-  * このページではTRIQSが /opt/triqs/ にインストールしてあるものとしました。 
- 
-====== 手順 ====== 
- 
-===== 準備 ===== 
- 
-NFFT https://www-user.tu-chemnitz.de/~potts/nfft/ が必要なのでインストールします 
- 
-<code> 
-$ sudo apt install libnfft3-dev 
-</code> 
- 
-===== CTHyb (latest version) ===== 
- 
-ソースコードを入手します 
-<code> 
-$ git clone https://github.com/TRIQS/cthyb cthyb.src 
-</code> 
- 
-作業用ディレクトリを作って、その中に入ります 
-<code> 
-$ mkdir cthyb.build 
-$ cd cthyb.build 
-</code> 
- 
-ビルドとコンパイルを行います 
-<code> 
-$ cmake ../cthyb.src -DCMAKE_INSTALL_PREFIX=/usr/local/triqs 
-$ make 
-$ make test 
-$ sudo make install 
-</code> 
- 
- 
-==== メモ ==== 
- 
-make testで次のエラーが出ることがあります 
- 
-<code> 
-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:85: recipe for target 'test' failed 
-make: *** [test] Error 8 
-</code> 
- 
-このときは 
-<code> 
-$ pip install mpi4py 
-</code> 
-として、再度 make test を行ってください 
- 
- 
-===== CTHyb 1.4.1 ===== 
- 
-ソースコードを入手します 
-  * https://github.com/TRIQS/cthyb/archive/1.4.1.tar.gz 
- 
-展開します 
-<code> 
-$ tar xzvf cthyb-1.4.1.tar.gz 
-</code> 
-作業用ディレクトリを作って、その中に入ります 
-<code> 
-$ mkdir cthyb.build 
-$ cd cthyb.build 
-</code> 
- 
-ビルドとコンパイルを行います 
-<code> 
-$ cmake ../cthyb-cthyb-1.4.1 -DCMAKE_INSTALL_PREFIX="/usr/local/triqs" -DTRIQS_PATH="/usr/local/triqs" 
-$ make 
-$ make test 
-$ sudo make install 
-</code> 
  
数値計算ライブラリ/triqs/cthyb/インストール.1595214454.txt.gz · Last modified: 2021/06/27 21:57 (external edit)