Adjust.sh: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


'''Launching''': ''adjust.sh queue proc comp''  
'''Launching''': ''adjust.sh queue proc comp''  
                 ''queue'' is the type of processor where I want to run the calculation;
                 ''queue'' is the type of processor where I want to run the calculation
                  Available options: c0 q0 c4m8 c8m24
                Available options: c0 q0 c4m8 c8m24


                 ''proc'' is the number of processors
                 ''proc'' is the number of processors


                 ''comp'' is where we are running the calculation  
                 ''comp'' is where we are running the calculation  
                  Available options: tekla1|tek1|t1 for tekla and tekla2|tek2|t2 for tekla2
                Available options: tekla1|tek1|t1 for tekla and tekla2|tek2|t2 for tekla2


'''Output file''': ''file'' (without the ''.com'' extension; ready to be read with p4v, for example)
'''Output file''': ''dir.sub'' (where ''dir'' is the directory where you are)


'''Used files/subprograms''': ''x.mInv''
'''Used files/subprograms''': ''proto1.sub, proto2.sub''




Line 26: Line 26:
1) First of all, download the program:
1) First of all, download the program:


       [[Image:gv_vasp.tgz]]
       [[Image:adjust.tgz]]


and uncompress it.
and uncompress it.

Revision as of 12:10, 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 comp

                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
                comp is where we are running the calculation 
                Available options: tekla1|tek1|t1 for tekla and tekla2|tek2|t2 for tekla2

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 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