1 / 6

Java-GAT: gat-job-run

Java-GAT: gat-job-run Ole Weidner (AEI) Alexander Beck-Ratzka (AEI) Astrogrid-WS Heidelberg, 24.7.06. Java-GAT: gat-job-run. Test program written by Ole Weidner (AEI) Invoked via a shell script Can be used to check available Java-GAT Job submission adaptors. gat-job-run: get from CVS.

Download Presentation

Java-GAT: gat-job-run

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java-GAT: gat-job-runOle Weidner (AEI)Alexander Beck-Ratzka (AEI)Astrogrid-WS Heidelberg, 24.7.06

  2. Java-GAT: gat-job-run • Test program written by Ole Weidner (AEI) • Invoked via a shell script • Can be used to check available Java-GAT Job submission adaptors.

  3. gat-job-run: get from CVS • Download from Astrogrid-CVS • CVSROOT: :pserver:<user>@astro-cvs.aip.de:2401/cvsroot/astro-cvs • Checkout module: gacg-src/workgroups/wg-7/gat/examples • Delivers GatJobRun directory

  4. gat-job-run: how to build • Change to GatJobRun directory • Set environment variable GAT_LOCATION • ant –f build-standalone.xml • Creates bin sub-directory with GatJobRunner.jar

  5. gat-job-run: how to run • gat-job-run in sub-directory scripts Usage: gat-job-run [OPTIONS] hostname executable [ARGUMENTS] OPTIONS: -username [STRING] username for security context -password [STRING] password for security context -stdin [FILE] path to input file -stdout [FILE] path to output file -stderr [FILE] path to error output file -prestage [FILE],... path to prestage file(s) - comma separated -poststage [FILE],... path to poststage file(s) - comma spearated -RB.adaptor [STRING] force the use of a specific Resource Broker adaptor -RB.jobmanager [STRING] force the use of a specific Resource Broker jobmanager

  6. gat-job-run: example • gat-job-run -prestage test1.sh altix2.lrz-muenchen.de /bin/sh test1.sh [main] INFO gssapi.GlobusGSSManagerImpl - Getting default credential 0 [main] INFO org.globus.gsi.gssapi.GlobusGSSManagerImpl - Getting default credential job info: {resManError=0, resManName=Globus, state=INITIAL, resManState=Unknown, id=https://altix2.lrz-muenchen.de:20048/4066/1153144357/} job info: {resManError=79, resManName=Globus, state=POST_STAGING, resManState=Unknown, id=https://altix2.lrz-muenchen.de:20048/4066/1153144357/} job info: {resManError=79, resManName=Globus, state=STOPPED, resManState=Unknown, id=https://altix2.lrz-muenchen.de:20048/4066/1153144357/} JOB SUMMARY ================================================ Command: /bin/sh Job ID: null Exit value: 0 ================================================ STDOUT ================================================ hello world: I was called with the arguments: with explicit pre staging from peyote... ================================================

More Related