Re: [Phonopy-users] need help generating force constants
Brought to you by:
atztogo
From: Atz T. <atz...@gm...> - 2011-02-01 00:09:44
|
Hi, You need to create a file containing sets of forces and displacements, which is FORCES created by -f option, but not --fc option. Force constants are calculated in the next step. Togo On Tue, Feb 1, 2011 at 7:48 AM, Amanda Stott <co...@gm...> wrote: > Hi, > > I am not sure that I understand how to create force constants. I am > following the example and have generated the DISP, SOPSCAR, and > POSCAR-{number} files for several test systems. However when I get to the > second step, creating force constants, I receive the error: > > File "/usr/local/bin/phonopy", line 189, in <module> > atom_types = create_force_constants( args[0], mode='vasprun' ) > File "/usr/local/lib/python2.6/dist-packages/phonopy/__init__.py", line > 527, in create_force_constants > file_IO.read_force_constant_vasprun_xml( filename ) > File "/usr/local/lib/python2.6/dist-packages/phonopy/file_IO.py", line > 201, in read_force_constant_vasprun_xml > return vasp.get_force_constants_vasprun_xml( vasprun ) > File "/usr/local/lib/python2.6/dist-packages/phonopy/vasp.py", line 71, in > get_force_constants_vasprun_xml > num_atom = fc_tmp.shape[0] / 3 > IndexError: tuple index out of range > > > Am I doing something wrong in the calculation of the vasprun.xml file? Could > you send an example file for me to create force constants? > > Thanks, > -- > Amanda Stott > Graduate Research and Teaching Assistant > The University of Alabama > Department of Chemistry > Tuscaloosa, AL 35487-0336 > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Phonopy-users mailing list > Pho...@li... > https://lists.sourceforge.net/lists/listinfo/phonopy-users > > -- Atsushi Togo http://atztogo.users.sourceforge.net/ atz...@gm... |