Still the problem persists.....


[EMAIL PROTECTED] ~]$ globusrun-ws -submit -S -f try.rsl
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:5557d9e8-bf39-11dc-a89a-000c291a2d6b
Termination time: 01/11/2008 05:03 GMT
Current job state: StageIn
Current job state: Failed
Destroying job...Done.
Cleaning up any delegated credentials...Done.
globusrun-ws: Job failed: Invalid directory path "/home/swaroop".


This is the output generated for the try.rsl as below:
<job>
    <executable>my_echo</executable>
    <directory>/home/swaroop</directory>
    <argument>Jan Demo</argument>
    <argument>10.... main kaun hoon</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</sourceUrl>

<destinationUrl>gsiftp://emcgrid1.devimsg.com:2811/tmp/stdout</destinationUrl>
        </transfer>
    </fileStageOut>
</job>


gridmapfile contents:

"/O=Grid/OU=GlobusTest/OU=
simpleCA-emcgrid1.devimsg.com/OU=devimsg.com/CN=goutham" swaroop



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 8:56 PM
To: Radhakrishna, Goutham
Cc: [email protected]
Subject: Re: [gt-user] GRAM job submission query



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