|||
ubuntu 16.04LTS
1. sudo apt-get update
You can now install the package like this.
Installgpaw2. sudo apt-get install gpaw
That is all! 这里安装的是0.11版本!
From: http://installion.co.uk/ubuntu/wily/universe/g/gpaw/install/index.html
more details about GPAW:
https://wiki.fysik.dtu.dk/gpaw/
如果需要最新版本1.0.0(查询依赖软件的版本),直接用上面的方法是不行额!因为还没有最新版本的deb。
我们也有办法:
1. $ sudo apt-get install python
查看版本: dpkg -l python (2.7.11)
2. $ sudo apt-get install python-numpy (1.11.0)
3. ase需要3.10以上的,https://packages.debian.org/sid/all/python-ase/download
python-ase_3.11.0-1_all.deb
3.1. 安装这个deb用gdebi才可以。$ sudo apt-get install gdebi
然后选择python-ase_3.11.0-1_all.deb,右键选择gdebi安装!
4. blas、lapack安装。
$sudo apt-get install libblas-dev
$sudo apt-get install liblapack-dev
5. libxc安装 (可不用)
$sudo apt-get install libxc-dev
6. mpi环境
$sudo apt-get install libopenmpi-dev
7. gpaw安装 https://wiki.fysik.dtu.dk/gpaw/gpaw-1.0.1b1.tar.gz
解压进入目录,$
python setup.py install --user
8. 安装gpaw-setups
9. $sudo apt-get install python-matplotlib
下载https://wiki.fysik.dtu.dk/gpaw-files/gpaw-setups-0.9.20000.tar.gz
Set the environment variable GPAW_SETUP_PATH to point to the directory gpaw-setups-<version>/, e.g. for bash users, you would put into~/.bashrc:
ok!!!
8. pip安装
6.1 $ wget https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
6.2 $ sudo python distribute_setup.py
6.3 $ which easy_install
6.4 $ /usr/local/bin/easy_install
6.5 $ sudo easy_install pip
6.6 $ which pip
pip install -U gpaw
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-23 13:39
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社