User Tools

Site Tools


quantumespresso:インストール方法_7.3

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
quantumespresso:インストール方法_7.3 [2024/02/04 23:00]
koudai
quantumespresso:インストール方法_7.3 [2024/02/05 00:00] (current)
koudai [Wannier90のインストールに失敗する]
Line 53: Line 53:
 でファイルを開き、ファイルの一番最後の行に次の一文を書き加えます。 でファイルを開き、ファイルの一番最後の行に次の一文を書き加えます。
 <file> <file>
-export PATH=$PATH:/home/username/qe-6.7/bin/+export PATH=$PATH:/home/username/qe-7.3/bin/
 </file> </file>
  
Line 69: Line 69:
 ===== Wannier90のインストールに失敗する ===== ===== Wannier90のインストールに失敗する =====
  
-次のエラーメッセージが出て、makeが止まりました(ユーザー名=sugimoto)+次のエラーメッセージが出て、makeが止まりました
  
 <code> <code>
 ( cd install ; make -f plugins_makefile w90 || exit 1 ) ( cd install ; make -f plugins_makefile w90 || exit 1 )
-make[1]: Entering directory '/home/sugimoto/qe-7.3/install'+make[1]: Entering directory '/home/username/qe-7.3/install'
 initializing external/wannier90 submodule ... initializing external/wannier90 submodule ...
-Initialized empty Git repository in /home/sugimoto/qe-7.3/external/wannier90/.git/+hint: Using 'master' as the name for the initial branch. This default branch name 
 +hint: is subject to change. To configure the initial branch name to use in all 
 +hint: of your new repositories, which will suppress this warning, call: 
 +hint:  
 +hint: git config --global init.defaultBranch <name> 
 +hint:  
 +hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 
 +hint: 'development'. The just-created branch can be renamed via this command: 
 +hint:  
 +hint: git branch -m <name> 
 +Initialized empty Git repository in /home/username/qe-7.3/external/wannier90/.git/
 usage: git remote add [<options>] <name> <url> usage: git remote add [<options>] <name> <url>
  
Line 94: Line 104:
 fatal: 'FETCH_HEAD' is not a commit and a branch 'recorded_HEAD' cannot be created from it fatal: 'FETCH_HEAD' is not a commit and a branch 'recorded_HEAD' cannot be created from it
 make[1]: *** [plugins_makefile:88: w90] Error 128 make[1]: *** [plugins_makefile:88: w90] Error 128
-make[1]: Leaving directory '/home/sugimoto/qe-7.3/install'+make[1]: Leaving directory '/home/username/qe-7.3/install'
 make: *** [Makefile:244: w90] Error 1 make: *** [Makefile:244: w90] Error 1
 </code> </code>
  
-Wannier90のディレクトリに入って、Wannier90を直接インストールします。+Wannier90のディレクトリに入って、Wannier90を自らとってきます。
  
 <code> <code>
-$ cd external/wannier90+$ cd external/ 
-$ rm -rf .git+$ rm -rf wannier90
-$ git clone https://github.com/wannier-developers/wannier90.git +$ git clone https://github.com/wannier-developers/wannier90.git wannier90
-$ make+
 </code> </code>
  
Line 110: Line 119:
  
 <code> <code>
-$ cd ~/qe-7.3+$ cd ..
 $ make all $ make all
 </code> </code>
  
 +最後にWannier90のコンパイルを完了させます(QEのインストール完了よりも先にしても失敗する)。
  
 +<code>
 +$ cd external/wannier90
 +$ make
 +</code>
 ====== XCrySDenのインストール ====== ====== XCrySDenのインストール ======
  
quantumespresso/インストール方法_7.3.1707055203.txt.gz · Last modified: 2024/02/04 23:00 by koudai