Created
October 28, 2011 17:57
-
-
Save oweidner/1322898 to your computer and use it in GitHub Desktop.
Globus RSL script to booststrap and test Air
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* RSL script that bootstraps Air (http://oweidner.github.com/air/) *) | |
(* on a remote machine and uses it to execute /bin/id. *) | |
(* *) | |
(* Copyright 2011 Ole Christian Weidner ([email protected]) *) | |
(* Latest version: https://gist.github.com/1322898 *) | |
(* *) | |
(* Run it like this (replace GRAM URL with your own) *) | |
(* globusrun -b -r tuscany.med.harvard.edu:2119/jobmanager-fork -f job.rsl *) | |
&(executable=/bin/sh) | |
(arguments=-c "curl -fsSLk https://raw.github.com/gist/1321016 > pystrap.sh && export AIR_AMQP_HOST=gw68.quarry.iu.teragrid.org && /bin/sh pystrap.sh -l air -n && ./mypy_u`id -u`/bin/air-run -p `hostname` -o id") | |
(stdout=air_test_output.txt) | |
(stderr=air_test_error.txt) | |
(count=1) | |
(maxWallTime=5) (* minutes *) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The output can be captured with the air-flow tool. It will look something like this: