---++ WMSX examples ---+++ Simple job Job submission with =edg-job-submit= is not very straightforward, as the generated job identifier has to be stored, and then the job output retrieval directory has to be resolved by this identifier. To save you from this typing exercise, the WMSX is capable of managing the output retrieval directory for simple jobs. You can find a prepared example for this task here: . To submit the example job, type the following commands. Get the tarball: <verbatim> > tar -xzf simplejob.tar.gz > rm -f simplejob.tar.gz > cd simplejob </verbatim> Log onto the Grid: <verbatim> > voms-proxy-init -voms your_vo # If your job is expected to be long, also get long term authentication: > myproxy-init -n </verbatim> Submit the job: <verbatim> > wmsx-provider.sh workdir > wmsx-requestor.sh -vo your_vo # If your job is expected to be long, also make the WMSX remember your grid password: > wmsx-requestor.sh -remembergrid # If your job is expected to be long and you are working on AFS, also make the WMSX remember your AFS password: > wmsx-requestor.sh -rememberafs > wmsx-requestor.sh -j simplejob.jdl -o workdir/out/StdOut -r workdir/out/resultdir </verbatim> Your results shall be retrieved into the directory =workdir/out/resultdir=, and the file containting !StdOut / !StdErr shall be =workdir/out/StdOut=, which is retrieved on the fly, if =JobType = "Interactive"= was set in your JDL file. If you are finished, you can stop WMSX, and destroy your Grid authentications: <verbatim> > wmsx-requestor.sh -k # If myproxy-init was used: > myproxy-destroy > voms-proxy-destroy </verbatim> ---+++ Mass submission of independent jobs: simple parameter scan ---+++ Mass submission of chained jobs: parameter scan with chained jobs ---+++ A real-life example -- Main.AndrasLaszlo - 28 Nov 2007
This topic: RmiGrid
>
WebHome
>
WmsxSoftware
>
WmsxExample
Topic revision: r2 - 2007-11-28 - AndrasLaszlo
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback