Adjust.sh: Difference between revisions

From Wiki
Jump to navigation Jump to search
Lbellarosa (talk | contribs)
No edit summary
Lbellarosa (talk | contribs)
No edit summary
Line 30: Line 30:
and the files:
and the files:


       [[Image:proto1.sub]], [[Image:proto2.sub]]
       [[Image:proto1.tgz]], [[Image:proto2.tgz]]


and uncompress them. Place the files proto1.sub and proto2.sub in t
and uncompress them. Place the files proto1.sub and proto2.sub in t

Revision as of 14:26, 22 June 2010

go back to Main Page, Computational Resources, Scripts, Useful_scripts


The script adjust.sh prepares a .sub file, ready to be run on the queue you want.

Launching: adjust.sh queue proc

                queue is the type of processor where I want to run the calculation
                Available options: c0 q0 c4m8 c8m24
                proc is the number of processors
                

Example: you are in the directory ~/Trabajo/blabla and run adjust.sh q0 16 ==> the scripts prepares a file called blabla.sub ready to be run with qsub on q0, 16 procs (tekla1).

Output file: dir.sub (where dir is the directory where you are)

Used files/subprograms: proto1.sub, proto2.sub



INSTALLATION STEPS

1) First of all, download the program:

      File:Adjust.tgz

and the files:

      File:Proto1.tgz, File:Proto2.tgz

and uncompress them. Place the files proto1.sub and proto2.sub in t


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