User Tools

Site Tools


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

Differences

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

Link to this comparison view

Next revision
Previous revision
quantumespresso:インストール方法_7.3 [2024/02/04 22:54]
koudai created
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 65: Line 65:
  
  
 +
 +
 +===== Wannier90のインストールに失敗する =====
 +
 +次のエラーメッセージが出て、makeが止まりました。
 +
 +<code>
 +( cd install ; make -f plugins_makefile w90 || exit 1 )
 +make[1]: Entering directory '/home/username/qe-7.3/install'
 +initializing external/wannier90 submodule ...
 +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>
 +
 +    -f, --fetch           fetch the remote branches
 +    --tags                import all tags and associated objects when fetching
 +                          or do not fetch any tag at all (--no-tags)
 +    -t, --track <branch>  branch(es) to track
 +    -m, --master <branch>
 +                          master branch
 +    --mirror[=(push|fetch)]
 +                          set up remote as a mirror to push to or fetch from
 +
 +fatal: 'origin' does not appear to be a git repository
 +fatal: Could not read from remote repository.
 +
 +Please make sure you have the correct access rights
 +and the repository exists.
 +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]: Leaving directory '/home/username/qe-7.3/install'
 +make: *** [Makefile:244: w90] Error 1
 +</code>
 +
 +Wannier90のディレクトリに入って、Wannier90を自らとってきます。
 +
 +<code>
 +$ cd external/
 +$ rm -rf wannier90/
 +$ git clone https://github.com/wannier-developers/wannier90.git wannier90
 +</code>
 +
 +QEのインストールを再開します。
 +
 +<code>
 +$ cd ..
 +$ make all
 +</code>
 +
 +最後にWannier90のコンパイルを完了させます(QEのインストール完了よりも先にしても失敗する)。
 +
 +<code>
 +$ cd external/wannier90
 +$ make
 +</code>
 ====== XCrySDenのインストール ====== ====== XCrySDenのインストール ======
  
quantumespresso/インストール方法_7.3.1707054855.txt.gz · Last modified: 2024/02/04 22:54 by koudai