TWiki> RmiGrid Web>WmsxSoftware>WmsxExample (revision 3)EditAttach

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:

> tar  -xzf  simplejob.tar.gz
> rm  -f  simplejob.tar.gz
> cd  simplejob

Log onto the Grid:

> voms-proxy-init  -voms your_vo
# If your job is expected to be long, also get long term authentication:
> myproxy-init  -n

Submit the job:

>  workdir
>  -vo your_vo
# If your job is expected to be long, also make the WMSX remember your grid password:
>  -remembergrid
# If your job is expected to be long and you are working on AFS, also make the WMSX remember your AFS password:
>  -rememberafs
>  -j simplejob.jdl  -r workdir/out/resultdir
# Or, if JobType = "Interactive" was set in the JDL file, say instead:
>  -j simplejob.jdl  -r workdir/out/resultdir  -o workdir/out/StdOutFile

Your results shall be retrieved into the directory workdir/out/resultdir. If your job was interactive (JobType = "Interactive" was set in the JDL file), the file containting StdOut / StdErr shall be workdir/out/StdOutFile, which shall be updated on the fly. Remark: if the JobType = "Interactive" was set, the fields StdInput, StdOutput and StdError cannot be set in the JDL file.

If you are finished, you can stop WMSX, and destroy your Grid authentications:

>  -k
# If myproxy-init was used, i.e. for long term jobs:
> myproxy-destroy
> voms-proxy-destroy

Mass submission of independent jobs: simple parameter scan

Mass submission of chained jobs: parameter scan with chained jobs

-- AndrasLaszlo - 28 Nov 2007

Edit | Attach | Watch | Print version | History: r18 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2007-11-29 - AndrasLaszlo
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback