[torqueusers] specify job id

Lloyd Brown lloyd_brown at byu.edu
Wed Jan 25 15:25:06 MST 2012


I'm a little confused.  If all you're doing is adding a frontend to
Torque, what's wrong with using the jobid numbers that Torque assigns?
They're guaranteed to be unique, and get output via stdout when you call
qsub.


Lloyd Brown
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University
http://marylou.byu.edu

On 01/25/2012 03:18 PM, Hakeem Almabrazi wrote:
> Thank you everyone for helping me with this. 
> 
>  
> 
> The only reason why I want to do that is to be able to track that job
> specifically.  I am building a service to submit jobs to Torque.  The
> same service will have to wait till the job is done and return the
> results back to the call.  So the service need to know when the job is
> completed to load back the results.  I thought, the best way is for that
> service to keep asking the Torque on the status of the submitted job
> rather than looking up file(s) in the file system.
> 
>  
> 
> So the service has to assign a number to the job and then force Torque
> to use that number.  Now if the service wants to know the status of that
> job, it can asks the Torque server using the same job number.  It might
> be over kill way of doing things but that is the requirement.   Now
> there might be a better way of doing that.  I would love to hear it if
> someone else has better approach than this.
> 


More information about the torqueusers mailing list