[torqueusers] Send a job to PBS and get it to have other name than STDIN

Chris Samuel csamuel at vpac.org
Mon Apr 23 06:49:36 MDT 2007


On Sat, 21 Apr 2007, Matias Alberto Gavinowich wrote:

> Is there any way to get the job to be named something else than STDIN?
> What are the possible workarounds? (I would choose the solution which
> poses the least risk to my current globus environment).

Hi Matias,

This is from Graham Jenkins, one of our grid people, in response to your plea
for help (thanks Graham!).  I've copied him in on this.

> Works fine at our place:
>
> graham at sys09 /tmp > globus-job-run ng1/jobmanager-pbs /bin/sleep 1000
> graham at edda /home/san04/graham> qstat |grep graham
> 179232.edda-m       Grid_ng1_        graham           00:00:00 R dque
> 
> This magic is accomplished in pbs.pm on our gateway machines, using the
> lines: 
>     chomp($submit_host = `/bin/hostname -s`);  
>     print JOB '#PBS -N Grid_', $submit_host, "_",$description->jobname(), "\n";
> 
> It will be apparent that if a jobname description is supplied in the
> Globus job, then it will be appended.

How does that sound ?

All the best,
Chris
-- 
 Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia



More information about the torqueusers mailing list