GLOBUSRUN(1)
π GLOBUSRUN(1) π
okay bestie, sit down, hydrate, because today we're learning globusrun β straight out of the Grid Community Toolkit Manual. she submits jobs, she manages jobs, she does it all via GRAM, and honestly? main character energy fr fr. π
β¨ NAME β¨
globusrun β Execute and manage jobs via GRAM π
π¦ SYNOPSIS π¦
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}
no cap, that's a LOT of modes. she contains multitudes. π
πΈ DESCRIPTION πΈ
okay so, globusrun is the program that submits and manages jobs running on a local or remote job host. the jobs themselves are controlled by the globus-job-manager program, which talks to a local resource manager that schedules and actually executes the job. it's giving delegation. it's giving teamwork. π«Ά
and the way that globusrun can be run in a number of different modes, chosen by command-line options? iconic behaviour. let's break it down one by one, no skipping, we're being thorough today. β
when the -help, -usage, -version, or -versions command-line options are used, globusrun will print out diagnostic information and then exit. simple. clean. she says her piece and leaves. π
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. vibe check on your RSL, basically. π
when the -a or -authenticate-only command-line option is present, globusrun will verify that the service named by RESOURCE exists and that 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. (yes, bestie, the original says "will with a non-zero exit code" β we keep it, we don't fix it, that's the rule π)
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. she's nosy, but politely. π
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. bye bitch energy, respectfully. π
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. glow-up for your credentials β¨
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. she will simply tell you how the job is doing. π©Ί
otherwise β like, if you're not doing any of that β 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. she's a ride-or-die, she waits for you. π«
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, over to the GRAM service node. this behavior is controlled by the -s, -o, and -w command-line options. multitasking queen. π
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. βοΈ
π OPTIONS π
-helpβ Display a help message to standard error and exit. π-usageβ Display a one-line usage summary to standard error and exit. short and sweet, one line only bestie.-versionβ Display the software version ofglobusrunto standard error and exit. π·οΈ-versionsβ Display the software version of all modules used byglobusrun(including DiRT information) to standard error and then exit. the full roster, the whole cast list. β-p,-parseβ Do a parse check on the job specification and print diagnostics. If a parse error occurs,globusrunexits with a non-zero exit code. π§-f FILENAME,-file FILENAMEβ Read job specification from the file named by FILENAME. π-n,-no-interruptβ Disable handling of theSIGINTsignal, so that the interrupt character (typically Control-C) causesglobusrunto terminate without canceling the job. important!! she leaves, the job stays. π-r RESOURCEβ Submit the request to the resource specified by RESOURCE. A resource may be specified in the following ways:HOSTHOST:PORTHOST:PORT/SERVICEHOST/SERVICEHOST:/SERVICEHOST::SUBJECTHOST:PORT:SUBJECTHOST/SERVICE:SUBJECTHOST:/SERVICE:SUBJECTHOST:PORT/SERVICE:SUBJECT
If any of PORT, SERVICE, or SUBJECT is omitted, the defaults of 2811, jobmanager, and host@HOST are used respectively. memorise the defaults, they will come up. π
-j,-jobmanager-versionβ Print the software version being run by the service running at RESOURCE. π-k JOBID,-kill JOBIDβ Kill the job named by JOBID. π-D,-full-proxyβ Delegate a full impersonation proxy to the service. By default, a limited proxy is delegated when needed. she's going all in. π₯-y,-refresh-proxyβ Delegate a new proxy to the service processing JOBID. π-statusβ Display the current status of the job named by JOBID. π-q,-quietβ Do not display job state change or exit code information. she's mysterious now. π€«-o,-output-enableβ Start a GASS server within theglobusrunapplication that allows access to its standard output and standard error streams only. Also, augment the RSL with a definition of theGLOBUSRUN_GASS_URLRSL substitution and addstdoutandstderrclauses which redirect the output and error streams of the job to the output and error streams of the interactiveglobusruncommand. If this is specified, thenglobusrunacts as though the-qwere also specified. π-s,-serverβ Start a GASS server within theglobusrunapplication that allows access to its standard output and standard error streams for writing and any file local the theglobusruninvocation for reading. Also, augment the RSL with a definition of theGLOBUSRUN_GASS_URLRSL substitution and addstdoutandstderrclauses which redirect the output and error streams of the job to the output and error streams of the interactiveglobusruncommand. If this is specified, thenglobusrunacts as though the-qwere also specified. π₯-w,-write-allowβ Start a GASS server within theglobusrunapplication that allows access to its standard output and standard error streams for writing and any file local the theglobusruninvocation for reading or writing. Also, augment the RSL with a definition of theGLOBUSRUN_GASS_URLRSL substitution and addstdoutandstderrclauses which redirect the output and error streams of the job to the output and error streams of the interactiveglobusruncommand. If this is specified, thenglobusrunacts as though the-qwere also specified. π€-b,-batchβ Terminate after submitting the job to the GRAM service. The GASS-related options can be used to stage input files, but standard output, standard error, and file staging after the job completes will not be processed. Theglobusrunprogram will exit after the job hits any of the following states:PENDINGACTIVEFAILEDDONE
-F,-fast-batchβ Terminate after submitting the job to the GRAM service. Theglobusrunprogram will exit after it receives a reply from the service. The JOBID will be displayed to standard output before terminating so that the job can be checked with the-statuscommand-line option or modified by the-refresh-proxyor-killcommand-line options. fastest girl in the group chat β‘-d,-dryrunβ Submit the job with thedryrunattribute set totrue. When this is done, the job manager will prepare to start the job but start short of submitting it to the service. This can be used to detect problems with the RSL. a rehearsal, a dress rehearsal, a lil preview π
π ENVIRONMENT π
The following variables affect the execution of globusrun
X509_USER_PROXYβ Path to proxy credential. πͺͺX509_CERT_DIRβ Path to trusted certificate directory. π
π BUGS π
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.
bestie this is a real one β do NOT trust a silent job, use two_phase. iykyk. π
π«Ά SEE ALSO π«Ά
globus-job-submit(1), globus-job-run(1), globus-job-clean(1), globus-job-get-output(1), globus-job-cancel(1)
the whole friend group, go say hi π
π AUTHOR π
Copyright Β© 1999-2014 University of Chicago
and that's the page!! Grid Community Toolkit 6, dated 03/31/2018 β thank you for coming to my ted talk, now go parse an RSL and slay π β¨π¦
π¦ where this page comes from
- debian bookworm: globus-gram-client-tools 12.2-2 Β· Apache-2.0
- debian trixie: globus-gram-client-tools 12.2-3 Β· Apache-2.0
- epel 10: globus-gram-client-tools 12.2-4.el10_0 Β· Apache-2.0
- epel 9: globus-gram-client-tools 12.2-1.el9 Β· ASL 2.0
- fedora 43: globus-gram-client-tools 12.2-9.fc43 Β· Apache-2.0
- fedora 44: globus-gram-client-tools 12.2-10.fc44 Β· Apache-2.0
- ubuntu jammy: globus-gram-client-tools 12.1-1 Β· Apache-2.0
- ubuntu noble: globus-gram-client-tools 12.2-2build2 Β· Apache-2.0
- ubuntu questing: globus-gram-client-tools 12.2-3
- ubuntu resolute: globus-gram-client-tools 12.2-3build1 Β· Apache-2.0
- ubuntu stonking: globus-gram-client-tools 12.2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms