VASP manual
Moderators: Global Moderator, Moderator
VASP manual
You can use p4vasp to plot the bandstructure from the vasprun.xml
Last edited by Anonymous on Thu Oct 07, 2004 12:26 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
VASP manual
if you are looking for examples for the most typical problems you might want to calculate,
please have a look at the examples and excercises given at the VASP workshop
held in spring 2003:
you can download the
-- tutorials of the given lectures (.pdf) and the
-- inputs of all excercises (.tgz)
from our web-site:
http://cms.mpi.univie.ac.at/vasp-workshop
concerning the visualisation of VASP results (structures, DOS, bandstructures), it is recommended to use p4vasp, a visualisation
tool developed by O. Dubay. Please have a look at the p4vasp site.
You can reach it via the institute's homepage or directly,
http://cms.mpi.univie.ac.at/odubay/p4vasp.html
please have a look at the examples and excercises given at the VASP workshop
held in spring 2003:
you can download the
-- tutorials of the given lectures (.pdf) and the
-- inputs of all excercises (.tgz)
from our web-site:
http://cms.mpi.univie.ac.at/vasp-workshop
concerning the visualisation of VASP results (structures, DOS, bandstructures), it is recommended to use p4vasp, a visualisation
tool developed by O. Dubay. Please have a look at the p4vasp site.
You can reach it via the institute's homepage or directly,
http://cms.mpi.univie.ac.at/odubay/p4vasp.html
Last edited by admin on Tue Nov 23, 2004 1:47 pm, edited 1 time in total.
-
- Newbie
- Posts: 3
- Joined: Wed Nov 16, 2005 9:15 am
VASP manual
I'd like to second the request for more information about how to calculate band structure. The workshop examples are good on many other topics, but for band structure, all of the important details are missing. I assume they were explained to participants in the workshop, but they are missing from the slides. Which files need to be copied from the self-consistent run? Where are the bands? in EIGENVAL? The example files are in different directories; which files are important, and which ones get overwritten? Sorry if these are dumb questions from a newbie.
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
<span class='smallblacktext'>[ Edited Sun Nov 20 2005, 12:33PM ]</span>
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
<span class='smallblacktext'>[ Edited Sun Nov 20 2005, 12:33PM ]</span>
Last edited by wistey on Sat Nov 19, 2005 1:22 pm, edited 1 time in total.
-
- Newbie
- Posts: 19
- Joined: Fri Nov 11, 2005 4:26 pm
- Location: University of South Florida
- Contact:
VASP manual
GNUPLOT also works, it has some clever features, plots columns of data. It is free to download from http://www.gnuplot.info/
+it works on mac ...
+it works on mac ...
Last edited by fabella on Sun Nov 20, 2005 11:32 pm, edited 1 time in total.
VASP manual
[quote="wistey"]I'd like to second the request for more information about how to calculate band structure. The workshop examples are good on many other topics, but for band structure, all of the important details are missing. I assume they were explained to participants in the workshop, but they are missing from the slides. Which files need to be copied from the self-consistent run? Where are the bands? in EIGENVAL? The example files are in different directories; which files are important, and which ones get overwritten? Sorry if these are dumb questions from a newbie.
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
Last edited by atreyee on Fri Feb 10, 2006 3:09 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
VASP manual
for a bandstructure run:
1) the ionic and electronic structures have to be converged.
2) continue with CONTCAR and CHGCAR from the last step
(set ICHARG=11) and set up a KPOINTS file like shown in the
VASP-workshop handson examples (subdirectories
2_3_fccSi_band or 3_3_Ni100clean_BAND)
3) for plotting, either use the p4vasp tool, or some utility which
prepares and plots the information of the EIGENVAL file
4) concerning the band structures of supercells: please mind
the (un)folding of the Brillouin zone!
1) the ionic and electronic structures have to be converged.
2) continue with CONTCAR and CHGCAR from the last step
(set ICHARG=11) and set up a KPOINTS file like shown in the
VASP-workshop handson examples (subdirectories
2_3_fccSi_band or 3_3_Ni100clean_BAND)
3) for plotting, either use the p4vasp tool, or some utility which
prepares and plots the information of the EIGENVAL file
4) concerning the band structures of supercells: please mind
the (un)folding of the Brillouin zone!
Last edited by admin on Fri Feb 10, 2006 4:26 pm, edited 1 time in total.
VASP manual
I am also facing the same type of problem. p4vasp is not working for bandstructure plotting. How can I covert the EIGENVAL file so that I can view it through GNUPLOT
Last edited by mssb2 on Fri Oct 20, 2006 1:07 pm, edited 1 time in total.
-
- Newbie
- Posts: 22
- Joined: Tue Jul 05, 2005 8:29 am
VASP manual
[quote author=distance(kpointN,kpoint1)
), which can then easily be plot by grace or gnuplot.
(in case you have a combination of high symmetrylines in 1 calculation eg: X->Gamma-> L, then you will also need your KPOINTS file to get the neccesry information to create your k-point coordinate)
Danny
(PS: the above will work perfectly for a simple calculation along 1 line (of symmetry), If you have more some tweaking is needed to get your k-point coordinates correct...also I don't know wat happens to the EIGENVAL file when spin is introduced, but I gues the above can easily be adjusted to that)
<span class='smallblacktext'>[ Edited Sat Oct 21 2006, 03:40PM ]</span>
), which can then easily be plot by grace or gnuplot.
(in case you have a combination of high symmetrylines in 1 calculation eg: X->Gamma-> L, then you will also need your KPOINTS file to get the neccesry information to create your k-point coordinate)
Danny
(PS: the above will work perfectly for a simple calculation along 1 line (of symmetry), If you have more some tweaking is needed to get your k-point coordinates correct...also I don't know wat happens to the EIGENVAL file when spin is introduced, but I gues the above can easily be adjusted to that)
<span class='smallblacktext'>[ Edited Sat Oct 21 2006, 03:40PM ]</span>
Last edited by brocks on Sat Oct 21, 2006 1:35 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
VASP manual
just to complete: in the EIGENVAL file, you find
# of atoms (twice), NBLOCK*KBLOCK, #spins
V(cell), | lattice vectors |[m], POTIM*10^-15
Temperature
'CAR'
the header of your files
#of electrons, #of k-points, #of bands
and for all k-points:
k-point coordinates, weight if the k-point
band index, eigenvalue (for spin-polarized systems, there are 2 columns of eigenvalues, for spin up and down respectively.
please make use of the special input format of the KPOINTS file to generate k-points along the high-symmetry lines of the BZ in order to plot a band structure, as shown for Si on page 12
of the handsonII.pdf VASP-workshop tutorial handout
(http://cms.mpi.univie.ac.at/vasp-workshop)
# of atoms (twice), NBLOCK*KBLOCK, #spins
V(cell), | lattice vectors |[m], POTIM*10^-15
Temperature
'CAR'
the header of your files
#of electrons, #of k-points, #of bands
and for all k-points:
k-point coordinates, weight if the k-point
band index, eigenvalue (for spin-polarized systems, there are 2 columns of eigenvalues, for spin up and down respectively.
please make use of the special input format of the KPOINTS file to generate k-points along the high-symmetry lines of the BZ in order to plot a band structure, as shown for Si on page 12
of the handsonII.pdf VASP-workshop tutorial handout
(http://cms.mpi.univie.ac.at/vasp-workshop)
Last edited by admin on Tue Oct 24, 2006 1:23 pm, edited 1 time in total.
VASP manual
[quote="wistey"]I'd like to second the request for more information about how to calculate band structure. The workshop examples are good on many other topics, but for band structure, all of the important details are missing. I assume they were explained to participants in the workshop, but they are missing from the slides. Which files need to be copied from the self-consistent run? Where are the bands? in EIGENVAL? The example files are in different directories; which files are important, and which ones get overwritten? Sorry if these are dumb questions from a newbie.
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
Last edited by mssb2 on Thu Oct 26, 2006 5:11 am, edited 1 time in total.
VASP manual
[quote="wistey"]I'd like to second the request for more information about how to calculate band structure. The workshop examples are good on many other topics, but for band structure, all of the important details are missing. I assume they were explained to participants in the workshop, but they are missing from the slides. Which files need to be copied from the self-consistent run? Where are the bands? in EIGENVAL? The example files are in different directories; which files are important, and which ones get overwritten? Sorry if these are dumb questions from a newbie.
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
I am also trying to covert the EIGENVAL file so that I can view it through gnuplot. If it is possible could you please share your prgogram that you made to convert the mentioned file?
I get a reasonable band structure from a 2-atom Si unit cell, but not from an 8-atom supercell.
By the way, if anybody's interested, I made a quick EIGENVAL parser in Perl to convert the bands to a format which you can plot with gnuplot or any spreadsheet. (p4vasp still won't compile on Macs. This was easier.)
[/quote]
I am also trying to covert the EIGENVAL file so that I can view it through gnuplot. If it is possible could you please share your prgogram that you made to convert the mentioned file?
Last edited by mssb2 on Thu Oct 26, 2006 5:15 am, edited 1 time in total.
-
- Newbie
- Posts: 14
- Joined: Mon Nov 20, 2006 8:01 am
VASP manual
Hi,
I would like to find out if information on the kpoints in the OUTCAR provides the same details on the bandstructure as the EIGENVAL.
Thank you.
I would like to find out if information on the kpoints in the OUTCAR provides the same details on the bandstructure as the EIGENVAL.
Thank you.
Last edited by simly on Mon Dec 18, 2006 2:59 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
VASP manual
you need the self-consistent charge density (CHGCAR, ICHARG=11 in INCAR) and of course INCAR,POSCAR, POTCAR and an appropriate KPOINTS file to get the band structure.
the relevant data to plot a band structure are EIGENVAL (k-points, eigenvalues) and PROCAR (the 'character' of the bands, based on local charges).
please read the online manual as well for further information (eg. chapter examples).
the relevant data to plot a band structure are EIGENVAL (k-points, eigenvalues) and PROCAR (the 'character' of the bands, based on local charges).
please read the online manual as well for further information (eg. chapter examples).
Last edited by admin on Mon Dec 18, 2006 4:02 pm, edited 1 time in total.
-
- Newbie
- Posts: 15
- Joined: Wed Oct 28, 2009 11:13 pm
VASP manual
[quote="admin"] just to complete: in the EIGENVAL file, you find
# of atoms (twice), NBLOCK*KBLOCK, #spins
V(cell), | lattice vectors |[m], POTIM*10^-15
Temperature
'CAR'
the header of your files
#of electrons, #of k-points, #of bands
and for all k-points:
k-point coordinates, weight if the k-point
band index, eigenvalue (for spin-polarized systems, there are 2 columns of eigenvalues, for spin up and down respectively.
please make use of the special input format of the KPOINTS file to generate k-points along the high-symmetry lines of the BZ in order to plot a band structure, as shown for Si on page 12
of the handsonII.pdf VASP-workshop tutorial handout
(http://cms.mpi.univie.ac.at/vasp-workshop)
[/quote]
Does the CAR line mean that the coordinates supplied are in cartesian coordinates, or are the coordinates for every k-point in reciprical coordinates? (or however you spell it
# of atoms (twice), NBLOCK*KBLOCK, #spins
V(cell), | lattice vectors |[m], POTIM*10^-15
Temperature
'CAR'
the header of your files
#of electrons, #of k-points, #of bands
and for all k-points:
k-point coordinates, weight if the k-point
band index, eigenvalue (for spin-polarized systems, there are 2 columns of eigenvalues, for spin up and down respectively.
please make use of the special input format of the KPOINTS file to generate k-points along the high-symmetry lines of the BZ in order to plot a band structure, as shown for Si on page 12
of the handsonII.pdf VASP-workshop tutorial handout
(http://cms.mpi.univie.ac.at/vasp-workshop)
[/quote]
Does the CAR line mean that the coordinates supplied are in cartesian coordinates, or are the coordinates for every k-point in reciprical coordinates? (or however you spell it
Last edited by lyon0100 on Mon Sep 06, 2010 12:02 am, edited 1 time in total.