|
META TOPICPARENT |
name="WmsxSoftware" |
WMSX examples |
| > voms-proxy-destroy
|
|
< < | Mass submission of independent jobs: simple parameter scan |
> > | Mass submission of independent jobs: parameter scan with short (e.g. 1 day) calculations |
|
WMSX is a very convenient tool for mass submission of independent jobs. Possible application: parameter scan studies. It automatically manages output retrieval issues and the limiting of the number of concurrently running jobs. For this purpose, the jobs are described with a slightly extended JDL language, which is preprocessed by WMSX. If JobType = "Interactive" is set, the file containing StdOut / StdErr is updated on the fly, so you can see what your job is actually doing. A pre-execution script helps to prepare inputs, and a post-execution script helps to process outputs of the job. |
| > voms-proxy-destroy
|
|
< < | Mass submission of chained jobs: parameter scan with chained jobs |
> > | Mass submission of chained jobs: parameter scan with long calculations |
|
The mass submission has an important feature: each job can decide whether a launch of a further job is needed. This decision is done by the post-execution script: if it returns with exitcode 1, the chain script is invoked. The lines of the standard output of the chain script is interpreted by WMSX as lines in the arg.list file (see previous example), so new jobs are launched. In this way, jobs can be chained (and the chains can also fork, as a job can also launch multiple jobs). In this way, a parameter study with long term calculations can be performed. The long term calculations are preformed by the job chains. A good example is numerical solution of partial differential equations: multiple chains are launched (possibly with different initial conditions), and each chain is imitating a long term job (the solution of the partial differential equation with a given initial condition), split up into subsequent shorter term jobs. |