Am Di 19.02.2008 14:02 schrieb Silviu Popescu <[EMAIL PROTECTED]>: >Hi, >I'm trying to get some output from a job and I receive the error >bellow. The command gets executed but I can't transfer stdout & stderr: > >[14:53:[EMAIL PROTECTED] globusrun-ws -submit -job-delegate >-staging-delegate -factory >https://silviup-laptop:8443/wsrf/services/ManagedJobFactoryService >-job-description-file job1.xml > >Delegating user credentials...Done. >Submitting job...Done. >Job ID: uuid:ca4ee32a-dee9-11dc-8b72-00147806a3ee >Termination time: 02/20/2008 12:54 GMT >Current job state: Active >Current job state: StageOut >Current job state: Failed >Destroying job...Done. >Cleaning up any delegated credentials...Done. >globusrun-ws: Job failed: Staging error for RSL element fileStageOut. > >Here is the job1.xml content: ><job> ><executable>/bin/echo</executable> ><directory>/home/silviup/staging</directory> ><argument>Hello</argument> ><argument>lume!!!</argument> ><stdout>/home/silviup/staging/stdout</stdout> ><stderr>/home/silviup/staging/stderr</stderr> > ><fileStageOut> ><transfer>
>><sourceUrl>gsiftp://silviup-laptop:2811/home/silviup/staging/stdout</sourceUrl> >><destinationUrl>gsiftp://silviu-desktop:2811/home/silviu/download/</destinationUrl> ></transfer> > ><transfer> >><sourceUrl>gsiftp://silviup-laptop:2811/home/silviup/staging/stderr</sourceUrl> >><destinationUrl>gsiftp://silviu-desktop:2811/home/silviu/download/</destinationUrl> ></transfer> > ></fileStageOut> ></job> maybe this is due to a missunerstandding of poststaging. See the following example rsl... [snip] <?xml version="1.0" encoding="UTF-8"?> <job> <executable>/bin/sh</executable> <directory>${GLOBUS_USER_HOME}</directory> <argument>${GLOBUS_USER_HOME}date_script.sh</argument> <stdout>${GLOBUS_USER_HOME}/date_script.stdout</stdout> <stderr>${GLOBUS_USER_HOME}/date_script.stderr</stderr> <queue>gridbatch</queue> <fileStageIn> <transfer> <sourceUrl>gsiftp://clienthost.xxx.org//home/alibeck/programme/GEO600/dat e_script.sh</sourceUrl> <destinationUrl>file:///${GLOBUS_USER_HOME}/date_script.sh</destination Url> </transfer> </fileStageIn> <fileStageOut> <transfer> <sourceUrl>file:///${GLOBUS_USER_HOME}/date_script.stdout</sourceUrl> <destinationUrl>gsiftp://clienthost.xxx.org//home/alibeck/date_script.std out</destinationUrl> </transfer> <transfer> <sourceUrl>file:///${GLOBUS_USER_HOME}/date_script.stderr</sourceUrl> <destinationUrl>gsiftp://clienthost.xxx.org//home/alibeck/date_script.std err</destinationUrl> </transfer> </fileStageOut> [snip] So the source URL for stageout is located on the execution host, e.g. file:///${GLOBUS_USER_HOME}/date_script.stderr and the destination host must be defined as an gsiftp host gsiftp://clienthost.xxx.org//home/alibeck/date_script.stderr Please keep in mind that a gridftp server must be running on the client host. wsgram is pushing! On the execution I recommend to use the environment variable GLOBUS_USER_HOME, which points to the home directory on the execution host. Hope that helps. Cheers Alexander
