User Tools

Site Tools


wien2k:インストール_19.1

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wien2k:インストール_19.1 [2019/07/11 19:36]
koudai [ユーザーごとの設定]
wien2k:インストール_19.1 [2021/04/03 04:35]
koudai [準備]
Line 1: Line 1:
-====== 条件 ======+====== 準備 ======
  
 以下のソフトを事前にインストールしてください。 以下のソフトを事前にインストールしてください。
Line 5: Line 5:
   * tcsh   * tcsh
   * XCrySDen   * XCrySDen
-  * FFTW3(MPI版) +  * MPIでコンパイルしたFFTW3 
-  Libxc+    FFTWをビルドする際に<nowiki>--enable-openmp</nowiki> のフラグをつけた場合はうまく行きませんでした
   * C/C++とFortranのコンパイラ。Intel Parallel Studio XE 推奨   * C/C++とFortranのコンパイラ。Intel Parallel Studio XE 推奨
  
Line 25: Line 25:
 [[http://susi.theochem.tuwien.ac.at/reg_user/index.html|WIEN2k-Registered Users]] [[http://susi.theochem.tuwien.ac.at/reg_user/index.html|WIEN2k-Registered Users]]
  
-  * WIEN2k_19.1.tarを入手し、インストールするフォルダに入れる+  * インストール用のフォルダを作る<code> 
 +$ mkdir WIEN2k_19.1 
 +</code> 
 +  * WIEN2k_19.1.tarをインストールするフォルダに入れる
   * インストールするフォルダに入って、HPの手順通りに実行するとコードが展開される<code>   * インストールするフォルダに入って、HPの手順通りに実行するとコードが展開される<code>
-$ tar -xvf WIEN2k_17.1.tar+$ tar -xvf WIEN2k_19.1.tar
 $ gunzip *.gz $ gunzip *.gz
 $ chmod +x expand_lapw $ chmod +x expand_lapw
Line 41: Line 44:
       - [Your compiler:] ifort       - [Your compiler:] ifort
       - [Your compiler:] cc  (Intelコンパイラは非推奨)       - [Your compiler:] cc  (Intelコンパイラは非推奨)
-    - Specify LIBXC settings +      - Specify LIBXC settings 
-      - [Would you like to use LIBXC (that you have installed)? (y,N):+        - [Would you like to use LIBXC (that you have installed)? (y,N):] n 
-      - [Do you want to automatically search for LIBXC installations? (Y,n):] y +      - Specify FFTW settings 
-      - [Please specify a comma separated list of directories to search! (If no list is entered, /usr/local and /opt will be searched as default):] /opt/ +        - [Do you want to use FFTW (recommended, but for sequential code not required)? (Y,n):] y 
-      - [Is this the correct directory? (Y,n):] y +        - [Do you want to automatically search for FFTW installations? (Y,n):] y 
-    - Specify FFTW settings +        - [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/ 
-      - [Do you want to use FFTW (recommended, but for sequential code not required)? (Y,n):] y +        - [Please specify whether you want to use FFTW3 (default) or FFTW2  (FFTW3 / FFTW2):] fftw3 
-      - [Do you want to automatically search for FFTW installations? (Y,n):] y +        - [Do you want to use a FFTW version from the list above? (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 enter the line number of the chosen version or enter 0 to manually specify your choice!:] Enter 
-      - [Please specify whether you want to use FFTW3 (default) or FFTW2  (FFTW3 / FFTW2):] fftw3 +        - [Please specify the target achitecture of your FFTW library (e.g. lib64) or accept present choice (enter):**lib** 
-      - [Do you want to use a FFTW version from the list above? (Y,n):] y +        - [Please specify the name of your FFTW library or accept present choice (enter):] Enter 
-      - [Please enter the line number of the chosen version or enter 0 to manually specify your choice!:] Enter +        - [Is this correct? (Y,n):] y 
-      - [Please specify the target achitecture of your FFTW library (e.g. lib64) or accept present choice (enter):] lib +        - [Selection:s
-      - [Please specify the name of your FFTW library or accept present choice (enter):] Enter +
-      - [Is this correct? (Y,n):] y +
-    - Compiler and linker options +
-      - [To change an item select option. Selection:S+
   - Configure Parallel Execution   - Configure Parallel Execution
     - [Shared Memory Architecture? (y/N):] y     - [Shared Memory Architecture? (y/N):] y
Line 70: Line 69:
     - Specify ELPA settings     - Specify ELPA settings
       - [Do you want to use ELPA? (y,N):] n       - [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 parallel compiler options or accept the recommendations (Enter - default)!:] Enter
       - [Please specify your MPIRUN command or accept the recommendations (Enter - default)!:] Enter       - [Please specify your MPIRUN command or accept the recommendations (Enter - default)!:] Enter
Line 81: Line 81:
   - Temp Path   - Temp Path
     - [Please enter the full path to your temporary directory:] /tmp     - [Please enter the full path to your temporary directory:] /tmp
 +
 +
 +==== 補足 ====
 +
 +Intel OneAPI (2021) を使うとFFTW3とのリンクでエラーが出るので、コンパイラオプションに -lstdc++ を追加してください。
 +
 +
  
 ==== 参考 ==== ==== 参考 ====
Line 99: Line 106:
   - Specify your program to read pdf files (default is acroread) (on some Linux systems use xpdf): evince   - Specify your program to read pdf files (default is acroread) (on some Linux systems use xpdf): evince
   - Set PDFREADER to  evince (Y/n): y   - Set PDFREADER to  evince (Y/n): y
-  - How many cores do you want to use by default (4): (あなたのパソコンのコア数) +  - How many cores do you want to use by default (4):  (パソコンのコア数を入力。コマンドnprocで調べられる
-  - Set OMP_NUM_THREADS to  (Y/n): y+  - Set OMP_NUM_THREADS to  コア数 (Y/n): y
   - Do you want to continue (Y/n)?: y   - Do you want to continue (Y/n)?: y
   - Edit .rhosts file now? (y/N): n   - Edit .rhosts file now? (y/N): n
  
  
wien2k/インストール_19.1.txt · Last modified: 2021/06/27 22:04 (external edit)