Goutham:

if swaroop is the account that executes the job on the
remote host (i.e. is the first local user name that is
mapped to your DN in the gridmapfile) and if /home/swaroop
is the home-directory of the user swaroop you don't need a
directory element since you stage the file into the home
directory of swaroop.
See
http://www.globus.org/toolkit/docs/4.0/execution/wsgram/schemas/gram_job_description.html#element_directory

Otherwise your directory element should look like
<directory>/home/swaroop</directory>
since you stage the executable into /home/swaroop

Martin


> Hi,
>
> I had this doubt with respect to job submission using:
>
>  globusrun-ws -submit -S -f try.rsl
>
> try.rsl file reads as below:
>
> <job>
>     <executable>my_echo</executable>
>     <directory>//10.31.79.114/home/swaroop</directory>
>     <argument>January</argument>
>     <argument>8.... Hoge</argument>
>     <stdout>/home/swaroop/stdout</stdout>
>     <stderr>/home/swaroop/stderr</stderr>
>     <fileStageIn>
>         <transfer>
> <sourceUrl>gsiftp://emcgrid1.devimsg.com:2811/bin/echo</sourceUrl>
> <destinationUrl>gsiftp://emcgrid2.devimsg.com:2811/home/swaroop/my_echo<
> /destinationUrl>
>         </transfer>
>     </fileStageIn>
>     <fileStageOut>
>         <transfer>
> <sourceUrl>gsiftp://emcgrid2.devimsg.com:2811/home/swaroop/stdout</sourc
> eUrl>
> <destinationUrl>gsiftp://emcgrid1.devimsg.cim:2811/tmp/stdout</destinati
> onUrl>
>         </transfer>
>     </fileStageOut>
> </job>
>
>
>
> How do I submit a job to a remote machine "emcgrid2.devimsg.com" sitting
> at "emcgrid1.devimsg.com"? I am trying to copy the /bin/echo from
> emcgrid1.devimsg.com and execute the command on emcgrid2.devimsg.com.
> Then finally retrieving the output to emcgrid1.devimsg.com.
>
> Could you please specify what the <directory>????????</directory>
> attribure needs to be? Awaiting your reply.
>
>
>
> Regards,
>
> Goutham
>
>
>
>


Reply via email to