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:
> 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
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:
> wmsx-requestor.sh -k
# If myproxy-init was used:
> myproxy-destroy
> voms-proxy-destroy
|