GLOBUSRUN(1) | Grid Community Toolkit Manual | GLOBUSRUN(1) |
globusrun - Execute and manage jobs via GRAM
globusrun [-help | -usage | -version -versions ]
globusrun [-p | -parse] { -f FILENAME | -file FILENAME | RSL }
globusrun [OPTIONS] {-r RESOURCE| -resource RESOURCE} { -a | -authenticate-only }
globusrun [OPTIONS] {-r RESOURCE| -resource RESOURCE} { -j | -jobmanager-version }
globusrun [OPTIONS] {-k | -kill } JOBID
globusrun [OPTIONS] [ -full-proxy | -D ] { -y | -refresh-proxy } JOBID
globusrun [OPTIONS] -status JOBID
globusrun [OPTIONS] { -r RESOURCE | -resource RESOURCE } { -f FILENAME | -file FILENAME | RSL}
The globusrun program for submits and manages jobs run on a local or remote job host. The jobs are controlled by the globus-job-manager program which interfaces with a local resource manager that schedules and executes the job.
The globusrun program can be run in a number of different modes chosen by command-line options.
When -help, -usage, -version, or -versions command-line options are used, globusrun will print out diagnostic information and then exit.
When the -p or -parse command-line option is present, globusrun will verify the syntax of the RSL specification and then terminate. If the syntax is valid, globusrun will print out the string RSL Parsed Successfully... and exit with a zero exit code; otherwise, it will print an error message and terminate with a non-zero exit code.
When the -a or -authenticate-only command-line option is present, globusrun will verify that the service named by RESOURCE exists and the client’s credentials are granted permission to access that service. If authentication is successful, globusrun will display the string GRAM Authentication test successful and exit with a zero exit code; otherwise it will print an explanation of the problem and will with a non-zero exit code.
When the -j or -jobmanager-version command-line option is present, globusrun will attempt to determine the software version that the service named by RESOURCE is running. If successful, it will display both the Toolkit version and the Job Manager package version and exit with a zero exit code; otherwise, it will print an explanation of the problem and exit with a non-zero exit code.
When the -k or -kill command-line option is present, globusrun will attempt to terminate the job named by JOB_ID. If successful, globusrun will exit with zero; otherwise it will display an explanation of the problem and exit with a non-zero exit code.
When the -y or -refresh-proxy command-line option is present, globusrun will attempt to delegate a new X.509 proxy to the job manager which is managing the job named by JOBID. If successful, globusrun will exit with zero; otherwise it will display an explanation of the problem and exit with a non-zero exit code. This behavior can be modified by the -full-proxy or -D command-line options to enable full proxy delegation. The default is limited proxy delegation.
When the -status command-line option is present, globusrun will attempt to determine the current state of the job. If successful, the state will be printed to standard output and globusrun will exit with a zero exit code; otherwise, a description of the error will be displayed and it will exit with a non-zero exit code.
Otherwise, globusrun will submit the job to a GRAM service. By default, globusrun waits until the job has terminated or failed before exiting, displaying information about job state changes and at exit time, the job exit code if it is provided by the GRAM service.
The globusrun program can also function as a GASS file server to allow the globus-job-manager program to stage files to and from the machine on which globusrun is executed to the GRAM service node. This behavior is controlled by the -s, -o, and -w command-line options.
Jobs submitted by globusrun can be monitored interactively or detached. To have globusrun detach from the GRAM service after submitting the job, use the -b or -F command-line options.
-help
-usage
-version
-versions
-p, -parse
-f FILENAME, -file FILENAME
-n, -no-interrupt
-r RESOURCE
-j, -jobmanager-version
-k JOBID, -kill JOBID
-D, -full-proxy
-y, -refresh-proxy: Delegate a new proxy to the service processing JOBID.
-status
-q, -quiet
-o, -output-enable
-s, -server
-w, -write-allow
-b, -batch
-F, -fast-batch
-d, -dryrun
The following variables affect the execution of globusrun
X509_USER_PROXY
X509_CERT_DIR
The globusrun program assumes any failure to contact the job means the job has terminated. In fact, this may be due to the globus-job-manager program exiting after all jobs it is managing have reached the DONE or FAILED states. In order to reliably detect job termination, the two_phase RSL attribute should be used.
globus-job-submit(1), globus-job-run(1), globus-job-clean(1), globus-job-get-output(1), globus-job-cancel(1)
Copyright © 1999-2014 University of Chicago
03/31/2018 | Grid Community Toolkit 6 |