科学网

 找回密码
  注册

tag 标签: phonopy

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

vasp-Spectroscopy
pfliu89 2018-1-22 10:15
1. Phonopy-Spectroscopy : It is a project to add the capability to simulate vibrational spectra to the Phonopy code. Features: Calculate infrared (IR) intensities from Phonopy or VASP calculations; Calculate Raman-activity tensors and scalar-averaged intensities within the far-from-resonance approximation; Prepare peak tables including assigning modes to irreducible representations (Phonopy interface); Output customisable simulated spectra with support for multiple unit systems and simulated instrumental broadening; Include first-principles mode linewidths from Phono3py calculations (Phonopy interface). https://github.com/JMSkelton/Phonopy-Spectroscopy When using this code, please cite the following article: Phy. Chem. Chem. Phy. 19, 12452 (2017). 2. IR : Python Package to Calculate IR Intensities from the Dipole Approximation with Phonopy and VASP. This python package can calculate infrared intensities based on the dipole approximation. To do so, you need VASP and Phonopy . https://github.com/JaGeo/IR When using this code, please cite the following article: J. Chem. Phys. , 1994 , 100 , 8537; J. Phys.:Condens. Matter. , 2010 , 22 , 265006. 3. INTENS : The BASH script for evaluation of IR intensities within DFPT by VASP. As of VASP 5.* version, the DFPT linear response calculations are available. Among others, the user can obtain the matrix of Born effective charges ( BEC ), which refers to change of atoms'polarizabilities at an external electric field. The BEC tensor is a key to calculate the vibrational intensities using the most modern method available , using the formula by Gianozzi Baroni. http://homepage.univie.ac.at/david.karhanek/downloads.html 4. raman-sc : Python program to evaluate off-resonance Raman activity using VASP code as the backend. In order to calculate off-resonance Raman activity of a mode, one needs to compute the derivative of the polarizability (or macroscopic dielectric tensor) with respect to that normal mode coordinate: dP/dQ (or de/dQ). Thus, two ingredients are required: Phonons at Γ-point; Macroscopic dielectric tensor. https://github.com/raman-sc/VASP 5. VASP2NMR : Convert VASP files to NMR spectra. https://github.com/smeerten/VASP2NMR 6. opticsVASP : Program to plot optical properties from VASP results Program to plotoptical properties from VASP results. compile the program with :$g++ -oopticsVASP opticsVASP.2.0.c. run the executable file on the folder where theVASP output files are located. https://github.com/gmsn-ita/opticsVASP
个人分类: VASP|8182 次阅读|0 个评论
[转载]不同声子计算方法的比较
yxx554243496 2017-5-29 23:13
转自: http://i.eol.cn/blog_read.php?topicid=693401 有三个方法: Linear Response Theory Frozen Phonon method Finite Displacement method Linear response 方法(或者称为 density perturbation functional theory , DFPT ),直接计算出原子的移动而导致的势场变化,再进一步构造出动力学矩阵。这种方法在计算谱时, Born effective charge (对极性的材料)和声子谱都能计算出。现在很流行, CASTEP , Quantum-Expresso , Abinit 等等都在用,后面两个原理差不多; Linear Response 优点: 晶体晶胞没有大小限制,即使用包含一个原子的 Primitive cell ,计算得到的 Dynamical Matrix 也是很准确的,主要原理: Hellmann-Feymann theorem and Perturbation theory , 原子施加很小的位移,计算波函数,电子密度对位移的响应函数,主要方法见 Gonze1997 年的两个 PRB 文章。计算速度一般,特别是采用 Normal Conserving PPs 的时候,单原子晶胞 RAM 占用量在 3-4G 之间, CASTEP 里面只支持 NCPP 的 Linear response 计算, USPPs 不支持。 另外一个是 Finite displacement ( 直接的方法 ) : 构造超原胞,把原子移动一下,计算原胞中所有原子所受的力(这个根据体系的周期性,要多移动几个原子),然后根据这个力构造力常数矩阵。 而且一般情况下对 LO-TO 的 split 不能计算出(只有在计算了 Born effective charge 之后, 进一步考虑了 non-analyticity term ,才能计算出)。 phonon, phonony 等就是结合 vasp 或者其他计算软件如 wien2k 等计算声子谱的。 Finite displacement 优点: RAM 占用量和计算量在 Cell 一样的情况下,可节约 2 倍的 RAM 和 CPU 时间,但这个方法最大的缺点是需要生成一个 Supercell 来获得比较可靠的力常数,虽然鉴于力常数是短程作用,在最邻近原子以外衰减很快,但所需要的 Supercell 大小也很大,一般截止半径大小是 4A 以上,对于金属这个半径可能会小一下,因为金属的电子 Coulomb 屏蔽很显著,但对于其他的晶体结构,以及晶体结构较复杂的体系,这种方法自动生成的 Cell 一般都包含 100 原子以上,基本上没有人能采用单机计算 Phonon , 如 BCC , Ba 元素, Primitive cell 只包含一个原子, %BLOCK LATTICE_CART -2.445170154155672 2.445170154155674 2.445170154155673 2.445170154155672 -2.445170154155673 2.445170154155673 2.445170154155672 2.445170154155672 -2.445170154155672 %ENDBLOCK LATTICE_CART %BLOCK POSITIONS_FRAC Ba 0.0000000000000000 0.0000000000000000 0.0000000000000000 在采用有限位移方法计算声子时晶胞是: %BLOCK PHONON_SUPERCELL_MATRIX 2 0 0 0 2 0 0 0 2 即 2*2*2 的 supercell ,里面包含 8 个 Ba 原子,采用 AMD Dual Core , 2G RAM ,计算需要 2h 左右即可完成。 另外一个最大的优点是可以用 Ultra soft Pseudo potentials , 这个可以极大的节约时间,减小 kinetic energy curoff 数值。 Finite Displacement 方法只计算 Brillouin Zone G 点的 Normal Modes ,其他 k 点的 Dynamical Matrix 利用 Fourier Transofrmation 得到, C ( k ) =Sum C ( R ) *Exp ( -ikR ),只要 Cell 足够大,可以获得和 Linear Response 一样可靠的 Dynamical Matrix 。 Linear Response 计算有带隙的晶体最好,也是最省事的方法,但计算金属,采用 Finite element 方法最好, Linear response 对金属体系基本上失效的。 可能原因: Perturbation theory 本身对于金属不成立 ( 金属能隙太小); Fermi 面 Smearing 方法本身对计算力常数不利;(目前有几个常用的 Smeaing 方法, Gaussan 函数,或者有限温度下的 Fermi Dirac 函数) 后者基本上可以排除,采用 Linear response ,同事采用 NCPP+fix occupation 的方法计算得到的 Phonon 和 NCPP+ Smearing 方法是一样子的,因此可以推断是 Linear Response theory 对 metal 不适用, CASTEP 小组在其网页上也指出 Lnear Response theory 对 Magnetic 和 Metal 不适用。因此 CASTEP 不支持金属体系 NCPP+Linear Response 计算,也是有原因的。 采用 Quantum-Expresso 计算 PHONON ,可以完全得到与 CASTEP 一致的结论,即 Linear Response 不适用于金属体系。 下面给出 Na 的例子,有实验数据,势函数计算结果, NCPP+ Linear response , USPP+Finite element 结果,可以看到 Linear response 精度连势函数都不如,数值完全是错误的 声子计算的几种方法: 转自: http://emuch.net/html/200802/723527.html Practical schemes for phonon calculations (见 castep 说明) A good review of the existing schemes can be found in Baroni et al. (2001). The theoretical study of phonon properties has to rely on one of the three available methods for determining the force constants matrix: analytical calculations, supercell calculations or linear response calculations. The analytical approach is only viable when the energy model is sufficiently simple to allow a direct evaluation of the second derivatives of the energy with respect to atomic displacements (e.g., empirical pair potential models). Therefore, it is unsuitable for first principles calculations. Further alternatives such as extracting vibrational properties from molecular dynamics runs (Arias et al. 1992) are less transparent and noticeably more expensive. The supercell method involves perturbing the positions of the atoms slightly and calculating the reaction forces (Ackland et al. 1997). It is necessary to use supercells of the original cell when interatomic interaction in the system is long ranged. The main advantage of this method (and of the closely related frozen phonon technique) is that there is no need for a new formalism; any total energy scheme like CASTEP can be used to evaluate the forces at a number of carefully selected distorted configurations. The original frozen phonon scheme requires a displacement with the given wave vector and has been successfully used since the early 1980s (Yin and Cohen 1982, Ho et al. 1984). The force constants matrix evaluation in this formalism has been used to calculate interplanar force constants (Wei and Chou 1994) and thus phonon dispersion along high symmetry directions. More recent applications are based on the full reconstruction of the force constants matrix (Ackland et al. 1997, Parlinski et al. 1997, and references in Baroni et al. 2001). Linear response calculations seek to evaluate the dynamical matrix directly for a set of q vectors. The starting point of the linear response approach is evaluation of the second-order change in the total energy induced by atomic displacements. The main advantage of the scheme is that there is no need to artificially increase the cell size in order to accommodate small values of the q vectors, as in the frozen phonon method, or to overcome the long range interaction problem (force constants matrix from supercell calculations). A more detailed description of the linear response method can be found in Baroni et al. 2001. The CASTEP implementation is described in the Linear Response topic. 第一性原理计算声子方法及常见程序: 一,直接法: 直接法,或称 frozen-phonon 方法,是通过在优化后的平衡结构中引入原子位移,计算作用在原子上的 Hellmann-Feynman 力,进而由动力学矩阵算出声子色散曲线。用该方法计算声子色散曲线最早开始于 80 年代初。由于计算简便,不需要特别编写的计算程序,很多小组都采用直接法计算材料性质。直接法的缺陷在于它要求声子波矢与原胞边界 (super size) 正交,或者原胞足够大使得 Hellmann-Feynman 力在原胞外可以忽略不计。这使得对于复杂系统,如对称性高的晶体、合金、超晶格等材料需要采用超原胞。超原胞的采用使计算量急剧增加,极大的限制了该方法的使用。这种方法不能很好的预言 LO-TO splitting, 只有在计算了 Born effective charge 和 dielectric constant 之后,进一步考虑了 non-analyticity term ,才能计算出 ; 但 Direct Method 本身并不能给出 Born effective charge 和 dielectric constant. 所以这也是它的一个缺陷 . 目前 ,vasp+phonon 用的就是这种方法 . vasp+phonon (或者 PHON 或者 fropho ) VASP 能计算声子谱的都是采用一种直接的方法:构造超原胞,把原子移动一下,计算原胞中所有原子所受的力(这个根据体系的周期性,要多移动几个原子),然后根据这个力构造力常数矩阵。 1 , PHONON Software by Krzysztof PARLINSKI Phonon is a software (see list of Publications) for calculating phonon dispersion curves, and phonon density spectra of crystals, crystals with defects, surfaces, adsorbed atoms on surfaces, etc. from either a set of force constants, or from a set of Hellmann-Feynman forces calculated within an ab initio program (not included). One can use VASP, Wien2k, MedeA of Materials Design , Siesta, or other ab initio code which is able to optimize a supercell and calculate the Hellmann-Feynman forces. Phonon builds a crystal structure, using one of the 230 crystallographic space groups, finds the force constant from the Hellmann-Feynman forces, builds the dynamical matrix, diagonalizes it, and calculates the phonon dispersion relations, and their intensities. Phonon finds the polarization vectors, and the irreducible representations (Gamma point) of phonon modes, and calculates the total and partial phonon density of states. It plots the internal energy, free energy, entropy, heat capacity and tensor of mean square displacements (Debey-Waller factor). Phonon finds the dynamical structure factor for the coherent inelastic neutron scattering and the incoherent doubly differential scattering cross section for a single crystal and polycrystal. For polar cystals the LO/TO mode splitting can be included. Homepage : http://wolf.ifj.edu.pl/phonon/index.html 2 , PHON A program to calculate phonons using the small displacement method This program calculates force constant matrices and phonon frequencies in crystals. From the frequencies it also calculates various thermodynamic quantities, like Helmholtz free energy, entropy, specific heat and internal energy of the harmonic crystal. The procedure similar to the one described in Ref. , i.e. is based on the small displacement method. It needs a code capable to calculate forces on the atoms of the crystal. Homepage : http://chianti.geol.ucl.ac.uk/~dario/ E-mail: d.alfe@ucl.ac.uk Telephone: +44 (0)20 7679 2361 Fax: +44 (0)20 7679 5166 3 , fropho is the open source implementation of the frozen phonon method. Function: Phonon band structure Phonon DOS (Vibrational spectra) Thermal properties Mulliken notation assignment of vibration mode fropho is the frozen phonon analyzer mainly for first principles (ab initio) calculation. Periodic boundary condition is assumed. fropho gives good combinations with VASP code or another codes which can derive Hellmann-Feynman forces. Homepage : http://fropho.sourceforge.net/ Download: http://sourceforge.net ... oup_id=161614 Contact: atz.togo@gmail.com Authour: Atsushi Togo 二, DFPT 方法: 1987 年, Baroni 、 Giannozzi 和 Testa 提出了一种新的晶格动力学性质计算方法 -- 微扰密度泛函方法 (Density Function Perturbation Theory) 。 DFPT 通过计算系统能量对外场微扰的响应来求出晶格动力学性质。该方法最大的优势在于它不限定微扰的波矢与原胞边界 (super size) 正交,不需要超原胞也可以对任意波矢求解。因此可以应用到复杂材料性质的计算上。此外,能量对外场微扰的响应不仅可以推导出声子的晶体性质,还能求出弹性系数、声子展宽、拉曼散射截面等性质 , 这种方法本身就能算出 Born effective charge dielectric constant, 可以很好的预言 LO-TO splitting 甚至 Kohn anomalies 。这些优势使得 DFPT 一经提出就被广泛应用到了半导体、金属和合金、超导体等材料的计算上。比较常用的程序是 pwscf 和 abinit , castep 等采用的是一种 linear response theory 的方法(或者称为 density perturbation functional theory , DFPT ),直接计算出原子的移动而导致 的势场变化,再进一步构造出动力学矩阵。 VASP-INCAR文件-用于计算声子谱前的优化 System = Li-diamondoid_from_LiNH2_SG19_ 3 0GPa PREC = Accurate ENCUT = 650.0 LREAL = .False ISMEAR = 1 SIGMA = 0.05 EDIFF = 1E-7 EDIFFG = -1E-3 NSW = 50 ISIF = 3 IBRION = 2 PSTRESS = 300 VASP INCAR文件: DFPT in VASP- used to calculated phonon spectrum System = exp-LiN3_SG12 PREC = Accurate ENCUT = 400.0 LREAL = .False ISMEAR = 1 EDIFF = 1E-7 IBRION = 8 LWAVE = .FALSE LCHARG = .FALSE ADDGRID = .TRUE
个人分类: VASP|2707 次阅读|0 个评论
[转载]关于用超胞方法计算声子的一些经验
yxx554243496 2017-3-26 16:25
关于用超胞方法计算声子的一些经验 转自: http://blog.sina.com.cn/s/blog_7c63531f0101dbgq.html 【转自叶落鹰飞】_zlz4506_新浪博客 目前来说计算声子谱的计算主要还是基于supercell的方法【准确地说是不是应该理解为 有限位移法,如MS-CASTEP中所述】,主要是发展的时间比较长,发展的相对成熟一些。 另一种方法是基于线性响应的方法,该方法主要的好处(我个人经验):计算的结果相对可靠,收敛参数容易控制。只要能量截断和K点收敛了,计算的结果就比较可靠。 而且它可以计算任意q点的声子。 但缺点是有时低对称性的结构的低对称性q点不容易收敛【是啊,经常出现不容易收敛的情况,即使在gama点也出现很大的负频】。 而且对于大体系,计算速度也不是很快。代表软件:abinit, quantum espresso (pwscf)。 超胞法目前的主流软件是 phonon, phon, fropho, phonopy。 phonon计算的比较准确可靠, 但是要收费。 所以一般人都是选择后几种软件,因为都是免费的。 phon当时是 Dario Alfe 为了计算自由能而写的计算声子谱的软件。但是phon用起来还是比较麻烦的,需要自己写一些脚本。 Atsushi Togo 可 能是发现phon太麻烦,而写了fropho, 其实fropho就是相当于把phon重新包装一下。用起来简单多了。 里面用了大量的python和 ruby脚本。 估计够后来Atsushi Togo 把python用爽了, 又重写了该软件,完全python化了,这就是phonopy。 【phonopy的产生历史,写得很好。不了解历史,昨天Atsushi Togo给我回邮件,我还误以为是我的同学,居然问 他:Do you plan to go to class tonight?............晕死】 但天下没有免费的午餐,用免费的软件就是需要一定的经验积累。phon,fropho和 phonopy的使用的最大问题就是对于很多体系,会出现离奇的虚频,尤其是gamma点附近,很难算准 。 为了克服这个问题,我的建议是:在对原子进行distortion的时候【distortion是不是就是位移DISP 或新版的disp.yaml?】,一定要对原子加上负方向的移动, 这样虽然计算量增加了一倍,但计算会更准确和可靠。 对于phon: For central differences (LCENTRAL = .T.) the format of the file is the same, but there are twice as many displacements (for each displacement u there is also -u). 在INPHON里要加上 LCENTRAL = .T. , 这样就可以产生负方向的移动了。 对于fropho: More displacements to obtain precise frequencies You can specify displacements more than independent freedom to obtain precise eigenvalues (frequencies). This treatment works especially near -point. An effective example is displacements. If your DISP file is, 1 1.00 0.00 0.00 1 0.00 1.00 0.00 1 0.00 0.00 1.00 You can create displacements by hand (or use sed), e.g., 1 1.00 0.00 0.00 1 -1.00 0.00 0.00 1 0.00 1.00 0.00 1 0.00 -1.00 0.00 1 0.00 0.00 1.00 1 0.00 0.00 -1.00 This setting may be called 'plus-minus'. The plus-minus setting works to increase stability of phonon band structure even when the initial atomic geometry is not enough converged to the equilibrium position. Especially frequency equivalent to approximately zero is sensitive to this treatment. Sometimes fails when forces are converged too much. fropho就需要手动的在DISP文件里加上负方向就可以。 对于phonopy,目前Atsushi Togo 维护的比较好。 出这种问题较少。 其次, 我觉得实际扩胞的时候不用扩的非常大。 一般a,b,c扩的10埃左右就可以。 主 要还是原子受力要计算准确【怎样将受力计算准确?】。 所以当发现小的虚频的时候,还是在受力的计算的时候可以尝试增大K点。有的时候对于100个原子的 超胞, 我都用到了10*10*10 (但这还是少数情况). 【如果含有过渡金属原子的体系,是不是会将内存挤爆?】 但如果想要计算准确的自由能,还需要测试超胞大小,受力计算的k点,移动原子幅度的大小。比较麻烦,但又必须。 最后要想得到准确的结果,还需要多用几种软件,互相佐证。 当然如果不差钱的话,可以买phonon,确实很好用。 但是如果想提高自己的话,可以用其它免费的软件。
个人分类: VASP计算|2465 次阅读|0 个评论
[转载]Phonopy计算声子谱
yxx554243496 2017-3-26 16:20
Phonopy计算声子谱 转自: http://blog.sina.com.cn/s/blog_7c63531f0101dbgs.html Phonopy 是一个由 python 实现的晶体声子分析程序。它是目前提供了 VASP 的 Wien2k 的接口用来计算原子受力。它的主要功能有:【解读是通过有限位移法吧?】 计算声子色散谱; 计算声子态密度,包括分立态密度 : 声子热力学性质,包括自由能,热容量,焓; Phonopy 通过力常数的方法计算声子谱。力常数由计算原子在超晶胞中被移动后的受力得到 (Parlinsk-Li-Kawasoe 方法 ) 。 同样类型的程序还有 phon, fropho, phonon. 其中 phonon 是商业软件,卖的很贵, fropho 和 phonopy 的代码其实都是来自于 phon, fropho 是为了代替 phon 而开发的,目的是为了使用 phon 更方便, phon 和 fropho 主要都是由 fortran 开发的,而现在 fropho 已经停止开发,由 python 开发的 phonopy 代替了 fropho, phonopy 在使用上更为方便,在计算量上更为减少。因为 phon, fropho 和 phonon 在移动原子位置时都是一次只移动一个原子的一个方向, 而 phonopy 则可以一次移动一个原子的多个方向,所以和其它程序相比 , phonopy 最多可以减少 2/3 的计算量。 Phonopy 是使用 python 以及 C 等高级语言编写的用于计算声子谱的程序, 它可以很方便地在现有的 unix 或 linux 操作系统上进行安装 【在 slackware 上很难安装】。 它利用 VASP 等第一性原理计算程序来计算有限位移下的原子受力, 【 vasp 的这一步自洽计算很重要,在自洽之前的优化必须加入力的收敛!】,然后利用 phonopy 程序处理原子受力获得声子谱。 Phonopy 使用 python 的 matplotlib 等工具包来绘图,因此在使用 Phonopy 绘制声子谱等图形时,要求系统有图形用户界面,对于远程机器,需要安装 x-manager 来获得虚拟的图形用户界面,方法如下: 在自己的 pc 机安装 windows 版本的 Xmanager (推荐使用 Xmanager4 或以上版本)。 Xmanager 安装完成后启动 xstart 设置,输入登陆主机 IP 及账号信息,点击 run 以后会打开一个终端,在这个终端下运行命令即可绘图 工作流程 Phonopy 程序工作流程主要分为前处理、 力计算( VASP )或力常数计算( VASP-DFPT 计算) 【由这个力计算能否得到应力、应变数据】、后处理三部分。 【 mesh sampling 是什么意思?】 输入文件【 2012-6 】 参数设定文件 Phonopy 中,输入参数写在一个文件里,然后通过命令【新版的 phonopy 】 phonopy xxx.conf 传输给 phonopy 程序,该文件名可以是任意的(一般为 xxx.conf ,便于识别,如绘制声子谱时参数设定文件命名为 band.conf , 绘制 DOS 时参数设定文件设定为 dos.conf 等 )。 常用参数如下 ATOM_NAME 用于设定元素名称,中间用空格隔开,注意顺序与 POSCAR 中保持一致。 示例 : ATOM_NAME = Si O EIGENVECTORS 逻辑变量,当取值为 .TRUE. 时,程序将计算所有本征频率对应的本征波矢(可以用来制作动画),当加入选项 -p 时,还会计算相应的 pDOS 。【 pDOS 是什么意思?】 MASS 用来指定原子的质量(同 POSCAR 中原子顺序保持一致),一般可以不指定。 示例: MASS = 28.085 28.085 16.000 16.000 16.000 16.000 DIM 用来指定生成超原胞的大小 示例: -- dim=”m n l” 【 ATOM_NAME = Si O DIM = 2 2 3 MP = 8 8 8 】 声子谱计算相关参数 BAND BAND_POINTS 结构文件( POSCAR ) 在 phonopy 中,结构文件写成 VASP 的 POSCAR 文件的格式,除了旧版本的 POSCAR 格式外, phonopy 还支持 VASP 5.X 的 POSCAR 格式, 即在原子数之前增加一行指明元素类型 如果改变该文件名,在读取的时候需要另行指定(例如改为 POSCAR-unitcell ,则在运行命令时需要加上选项 -c POSCAR-unitcell )。 注意:在指定实空间或倒空间中的坐标时,可以采用分数形式,但是在分数线左右不能留有空格。 力文件( FORCE_SET ) 该文件由 phonopy 根据力计算得到的 vasprun.xml 文件生成,生成命令为【需要 disp.yaml 文件】 phonopy -f 给出超原胞中原子发生有限位移产生的力的集合。每个超原胞中包含一个发生位移的原子。 该文件的格式如下: 第一行给出超原胞中的原子数,第二行给出需要计算的超原胞数目(每个超原胞中包含一个发生位移的原子),然后分块写出每个原子位移导致的力(每一块包含一个超原胞中由于一个原子发射位移导致所有原子收到的力), 在每一块中,第一行给出超原胞序数,第二行给出原子位移,然后依次给出各原子的受力。空行将被程序忽略。力和原子位移都采用笛卡尔坐标。 力常数文件( FORCE_CONSTANT ) 该文件由 phonopy 读取 dfpt 计算得到的 vasprun.xml 生成,生成命令为 phonopy –fc Born (可选) 该文件和 --nac 以及 --nac-old 选项配合使用 Format 在该文件中,第一行的第一个数值为单位转换系数,在 VASP 中,这一数值可能为 27.2116 × 0.52918 。第二个数值只有使用 --nac_old 选项的时候才会用到,它代表一个阻尼系数 (默认值为 2.5 ),这个参数一般可以忽略。 第二行指定介电常数张量的九个分量,第三行, 输出文件 Phonopy 中的输出文件 band.yaml mesh.yaml qpoints.yaml thermal_properties.yaml total_dos.dat 和 partial_dos.dat 具体步骤 以 VASP 为接口, phonopy 有两种工作方式:一种是有限位移方法,即只利用 VASP 来计算力; 另一种是 DFPT (密度泛函微扰理论)方法,利用 VASP 计算得到 Hessian 矩阵(写在 vasprun.xml 里),然后由 phonopy 读取 Hessian 矩阵并生成力常数文件,由此可以计算出体系的声子谱、频谱态密度、热力学性质等 。 利用 VASP 计算力来获得声子谱的步骤如下 准备 POSCAR 文件,一般 POSCAR 中为一个单胞,然后运行命令 phonopy-d --dim=”m n l” 即可生成一个 SPOSCAR 文件,其中包含的结构为由指定单胞扩展得到的 m ×n×l 的超原胞,此外还会生成 disp.yaml 以及 POSCAR-{number} 等文件,前者包含所有的位移信息,后者则表示发生不同位移的超原胞(文 件名序号与 disp.yaml 中【老版中为 DISP 文件】指定位移的顺序一致 ) 注意:由于 phonopy 生产超原胞和位移时没有 POTCAR 文件,所以【执行 phonopy -d --dim=”m n l ” 命令前;这是重要的经验总结 】需要在 POSCAR 的第一行中依次指明各元素名,这与普通的 POSCAR (第一行为注释行)是不一样的,而 POSCAR 也可以采用 VASP5.2 及以上的写法,即在晶格基矢后增加一行指明各元素名称。 力计算 ,计算发生指定有限位移时的原子受力。在 VASP 中,直接采用 POSCAR-{number} 作为 POSCAR 计算每个指定位移下的原子受力。可以参考以下的 INCAR PREC =Accurate IBRION = -1 ENCUT = 500 EDIFF =1.0e-08 ISMEAR= 0; SIGMA = 0.01 IALGO= 38 LREAL= .FALSE. ADDGRID = .TRUE. LWAVE = .FALSE. LCHARG = .FALSE. 注意在计算中不要弛豫结构( IBRION=-1 ,静态计算) 后处理,主要分三步:利用力计算中得到的力来计算力常数;利用力常数构造动力学矩阵;利用动力学矩阵计算声子谱(包括本征频率及相应的本征波矢)。 在这一步开始前,可以准备如下文件 mesh.conf 【不解之处, mesh.conf 文件的作用何在】 ATOM_NAME= Si O DIM = 2 2 3 MP = 8 8 8 运行命令 phonopy -p mesh.conf 计算态密度 运行命令 phonopy -t mesh.conf 计算热力学性质 ( 自由能 —— 单位 J/mol , 熵 —— 单位 J/K/mol , 热容 —— 单位 J/K/mol ) 运行命令 phonopy –t -p mesh.conf 绘制热力学相关参数(热容、熵、自由能)随温度 T (热力学温标)变化的曲线 利用 VASP 的 DFPT 方法计算声子谱的步骤如下: 建立初始结构 POSCAR (或其他指定的文件如 POSCAR-unitcell ) 运行命令 phonopy–d –dim=m n l 创建一个 m×n×l 的超原胞(存在 SPOSCAR 文件中)。在这一方法中 POSCAR-{number} 和 disp.yaml 都不会用到。 将 phonopy 创建的 SPOSCAR 复制到 POSCAR 中,运行 VASP 进行 DFPT 计算 (注意: VASP 的 DFPT 只能计算 点的力常数!是否有影响?) , INCAR 的参考设定为 PREC = Accurate ENCUT = 500 IBRION = 8 EDIFF = 1.0e-08 IALGO = 38 ISMEAR = 0; SIGMA = 0.1 LREAL = .FALSE. ADDGRID =.TRUE. LWAVE =.FALSE. LCHARG =.FALSE. (注意:此处在 INCAR 中设定 IBRION=8 ,根据 VASP 说明书,设定 IBRION=7 或 8 可以进行 DFPT 计算并得到 Hessian 矩阵,但是只有在 VASP5.1 及更高版本中才可以进行该计算) 确定 VASP 计算得到的 vasprun.xml 文件中包含 Hessian 矩阵元素,然后运行命令 phonopy --fc vasprun.xml 生成力常数文件 FORCE_CONSTRAINTS 绘制声子谱:在参数设定文件 band.conf 中设定 FORCE_CONSTRAINTS= READ (或者在运行命令时加上选项 --readfc ),然后运行命令 phonopy--dim=m n l -c POSCAR-unitcell band.conf (如果原胞文件为 POSCAR 则不需指定)
个人分类: VASP计算|9055 次阅读|0 个评论
phonopy + vasp 算声子
fxl91 2016-4-7 09:30
!phonopy有个网站,上面有很多东西可以学习! phonopy -d --dim = 2 2 3 扩胞,原则是a, b, c 都大于10, 原子数不少于70个。 要保证扩胞后的空间群和扩胞前的一致, 如果有必要, 可以设置精度:--tolerance = 0.01 对扩胞后的结构跑vasp, 提任务脚本:job.sh: #/bin/sh for i in 13 14 15 16 do mkdir $i cp IN* POT* vasp.pbs $i cp POSCAR-0$i $i/POSCAR cd $i qsub vasp.pbs cd .. done 待所有的POSCAR都跑完(有时无法生成力文件就是因为个别POSCAR没跑完), 就可以提出数据画图了: 要所有的vasprun.xml 文件:(脚本cp.sh) #/bin/sh for i in 17 18 19 20 21 22 23 24 do cp $i/vasprun.xml ./vasprun.xml-0$i done phonopy -f vasprun.xml* 生成力文件。 准备INPHON: ATOM_NAME = Li B C DIM = 2 2 3 #LSUPER = .TRUE. #MP=20 20 20 #ND=7 #NPOINTS=50 #QI = 0.0 0.0 0.0 0.0 0.0 0.5 -0.333 0.667 0.5 -0.333 0.667 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.5 0.5 #QF = 0.0 0.0 0.5 -0.333 0.667 0.5 -0.333 0.667 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.5 0.5 -0.333 0.667 0.5O BAND = 0.0 0.0 0.0 0.0 0.0 0.5 -0.5 0.0 0.5 -0.5 0.0 0.0 -0.5 0.5 0.0 0.0 0.5 0.0 0.0 0.5 0.5 -0.5 0.5 0.5 BAND_POINTS = 51 phonopy -p INPHON, 直接可以看下图。 bandplot --gnuplot phon.dat , 导出数据,命名为phon.dat, 在origin 里可以画声子图。 扩胞后只有一个POSCAR, 影响计算声子。解决办法如下: 创建文件 INPHON-dis: DIM = ? ? ? PM = .TRUE. CREATE_DISPLACEMENTS = .TRUE. 只写这三个 然后phonopy INPHON-dis POSCAR ZPE: zero-point-energy叫零点振动能: 我理解就是:0K下,原子有量子效应, 也震动,那个震动的能量就是ZPE。 计算的enthalpy+ZPE可以认为是自由能。 你计算的enthalpy+ZPE可以认为是自由能 声子计算完之后的数据处理过程: cp INPHON INPHON-dos 在INPHON-dos里,加上MP = 8 8 8 (#8 8 8 是你要用的网格。K点644,网格用20 10 10吧);BAND的全屏蔽掉 phonopy -t INPHON_dos, 得到thermal_properties.yaml就可以读出ZPE:最上面free energy就是zPE, kj/mol换成eV乘以0.010364,这是所有原子的,相应转换就行了。 PdDOS: phonopy -t -p INPHON_dos,这样zpe和dos都出来了 数据处理:bandplot --gnuplot mesh.yaml phdos.dat http://atztogo.github.io/phonopy/vasp.html#vasp-dfpt-interface 王晖老师建议用线性相应理论来算声子, 这个只有一个结构,和之前的方法不同。按照上述链接可以做, 我还没有试过。 由于super cell方法计算有可能造成由于扩胞不够大而导致的Gamma点出现非真实虚频的情况, 所以,通常我们认为,扩的超胞越大,算得越准。但是我zai 这里发现反常, 如下图。左侧为2*2*1supercell, 右侧为3*3*1supercell。我认为是右侧的没有算准,因为supercell 的a,b,c 差别较大导致的。 zzu002@mu01old]$ head 221/SPOSCAR SPOSCAR 1.0 7.4527997969999999 0.0000000000000000 0.0000000000000000 0.0361351390000000 7.4527121954000002 0.0000000000000000 0.0000000000000000 0.0000000000000000 7.6539001464999998 32 32 Direct 0.3838950100000000 0.1161049975000000 0.5000000000000000 0.8838950100000000 0.1161049975000000 0.5000000000000000 0.3838950100000000 0.6161049975000000 0.5000000000000000 $ head 331/SPOSCAR SPOSCAR 1.0 11.1791996954999995 0.0000000000000000 0.0000000000000000 0.0542027085000000 11.1790682931000003 0.0000000000000000 0.0000000000000000 0.0000000000000000 7.6539001464999998 72 72 Direct 0.2559300066666667 0.0774033316666667 0.5000000000000000 0.5892633400000000 0.0774033316666667 0.5000000000000000 0.9225966733333334 0.0774033316666667 0.5000000000000000 因此,在扩胞时,要尽量使超胞的a,b,c 接近。
个人分类: 我的学习笔记|10993 次阅读|0 个评论
[转载]Phonopy计算声子热力学性质
xiaoyutianya 2015-6-10 15:36
以 VASP 为接口, phonopy 有两种工作方式:一种是有限位移方法,即只利用 VASP 来计算力; 另一种是 DFPT (密度泛函微扰理论)方法,利用 VASP 计算得到 Hessian 矩阵(写在 vasprun.xml 里),然后由 phonopy 读取 Hessian 矩阵并生成力常数文件,由此可以计算出体系的声子谱、频谱态密度、热力学性质等 。 方法一: 有限位移法 利用 VASP 计算力来获得声子谱的步骤如下 准备 POSCAR 文件,一般 POSCAR 中为一个单胞,然后运行命令 phonopy -d --dim=N1 N2 N3 即可生成一个 SPOSCAR 文件,其中包含的结构为由指定单胞扩展得到的 m ×n×l 的超原胞,此外还会生成 disp.yaml 以及 POSCAR-{number} 等文件,前者包含所有的位移信息,后者则表示发生不同位移的超原胞 下面就用这些生成的POSCAR-*,在vasp下计算指定位移下的原子受力。。 INCAR设置如下: PREC =Accurate IBRION = -1 ENCUT = 500 EDIFF =1.0e-08 ISMEAR= 0; SIGMA = 0.01 IALGO= 38 LREAL= .FALSE. ADDGRID = .TRUE. LWAVE = .FALSE. LCHARG = .FALSE. 然后运行命令 phonopy -f vasprun-* 生成FORCES_SET文件,下面就可以进行数据处理。 写mesh.conf文件,如下格式: ATOM_NAME= ATOM1 ATOM2 DIM = N1 N2 N3 MP = M1 M2 M3 运行命令: phonopy -p mesh.conf 得到态密度 phonopy -t mesh.conf 计算热力学性质 ( 自由能 —— 单位 J/mol , 熵 —— 单位 J/K/mol , 热容 —— 单位 J/K/mol ),性质文件在thermal_properties.yaml文件中。 方法二: DFPT法 计算步骤: 首先需要4个输入文件: 1. mesh.conf, 2. vasprun.xml, 3. POSCAR, 4. FORCE_CONSTANT mesh.conf如下设置: ATOM_NAME = ATOM1 ATOM2 DIM = N1 N2 N3 FORCE_CONSTANTS = READ MP = M1 M2 M3 GAMMA_CENTER = .TRUE. TPROP = .TRUE. FORCE_CONSTANT是在vasp-DFPT计算下得到的vasprun.xml文件处理后得到 首先 cp POSCAR POSCAR-unitcell phonopy -d --dim=N1 N2 N3 -c POSCAR-unitcell 生成POSCAR-00*,然后cp SPOSCAR POSCAR 做下面的计算。 vasp-DFPT计算是INCAR如下设置: PREC = Accurate ENCUT = 500 IBRION = 8 EDIFF = 1.0e-08 IALGO = 38 ISMEAR = 0; SIGMA = 0.1 LREAL = .FALSE. ADDGRID = .TRUE. LWAVE = .FALSE. LCHARG = .FALSE. 运行: phonopy -fc vasprun.xml 得到FORCES_CONSTANT文件 到这里文件准备完毕,然后运行: phonopy -t mesh.conf 会得到热力学性质文件: thermal_properties.yaml zero_point_energy (ZPE) 单位: kJ/mol/unit cell 注意这个unit cell是POSCAR而不是SPOSCAR。 很感谢http://blog.sciencenet.cn/home.php?mod=spaceuid=567091do=blogid=726895和http://blog.sina.com.cn/s/blog_7c63531f0101dbgs.html两篇博客
个人分类: Phonopy计算学习|44 次阅读|0 个评论
Phonopy 参数调节
zhanghuia0401 2014-8-20 11:23
1 对称性过低 有些VASP优化后的结构原子坐标不够严格,Phonopy找出的对称性过低,会产生出较多的位移,可以通过以下参数来调节。 phonopy -d --dim=“2 2 2 --tolerance=0.04 数值越小对结构要求越高,越大找出的对称性越高。 需要注意的是后面的计算仍然需要加上同样的参数。 2 虚频 A 增大超胞以及K点、截断能,以期收敛。 B G点虚频可通过FC_SYMMETRY参数消去: DIM = 4 4 1 NPOINTS = 51 BAND = 0 0 0 0 0.5 0 -0.333 0.667 0 0 0 0 BAND_LABELS = G M K G FC_SYMMETRY = 100
3933 次阅读|0 个评论
phonopy1.7.4的安装及热力学计算
DonarF1 2013-12-26 22:40
参考: http://blog.sina.com.cn/s/blog_4aba6f3d0100wjoe.html 先python2.7的安装 ./configure --prefix=/home/ljzhou86/app/python2.7 make make install vi ~/.bashrc export PATH=$PATH:/home/ljzhou86/app/python2.7:/home/ljzhou86/app/python2.7/bin phonopy计算所需要的模板的安装: cd /home/ljzhou86/software/phonopy-1.6.4-pre/numpy-1.6.1 python setup.py install --home=/home/ljzhou86/app/python2.7 cd .. cd /home/ljzhou86/software/phonopy-1.6.4-pre/matplotlib-0.99.1.1 python setup.py install --home=/home/ljzhou86/app/python2.7 cd .. 再进入PyYAML-3.01 ; lxml-2.2.4的目录,同样运行: python setup.py install --home=/home/ljzhou86/app/python2.7 cd .. Phonopy的安装: cd /home/ljzhou86/software/phonopy-1.6.4-pre/phonopy-1.7.4 python setup.py install --home=/home/ljzhou86/app/phonopy-1.7 vi ~/.bashrc export PYTHONPATH=/home/ljzhou86/app/python2.7/lib/python:/home/ljzhou86/app/phonopy-1.7/lib/python 自由能计算 band.conf ATOM_NAME = Th As Rb O #Mass = 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 63.546 79.904 79.904 79.904 79.904 79.904 79.904 79.904 79.904 79.9 04 79.904 79.904 79.904 79.904 79.904 79.904 79.904 79.904 79.904 DIM=1 1 1 #BAND=0.0 0.5 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.5 0.5 0.0 0.0 0.0 0.0 MP= 7 3 5 #BAND_POINTS = 101 #BAND_LABELS = X \Gamma Y M \Gamma BAND_CONNECTION = .TRUE. #FC_SYMMETRY = 100 phonopy -f vasprun.xml-* phonopy -t band.conf --tmax=1200 --tstep=5 CsP.therm 吉布斯自由能计算脚本: #!/bin/bash #PBS -j oe #PBS -l feature=mpp1 #PBS -l nodes=4:ppn=24 #PBS -l walltime=12:00:00 #PBS -q mpp1q # mpp1q, smp1q, dataq, post1q, mpp1testq, smp1testq #PBS -A hbp00027 module load vasp/5.3.3 module load phonopy/1.8.4.2-rc3 cd $PBS_O_WORKDIR mkdir 01free for i in -0.1 -0.08 -0.06 -0.04 -0.02 0.02 0.04 0.06 0.08 0.1 #for i in 0.1 0.20 0.3 0.4 0.6 0.7 0.8 0.9 do #echo $i | defvector.x #cp fort.3 POSCAR.$i cp POSCAR.$i POSCAR mkdir m$i cp INCAR POSCAR.$i therm.conf POTCAR KPOINTS m$i cd m$i cp POSCAR.$i POSCAR phonopy -d --dim=2 2 1 for a in 01 02 03 04 05 06 do cp POSCAR-0$a POSCAR aprun -n 96 vasp_cd out.vasp cp vasprun.xml vasprun.xml-$a done phonopy -f vasprun.xml-* cp POSCAR.$i POSCAR phonopy -t therm.conf --tmax=1000 --tstep=5 cp thermal_properties.yaml thermal_properties-$i.yaml cp thermal_properties-$i.yaml ../01free cp out.vasp out.vasp-$a cp OUTCAR OUTCAR-$a cd .. aprun -n 96 vasp_cd out.vasp cp OUTCAR OUTCAR.$i vol=`grep vol OUTCAR |tail -1|awk '{print $5}'` echo ENCUT = $i eV ; time vasp E=`grep TOTEN OUTCAR | tail -1 | awk '{printf %12.6f \n, $5 }'` echo $vol $E e-v.dat done
个人分类: python|7734 次阅读|0 个评论
在Redhat上安装phonopy并打包成独立的可执行文件
ywmucn 2012-11-17 20:59
将源文件都放在 /share/apps/source/phonopy/,源文件包括: phonopy-1.6.2.tar.gz,Python-2.7.3.tgz,numpy-1.5.1.tar.gz,scipy-0.11.0.tar.gz,lxml-3.0.1.tar.gz, matplotlib-1.2.0.tar.gz,PyYAML-3.09.tar.gz,PyInstaller-2.1.tar.gz ,可能还需要 libxml2-2.7.2.tar.gz, libxslt-1.1.28.tar.gz (注意:不要使用Python3.x,Python3.x与python2.x在语法上有重大改动,比如在python2.x中输出字符串使用 print “Hello”,但在python3.x中不识别了,要写成 print (“Hello”),phonopy-1.6.2不支持Python3.x,我被坑惨了,全部重来,推荐Python2.4及以上) 1) 解压源文件: cd /share/apps/source/phonopy tar -xvf Python-2.7.3.tgz tar -xvf numpy-1.5.1.tar.gz tar -xvf scipy-0.11.0.tar.gz tar -xvf matplotlib-1.2.0.tar.gz tar -xvf lxml-2.3.4.tar.gz tar -xvf PyYAML-3.10.tar.gz tar -xvf PyInstaller-2.1.tar.gz 2)Python 安装 cd /share/apps/source/phonopy cd Python-2.7.3 ./configure --enable-shared --prefix=/share/apps/python2.7 make make install 注意:不加 --enable-shared 参数将编译静态的python,无法使用PyInstall的打包。 export PATH=/share/apps/python2.7/bin:$PATH export LD_LIBRARY_PATH=/share/apps/python2.7/lib:$LD_LIBRARY_PATH which python2.7 查看是否找到python2.7 3)Numpy和scipy的安装(提前做好ifort和MKL的环境变量,PATH及LD_LIBRARY_PATH) cd /share/apps/source/phonopy/numpy-1.5.1 cp site.cfg.example site.cfg ---------------------------------------- 修改 site.cfg 将 # # library_dirs = /opt/intel/mkl/10.0.1.014/lib/32/ # lapack_libs = mkl_lapack # mkl_libs = mkl, guide 改为(根据实际情况修改): library_dirs = /share/apps/intel/intel2/ifc/mkl/lib/em64t include_dirs = /share/apps/intel/intel2/ifc/mkl/include mkl_libs = mkl_def, mkl_intel_lp64, mkl_intel_thread, mkl_core, mkl_mc lapack_libs = mkl_lapack95_lp64 ------------------------------------------------------------- python2.7 setup.py build --fcompiler=intelem (使用的是intel fortran编译器,可用python2.7 setup.py build --help-fcompiler来查看可使用的编译器。最好能在环境变量中能找到ifort) python2.7 setup.py install --home=/share/apps/python2.7/pymodule 下一步是关键: export PATH=/share/apps/python2.7/bin:/share/apps/python2.7/pymodule/bin:$PATH export PYTHONPATH=/share/apps/python2.7/pymodule/lib/python 让python知道到哪里去找模块,测试python是否能够调用numpy cd .. ( 退出 numpy的目录 ) 执行 python2.7 进入python界面 执行 import numpy 然后执行 numpy 看是否出错,若有类似 module 'numpy' from '/share/apps/python2.7/pymodule/lib/python/numpy/__init__.py'的语句表示调入numpy成功, 执行 numpy.show_config()查看blas库等是否能找到。 然后输入exit()退出python界面。 cd /share/apps/source/phonopy/scipy-0.11.0 将 Numpy下的 site.cfg 复制过来 python2.7 setup.py build --fcompiler=intelem python2.7 setup.py install --home=/share/apps/python2.7/pymodule 测试方法与Numpy相同。 4)Matplotlib的安装 cd /share/apps/source/phonopy/matplotlib-1.2.0 python2.7 setup.py install --home=/share/apps/python2.7/pymodule 5)lxml 的安装 cd /share/apps/source/phonopy/lxml-3.0.1 python2.7 setup.py install --home=/share/apps/python2.7/pymodule 若发现 error: command 'gcc' failed with exit status 1 之类的错误,这是因为lxml对 libxlst和libxml2有依赖,二者安装如下(参考 http://www.coder4.com/archives/3660): cd /share/apps/source/phonopy/ tar -xvf libxml2-2.7.2.tar.gz cd libxml2-2.7.2 ./configure --prefix=/share/apps/sharelib --without-python make make install 然后 cd /share/apps/source/phonopy/ tar -xvf libxslt-1.1.28 .tar.gz cd libxslt-1.1.28 ./configure --prefix=/share/apps/sharelib --without-crypto --without-python --with-libxml-prefix=/share/apps/sharelib make make install cd /share/apps/source/phonopy/lxml-3.0.1 python2.7 setup.py build --with-xslt-config=/share/apps/sharelib/bin/xslt-config python2.7 setup.py install --home=/share/apps/python2.7/pymodule export LD_LIBRARY_PATH=/share/apps/sharelib/lib:$LD_LIBRARY_PATH 6)PyYAML的安装 cd /share/apps/source/phonopy/PyYAML-3.10 python2.7 setup.py install --home=/share/apps/python2.7/pymodule 7)编译 phonopy cd /share/apps tar -xvf /share/apps/source/phonopy/phonopy-1.6.2.tar.gz cd phonopy-1.6.2 python2.7 setup.py install --home=. export PATH=/share/apps/phonopy-1.6.2/bin:$PATH export PYTHONPATH=/share/apps/python2.7/pymodule/lib/python:/share/apps/phonopy-1.6.2/lib/python 执行phonopy测试, _ _ __ | |__ ___ _ __ ___ _ __ _ _ | '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | | | |_) | | | | (_) | | | | (_) || |_) | |_| | | .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, | |_| |_| |___/ 1.6.2 POSCAR could not be found. _ ___ _ __ __| | / _ \ '_ \ / _` | | __/ | | | (_| | \___|_| |_|\__,_| 8)环境变变量汇总, export LD_LIBRARY_PATH=/share/apps/python2.7/lib:/share/apps/sharelib/lib:$LD_LIBRARY_PATH export PATH=/share/apps/python2.7/bin:/share/apps/python2.7/pymodule/bin:/share/apps/phonopy-1.6.2/bin:$PATH export PYTHONPATH=/share/apps/python2.7/pymodule/lib/python:/share/apps/phonopy-1.6.2/lib/python 可以将这些环境变量写入一个文件,使用phonopy之前调用一次做一下环境变量。 9)使用PyInstall将Phonopy打包, cd /share/apps/phonopy-1.6.2/bin 看到一堆phonopy 相关命令 bandplot dispmanager gruneisen outcar-born pdosplot phonopy phonopy-FHI-aims phonopy-qha propplot tdplot cd /share/apps/PyInstaller-2.1 执行 python2.7 pyinstaller.py --onefile /share/apps/phonopy-1.6.2/bin/phonopy 在但当前目录下会声生成一个phonopy目录,在./phonopy/dist下生成生成一个可执行可执行文件phonopy, 这是一个独立的不依赖于python的程序。 其它的命令用类似方法生成。 ----------------------------------------------------------- 主要参考: http://emuch.net/html/201208/4874998.html http://hi.baidu.com/zhxlhdd2008/item/183ba9c8fc1f4b54ac00efc6 http://www.coder4.com/archives/3660 http://blog.sun.tc/2010/11/numpy-and-scipy-with-intel-mkl-on-linux.html
个人分类: VASP|7299 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-17 13:58

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部