Gv vasp.sh: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
Lbellarosa (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
go back to [[Main Page]], [[Computational Resources]], [[Scripts]], [[Useful_scripts]]
go back to [[Main Page]], [[Computational Resources]], [[Scripts]], [[Scripts for VASP]]




Line 9: Line 9:
'''Output file''': ''file'' (without the ''.com'' extension; ready to be read with p4v, for example)
'''Output file''': ''file'' (without the ''.com'' extension; ready to be read with p4v, for example)


'''Used files/subprograms''': x.mInv
'''Used files/subprograms''': ''x.mInv''






----


== INSTALLATION STEPS ==
== INSTALLATION STEPS ==




Line 29: Line 29:
       [[Image:mInv.tgz]]
       [[Image:mInv.tgz]]


uncompress it and compile it: '' g77 mInv.f -o x.mInv'' and put it in the directory you want (named, for simplicity, directory A).
uncompress it and compile it:  
'' g77 mInv.f -o x.mInv''  
and put it in the directory you want (named, for simplicity, directory A).
 


3) CHANGE THE PATH THAT APPEARS IN LINE 12 of gv_vasp.sh
3) CHANGE THE PATH THAT APPEARS IN LINE 12 of gv_vasp.sh


   /home/lbellarosa/src/complex/Cell  ===>  path de directory A
   /home/lbellarosa/src/complex/Cell  ===>  path of directory A


the path where you put your ''x.mInv'' program (i.e., /home/nlopez/Trabajo/directory A/x.mInv).
the path where you put your ''x.mInv'' program (i.e., /home/nlopez/Trabajo/directory A/x.mInv).


3) Now you can run the script typing:
 
4) Now you can run the script typing:


       gv_vasp.sh file
       gv_vasp.sh file

Latest revision as of 15:13, 22 June 2010

go back to Main Page, Computational Resources, Scripts, Scripts for VASP


The script gv_vasp.sh translates back the coordinates from the .com format to a normal POSCAR/CONTCAR file.


Launching: gv_vasp.sh file (it searches for the file named file.com in the actual directory: be sure you have it!)

Output file: file (without the .com extension; ready to be read with p4v, for example)

Used files/subprograms: x.mInv



INSTALLATION STEPS[edit]

1) First of all, download the program:

      File:Gv vasp.tgz

and uncompress it.


2) As soon as you have done it, get this:

      File:MInv.tgz

uncompress it and compile it: g77 mInv.f -o x.mInv and put it in the directory you want (named, for simplicity, directory A).


3) CHANGE THE PATH THAT APPEARS IN LINE 12 of gv_vasp.sh

  /home/lbellarosa/src/complex/Cell  ===>  path of directory A

the path where you put your x.mInv program (i.e., /home/nlopez/Trabajo/directory A/x.mInv).


4) Now you can run the script typing:

      gv_vasp.sh file