Tinkergpu:Automation

From tinkergpu
Revision as of 18:14, 8 February 2021 by Liuchw (talk | contribs)
Jump to navigation Jump to search

Automation

Script_Title

Author: Name

Description: Write a short description of what the script is for/what it does

Paste script here

or paste link here 

 


lsub.py

Author: Chengwen Liu

Description: Automatically detect and submit a bunch of QM jobs to satisfied CPU nodes.

Line of code: 142

Link to the scripthttps://github.com/leucinw/ComputTools/blob/master/src/lsub.py

An example: 

python lsub.py -i *.psi4 -x node144 -d 100 -m 100 -t 30 

which will submit all the .psi4 files in the current folder, using the nodes with at least 100GB disk and 100GB memory, checking every 30 seconds, excluding node144. 

Arguments:

-i INPUT [INPUT ...]              Input files: with extension of .COM/.PSI4/.QCHEM
-n NODES [NODES ...]         Submit jobs on these nodes ONLY. Default: []
-x XNODES [XNODES ...]    Submit jobs NOT on these nodes. Default: []
-d DISK                                 Disk of requested nodes. Default: 200 (GB)
-m MEMORY             Memory lower bound. Default: 30 (GB)
-M MAXMEM             Memory upper bound. Default: 999 (GB)
-t TCHECK             Time interval to check node availability (in Second)