This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wien2k:インストール_19.1 [2020/03/17 09:48] koudai [ユーザーごとの設定] |
wien2k:インストール_19.1 [2021/04/03 04:30] koudai [コンパイル(Ubuntu18.04 + WIEN2k_19.1 + Intel Parallel Studio XE 2019)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
以下のソフトを事前にインストールしてください。 | 以下のソフトを事前にインストールしてください。 | ||
Line 5: | Line 5: | ||
* tcsh | * tcsh | ||
* XCrySDen | * XCrySDen | ||
- | * FFTW3(MPI版) | + | * MPIでコンパイルしたFFTW3 |
- | * Libxc | + | * < |
* C/ | * C/ | ||
Line 25: | Line 25: | ||
[[http:// | [[http:// | ||
- | * WIEN2k_19.1.tarを入手し、インストールするフォルダに入れる | + | |
+ | $ mkdir WIEN2k_19.1 | ||
+ | </ | ||
+ | | ||
* インストールするフォルダに入って、HPの手順通りに実行するとコードが展開される< | * インストールするフォルダに入って、HPの手順通りに実行するとコードが展開される< | ||
$ tar -xvf WIEN2k_19.1.tar | $ tar -xvf WIEN2k_19.1.tar | ||
Line 42: | Line 45: | ||
- [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, | + | - [Would you like to use LIBXC (that you have installed)? (y,N):] n |
- | - [Do you want to automatically search for LIBXC installations? | + | |
- | - [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/ | + | |
- | - [Is this the correct directory? (Y,n):] y | + | |
- Specify FFTW settings | - Specify FFTW settings | ||
- [Do you want to use FFTW (recommended, | - [Do you want to use FFTW (recommended, | ||
Line 56: | Line 56: | ||
- [Please specify the name of your FFTW library or accept present choice (enter):] Enter | - [Please specify the name of your FFTW library or accept present choice (enter):] Enter | ||
- [Is this correct? (Y,n):] y | - [Is this correct? (Y,n):] y | ||
+ | - [Selection: | ||
- Configure Parallel Execution | - Configure Parallel Execution | ||
- [Shared Memory Architecture? | - [Shared Memory Architecture? | ||
Line 80: | 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だとFFTW3とのリンクでエラーが出るので、コンパイラオプションに -lstdc++ を追加してください。 | ||
+ | |||
+ | |||
==== 参考 ==== | ==== 参考 ==== | ||
Line 99: | Line 107: | ||
- 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): (パソコンのコア数を入力。コマンドnprocで調べられる) | - How many cores do you want to use by default (4): (パソコンのコア数を入力。コマンドnprocで調べられる) | ||
- | - Set OMP_NUM_THREADS to | + | - Set OMP_NUM_THREADS to |
- 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 | ||