ECACCE...-SUBMIT(1p)

πŸ“¦
version 6.3.1 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ECACCE...-SUBMIT(1p) β€” bestie, it's the job submitter πŸ’–

okay so this is ecaccess-job-submit, and it lives in the User Contributed Perl Documentation manual section, and no cap it is THE glow-up for getting your script onto ECaccess. one job, one script, infinite main character energy. let's go πŸ¦‹


✨ NAME ✨

ecaccess-job-submit β€” Submit a new ECaccess Job πŸ‘‘


🌸 SYNOPSIS 🌸

ecaccess-job-submit -version|-help|-manual

ecaccess-job-submit [-debug] [-distant] [-bufsize length]
[-scheduledDate date] [-noDirectives] [-gateway name] [-remote location]
[-transferOutput] [-transferError] [-transferInput] [-keep] [-eventIds
list] [-sterr2Stdout] [-noRenew] [-mailTo email] [-onStart] [-onSuccess]
[-onFailure] [-onRetry] [-jobName name] [-manPage content] [-lifeTime
days] [-retryCount number] [-retryFrequency frequency] [-queueName name]
source

πŸ’… DESCRIPTION πŸ’…

So basically, this lets you submit the source script to either the default ECaccess batch queue or whichever ECaccess batch queue you picked with the -queueName option. and how do you find a queue name, you ask? bestie, run ecaccess-queue-list β€” and heads up, the default queue is just the first one in that list. periodt. ✨

there's also a whole special service (peep the -eventIds option πŸ‘€) that lets you automatically submit jobs to run when certain points in the daily ECMWF operational forecast suite have been reached. the main purpose? making sure certain data is actually there before, like, you go submit a MARS request. rude to ask for data that doesn't exist yet, honestly. these events correspond to the different stages when the ECMWF operational activity has produced certain data or products, and you can grab the list of events with the ecaccess-event-list command. 🌈

and here's the cute part: to make migrating from the old ECtools (ecjreq/ecjput commands) easier, the equivalent options can be set using their old names too β€” like -at for -scheduledDate. this should limit the script modifications you have to make for job submissions, so your old scripts don't have to go through a whole rebrand. πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • source β€” the name of the file which contains the job input script. and depending on the -distant option, this file is either at ECMWF or local to your workstation. choose your fighter. πŸ’«

πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option, and yes, every single one is here because we don't skip. slay.

  • -distant β€” by default the source is specifying a file which is local to your workstation. using this option lets you submit a script which is already at ECMWF. no upload required, we're already there. ✨
  • -bufsize length β€” specify the length of the buffer (in bytes) which is used to upload the file. the larger the buffer, the smaller the number of http/s requests. by default a buffer of 524288 bytes (512KB) is used. note that this option only applies for local scripts (so not with -distant). πŸ“¦
  • -at, -scheduledDate date β€” lets you specify the start date for the Job. by default the job will start as soon as possible. the format for the date is 'yyyy-MM-dd HH:mm'. ⏰
  • -nd, -noDirectives β€” lets you submit a job with no scheduler directives. some default directives will be added to your input script to allow processing the job. 🚫
  • -tg, -gateway name β€” this is the name of the target ECaccess Gateway for the transfers. it's by default the Gateway you are connected to. to get the name of your current Gateway you can use the ecaccess-gateway-name command. when using the commands at ECMWF the default Gateway is always "boaccess.ecmwf.int". πŸŒ‰
  • -tr, -remote location β€” defines the target ECtrans location in the format association-name[@protocol]. πŸ“
  • -to, -transferOutput β€” request the transfer of the job standard output to the gateway and remote location defined in the -gateway and -remote options. πŸ“€
  • -te, -transferError β€” request the transfer of the job error output to the gateway and remote location defined in the -gateway and -remote options. 😭
  • -ti, -transferInput β€” request the transfer of the job input to the gateway and remote location defined in the -gateway and -remote options. πŸ“₯
  • -tk, -keep β€” lets you keep the transfers requests in the spool. don't throw it away, bestie. 🫢
  • -ni, -eventIds list β€” lets you give a list of event-identifiers to subscribe to with the Job. the list should be separated by ';' or ','. only one job will be launched when all the events in the list have been reached. and to submit the same job to multiple events, you'll need to submit the job to each event separately β€” no bundling, sorry. πŸ¦‹
  • -eo, -sterr2Stdout β€” force redirection of the job standard error output (stderr) to the job standard output (stdout). merging the vibes. πŸ”€
  • -ro, -noRenew β€” the job subscriptions to events will not be renewed. πŸš«πŸ”„
  • -mu, -mailTo email β€” defines the target email address (default: current ECMWF user identifier). πŸ“§
  • -mb, -onStart β€” lets you send a mail when the execution/transfer begins. 🏁
  • -me, -onSuccess β€” lets you send a mail when the execution/transfer ends. βœ…
  • -mf, -onFailure β€” lets you send a mail when the execution/transfer fails. πŸ’€
  • -mr, -onRetry β€” lets you send a mail when the execution/transfer retries. πŸ”
  • -queueName name β€” the name of the ECaccess batch queue to submit the job to. 🎯
  • -jn, -jobName name β€” lets you specify a name for the new Job (other than the Job Identifier). if no name is specified then the name of the input script is used. ✍️
  • -mp, -manPage content β€” lets you give the man page content which will be displayed to the ECMWF operators in case of problems with your Job (e.g. what to do or who to contact). leave them a lil note πŸ’Œ
  • -lt, -lifeTime days β€” lets you specify the job input/output life time in days. the default is 7 days. βŒ›
  • -rc, -retryCount number β€” defines the number of retries. the default is 0. πŸ”‚
  • -rf, -retryFrequency frequency β€” defines the frequency of retries in seconds. the default is 600 seconds. ⏱️
  • -version β€” display version number and exits. πŸ‘‹
  • -help β€” print a brief help message and exits. πŸ™‹
  • -manual β€” prints the manual page and exits. πŸ“–
  • -retry count β€” number of SSL connection retries per 5s to ECMWF. this parameter only applies to the initial SSL connection initiated by the command to the ECMWF server. it does not apply to all the subsequent requests made afterward, as it is mainly targeting errors that can happen from time to time during the SSL handshake. default is no retry. 🀝
  • -debug β€” display the SOAP and SSL messages exchanged. peek behind the curtain, bestie 🫣

🌟 EXAMPLES 🌟

ecaccess-job-submit -noDirectives ./test.txt

transfer the local file test.txt to your ECMWF spool and submit the job to the default ECaccess batch queue. the source does not have any directives. iconic, honestly. πŸ”₯


πŸ”— SEE ALSO πŸ”—

ecaccess-queue-list, ecaccess-event-list, ecaccess-job-delete, ecaccess-job-get, ecaccess-job-list ecaccess-job-restart and ecaccess.


and that's the whole page, bestie πŸ’œ this one's brought to you by perl v5.40.1, dated 2025-10-22, filed under ECACCE...-SUBMIT(1p). go submit something legendary. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from