Changeset 274f9ef in flex_extract.git for source/python/submit.py
- Timestamp:
- Oct 22, 2018, 11:44:47 AM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- db27c09
- Parents:
- 708c667
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/submit.py
r27fe969 r274f9ef 62 62 63 63 def main(): 64 ''' 65 @Description: 66 Get the arguments from script call and from CONTROL file. 67 Decides from the argument "queue" if the local version 68 is done "queue=None" or the gateway version with "queue=ecgate" 69 or "queue=cca". 64 '''Get the arguments from script call and from CONTROL file. 65 Decides from the argument "queue" if the local version 66 is done "queue=None" or the gateway version with "queue=ecgate" 67 or "queue=cca". 70 68 71 @Input:72 <nothing>69 Parameters 70 ---------- 73 71 74 @Return: 75 <nothing> 72 Return 73 ------ 74 76 75 ''' 77 76 … … 105 104 106 105 def submit(jtemplate, c, queue): 107 ''' 108 @Description: 109 Prepares the job script and submit it to the specified queue. 106 '''Prepares the job script and submit it to the specified queue. 110 107 111 @Input: 112 jtemplate: string 113 Job template file from sub-directory "_templates" for 114 submission to ECMWF. It contains all necessary 115 module and variable settings for the ECMWF environment as well as 116 the job call and mail report instructions. 117 Default is "job.temp". 108 Parameters 109 ---------- 110 jtemplate : :obj:`string` 111 Job template file from sub-directory "_templates" for 112 submission to ECMWF. It contains all necessary 113 module and variable settings for the ECMWF environment as well as 114 the job call and mail report instructions. 115 Default is "job.temp". 118 116 119 c: instance of class ControlFile 120 Contains all the parameters of CONTROL file and 121 command line. 122 For more information about format and content of the parameter 123 see documentation. 117 c : :obj:`ControlFile` 118 Contains all the parameters of CONTROL file and 119 command line. 124 120 125 queue: string126 121 queue : :obj:`string` 122 Name of queue for submission to ECMWF (e.g. ecgate or cca ) 127 123 128 @Return: 129 <nothing> 124 Return 125 ------ 126 130 127 ''' 131 128
Note: See TracChangeset
for help on using the changeset viewer.