Can you paste the exact commands you use in the system calls, and the
error you get in the concurrent scenario?

Martin

Belaid MOA wrote:
> That's right Martin. For each thread, I just call
> system("globus-credential-delegate ... ") and use the epr in
> system("globusrun-ws ...."). That's where I do not get any error. 
> If, however,
> I call system("globusrun-ws ...") on each thread using a single epr
> (created in the shell script before running the C program), then I
> started getting RSL stagein element error.
> 
> Thanks a lot Martin for looking at this.
> 
> ~Belaid.
>  
> 
>> Date: Wed, 21 Jul 2010 09:55:16 -0500
>> From: [email protected]
>> CC: [email protected]
>> Subject: Re: [gt-user] Threads and
> globusrun-ws/globus-credential-delegate.
>>
>> Hi,
>>
>> I'm not sure I get this question right, and I'm also not a C guy anymore.
>>
>> Does it work if you run globus-credential-delegate and globusrun-ws
> sequentially
>> as command-line tools?
>>
>> I.e.
>> 1. Call globus-credential-delegate and store the EPR somewhere.
>> 2. Then use it for several globusrun-ws job submissions.
>>
>> Martin
>>
>> Belaid MOA wrote:
>> > Hi everyone,
>> > Just a quick question, I am using pthreads in C to run globusrun-ws
>> > and globus-credential-delegate concurrently on a GT4 PBS cluster.
>> > I noticed that using a single system call to globus-credential-delegate
>> > when submitting a set of jobs produces RSL stagein element error (The
>> > jobs are using
>> > the same epr produced by the single call to globus-credential-delegate).
>> > This does not happen when globus-credential-delegate is called for every
>> > job (each job has its own unique epr).
>> >
>> > Is that mean that globusrun-ws/globus-credential-delegate are not
>> > thread-safe?
>> >
>> > Thanks a lot in advance.
>> > ~Belaid.
>> >
>> > ------------------------------------------------------------------------
>> > Turn down-time into play-time with Messenger games Play Now!
>> > <http://go.microsoft.com/?linkid=9734381>
>>
> 
> ------------------------------------------------------------------------
> Look 'em in the eye: FREE Messenger video chat Chat Now!
> <http://go.microsoft.com/?linkid=9734382>

Reply via email to