Changeset 96e1533 in flex_extract.git for source/python/submit.py
- Timestamp:
- Nov 10, 2018, 9:37:36 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 1abf820
- Parents:
- 8500ba1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/submit.py
r274f9ef r96e1533 94 94 if c.request == 0 or c.request == 2: 95 95 prepare_flexpart(args.ppid, c) 96 normal_exit(c.mailfail, 'FLEX_EXTRACT IS DONE!')96 exit_message = 'FLEX_EXTRACT IS DONE!' 97 97 else: 98 normal_exit(c.mailfail, 'PRINTING MARS_REQUESTS DONE!')99 # send files to ECMWF server and install there98 exit_message = 'PRINTING MARS_REQUESTS DONE!' 99 # send files to ECMWF server 100 100 else: 101 101 submit(args.job_template, c, args.queue) 102 103 normal_exit(c.mailops, c.queue, exit_message) 102 104 103 105 return … … 147 149 f.write('\n'.join(lftextondemand)) 148 150 149 submit_job_to_ecserver(queue, job_file)151 job_id = submit_job_to_ecserver(queue, job_file) 150 152 151 153 else: … … 173 175 f.write('\n'.join(lftextoper)) 174 176 175 submit_job_to_ecserver(queue, job_file)177 job_id = submit_job_to_ecserver(queue, job_file) 176 178 177 179 # -------------------------------------------------------------------------- 180 print('The job id is: ' + str(job_id.strip())) 178 181 print('You should get an email with subject flex.hostname.pid') 179 182
Note: See TracChangeset
for help on using the changeset viewer.