1. Phonopy
More information about this software is found at http://atztogo.github.io/phonopy/
We will tell how to install this on Milkyway-2(i.e. TH-2).
[1] Download the phonopy.tar.gz or tar.bz2 from the link above.
[2] Decompress the tar.gz with tar -zxvf … or tar -jxvf for tar.bz2
[3] Get into the folder.
[4] In terminal
1 |
$module load python/2.7.9-gcc-4.8.5 |
[5] Environment Variables Setting
1 |
$vi ~/.bashrc |
In the vim:
1 |
export PYTHONPATH = ~/.local/bin:$PYTHONPATH |
Here, ~ stand for the parent path for the folder “.local” and you can use os.path.dirname(.local)
to get that.
Phono3py
Most of the installation is same as phonopy. But you should add below in step [3]:
1 |
$module load lapack/3.5.0-gcc-4.8.5 |
And the environment variables setting is the same.
近期评论