User Tools

Site Tools


wien2k:インストール_19.1

Differences

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

Link to this comparison view

wien2k:インストール_19.1 [2021/04/03 02:33]
koudai [コンパイル(Ubuntu18.04 + WIEN2k_19.1 + Intel Parallel Studio XE 2019)]
wien2k:インストール_19.1 [2021/06/27 22:04]
Line 1: Line 1:
-====== 準備 ====== 
- 
-以下のソフトを事前にインストールしてください。 
- 
-  * tcsh 
-  * XCrySDen 
-  * MPIでコンパイルしたFFTW3 
-  * C/C++とFortranのコンパイラ。Intel Parallel Studio XE 推奨 
- 
-tcshなどはaptで手に入ります。 
-<code> 
-$ sudo apt install tcsh 
-</code> 
-====== 手順 ====== 
- 
-有料ソフトなので、当然ですが事前に購入する必要があります。 
- 
-  * http://susi.theochem.tuwien.ac.at/order/ 
- 
-商用だと50万円くらいしますが、アカデミック版は5万円くらいで買えます。 
-===== コンパイル(Ubuntu18.04 + WIEN2k_19.1 + Intel Parallel Studio XE 2019) ===== 
- 
-配布されているプログラムをコンパイルします。 
-[[http://susi.theochem.tuwien.ac.at/reg_user/index.html|WIEN2k-Registered Users]] 
- 
-  * インストール用のフォルダを作る<code> 
-$ mkdir WIEN2k_19.1 
-</code> 
-  * WIEN2k_19.1.tarをインストールするフォルダに入れる 
-  * インストールするフォルダに入って、HPの手順通りに実行するとコードが展開される<code> 
-$ tar -xvf WIEN2k_19.1.tar 
-$ gunzip *.gz 
-$ chmod +x expand_lapw 
-$ ./expand_lapw 
-</code> 
-    * continue (y/n) y 
-  * コンパイルの設定を行う。[Press RETURN to continue][Hit Enter to continue]はEnterを押すだけなので省略<code> 
-$ ./siteconfig 
-</code> 
-  - Specify a system 
-    - [Selection:] LI 
-    - Specify compiler and linker options 
-      - [Your compiler:] ifort 
-      - [Your compiler:] cc  (Intelコンパイラは非推奨) 
-      - Specify LIBXC settings 
-        - [Would you like to use LIBXC (that you have installed)? (y,N):] n 
-      - Specify FFTW settings 
-        - [Do you want to use FFTW (recommended, but for sequential code not required)? (Y,n):] y 
-        - [Do you want to automatically search for FFTW installations? (Y,n):] y 
-        - [Please specify a comma separated list of directories to search! (If no list is entered, /usr/local and /opt will be searched as default):] /usr/local/ 
-        - [Please specify whether you want to use FFTW3 (default) or FFTW2  (FFTW3 / FFTW2):] fftw3 
-        - [Do you want to use a FFTW version from the list above? (Y,n):] y 
-        - [Please enter the line number of the chosen version or enter 0 to manually specify your choice!:] 0 
-        - [Please specify the path of your FFTW installation (like /opt/fftw3/) or accept present choice (enter): ] Enter 
-        - [Please specify the target achitecture of your FFTW library (e.g. lib64) or accept present choice (enter):] **lib** 
-        - [Please specify the name of your FFTW library or accept present choice (enter):] Enter 
-        - [Is this correct? (Y,n):] y 
-        - [Selection:] s 
-  - Configure Parallel Execution 
-    - [Shared Memory Architecture? (y/N):] y 
-    - [(like taskset -c). Enter N / your_specific_command:] n 
-    - [Do you have MPI, ScaLAPACK, ELPA, or FFTW installed and intend to run finegrained parallel? ... (y/N)] y 
-    - [Your compiler:] mpiifort 
-    - Specify ScaLAPACK settings 
-      - [Do you want to use a present ScaLAPACK installation? (Y,n):] y 
-      - [Do you want to use the MKL version of ScaLAPACK? (Y,n):] y 
-      - [Do you use Intel MPI? (Y,n):] y 
-      - [Is this correct? (Y,n):] y 
-    - Specify ELPA settings 
-      - [Do you want to use ELPA? (y,N):] n 
-    - Configure parallel execution 
-      - [Please specify your parallel compiler options or accept the recommendations (Enter - default)!:] Enter 
-      - [Please specify your MPIRUN command or accept the recommendations (Enter - default)!:] Enter 
-      - [Selection:] S 
-  - (Re-)Dimension parameters 
-    - [Selection:] Q 
-  - Compile/Recompile programs 
-    - [Selection:] A 
-  - Perl Path 
-    - [Please enter the full path of the perl program:] /usr/bin/perl 
-  - Temp Path 
-    - [Please enter the full path to your temporary directory:] /tmp 
- 
-==== 参考 ==== 
-  * [[http://hmli.ustc.edu.cn/doc/app/wien2k17u1.htm]] 
- 
- 
-===== ユーザーごとの設定 ===== 
- 
-  $ cd /path/to/WIEN2k/ 
-  $ ./userconfig_lapw 
- 
-  - editor shall be: vim 
-  - Set editor to  vim (Y/n): y 
-  - DATA directory: /home/username/WIEN2kdata 
-  - Set DATA directory to  /home/username/WIEN2kdata (Y/n): y 
-  - scratch directory: Enter 
-  - Set scratch directory to working directory: y 
-  - Specify your program to read pdf files (default is acroread) (on some Linux systems use xpdf): evince 
-  - Set PDFREADER to  evince (Y/n): y 
-  - How many cores do you want to use by default (4):  (パソコンのコア数を入力。コマンドnprocで調べられる) 
-  - Set OMP_NUM_THREADS to  コア数 (Y/n): y 
-  - Do you want to continue (Y/n)?: y 
-  - Edit .rhosts file now? (y/N): n 
- 
  
wien2k/インストール_19.1.txt · Last modified: 2021/06/27 22:04 (external edit)