[Wien] Installation of phonopy 1.10.5

Gavin Abo gsabo at crimson.ua.edu
Wed Mar 30 05:49:46 CEST 2016


I encountered an installation error when trying to install phonopy 
1.10.5, but it seems that I was able to get around it by creating a 
blank "__nanoversion__.txt" file in the phono3py-1.10.5 folder:

username at computername:~$ wget 
https://sourceforge.net/projects/phonopy/files/phono3py/phono3py-1.10.5.tar.gz
...
username at computername:~$ tar xvfz phono3py-1.10.5.tar.gz
...
username at computername:~$ cd phono3py-1.10.5/
username at computername:~/phono3py-1.10.5$ python setup.py install 
--home=/home/username/phono3py-1.10.5
Note: "username" in the above line should be changed to what you use.

Traceback (most recent call last):
   File "setup.py", line 93, in <module>
     with open('__nanoversion__.txt') as nv:
IOError: [Errno 2] No such file or directory: '__nanoversion__.txt'

username at computername:~/phono3py-1.10.5$ touch __nanoversion__.txt
username at computername:~/phono3py-1.10.5$ python setup.py install 
--home=/home/username/phono3py-1.10.5
...
username at computername:~/phono3py-1.10.5$ gedit ~/.bashrc
Added (and saved) the following two lines at the end of the .bashrc:
export PYTHONPATH=$PYTHONPATH:~/phono3py-1.10.5/lib/python
export PATH=$PATH:~/phono3py-1.10.5/bin
Note: "~/phono3py-1.10.5" in the above two lines should be changed to 
where you installed phonopy (or phono3py).
username at computername:~/phono3py-1.10.5$ source ~/.bashrc
username at computername:~/phono3py-1.10.5$ cd example/NaCl-wien2k
username at computername:~/phono3py-1.10.5/example/NaCl-wien2k$ phonopy 
--wien2k -c NaCl.struct -d --dim="2 2 2"
         _
   _ __ | |__   ___  _ __   ___   _ __  _   _
  | '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | |
  | |_) | | | | (_) | | | | (_) || |_) | |_| |
  | .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, |
  |_|                            |_|    |___/
                                       1.10.5

Python version 2.7.6
Spglib version 1.9.0
Creating displacements
Settings:
   Supercell: [2 2 2]
Spacegroup: Fm-3m (225)
Number of non-equivalent atoms in NaCl.structS-001: 24
Number of non-equivalent atoms in NaCl.structS-002: 24

disp.yaml and supercells have been created.
                  _
    ___ _ __   __| |
   / _ \ '_ \ / _` |
  |  __/ | | | (_| |
   \___|_| |_|\__,_|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20160329/0b54a9e2/attachment.html>


More information about the Wien mailing list