[torquedev] perl modules Was: Re: [torqueusers] TORQUE DRMAAimplementation

Bernard Li bli at bcgsc.ca
Thu Dec 1 14:51:56 MST 2005


Hey Garrick:

Thanks for the info.

But what I really need is a way to do this for TORQUE and other systems,
like SGE and potentially SLURM.  To me it seems like DRMAA is the best
way to go.

Cheers,

Bernard 

> -----Original Message-----
> From: torquedev-bounces at supercluster.org 
> [mailto:torquedev-bounces at supercluster.org] On Behalf Of 
> Garrick Staples
> Sent: Thursday, December 01, 2005 13:11
> To: torquedev at supercluster.org
> Subject: [torquedev] perl modules Was: Re: [torqueusers] 
> TORQUE DRMAAimplementation
> 
> FYI, there are already 2 implementations of perl<->TORQUE glue.
> 
> I wrote one that is a fairly complete exposure of everything in the
> pbs_ifl and RM interfaces.  You can stat anything, submit jobs, alter
> jobs.  You could write a new qmgr if you wanted.
> http://www-rcf.usc.edu/~garrick/perl-PBS/
> 
> There's also an older one up on CPAN.  It has a finer-grained object
> structure, but it only works for pbs_stat*().
> http://search.cpan.org/CPAN/authors/id/T/TM/TMERRITT/
> 
> Note that as perl modules go, the name "PBS" has been more recently
> taken to be the Perl Build System.  So future efforts should probably
> use a different name.  Maybe we need a "TORQUE" perl modules.
> 
> 
> 
> On Thu, Dec 01, 2005 at 10:42:38AM -0800, Bernard Li alleged:
> > Hi Guillaume:
> > 
> > Cool!
> > 
> > I haven't really looked into DRMAA seriously but what I 
> wanted to do is write a perl application/module which can do 
> simple things on TORQUE, SGE and any other DRMAA-compliant 
> systems like qsub, qstat, qdel but all abstracted out.
> > 
> > What I wanted to do is actually pretty simple but instead 
> of re-inventing the wheel, I just thought that it would be 
> easier to use DRMAA.
> > 
> > I have also sent this mail to torquedev at supercluster.org, 
> if everybody's subscribed to it then we don't have to reply 
> back to torqueusers.
> > 
> > Thanks,
> > 
> > Bernard
> > 
> > > -----Original Message-----
> > > From: Guillaume Alleon [mailto:guillaume.alleon at laposte.net] 
> > > Sent: Wednesday, November 30, 2005 22:43
> > > To: torqueusers
> > > Cc: Bernard Li
> > > Subject: Re: [torqueusers] TORQUE DRMAA implementation
> > > 
> > > Bernard Li a ?crit :
> > > 
> > > >Please keep the list posted on your progress.
> > > >
> > > >Thanks,
> > > >
> > > >Bernard 
> > > >
> > > >  
> > > >
> > > oky I have now a raw perl module using using a kind of one to one 
> > > mapping that
> > > is attached.
> > > It would help if you can provide an perl example of typical 
> > > PERL actions 
> > > - I am
> > > not an expert ...
> > > 
> > > Guillaume
> > > 
> > > PS: Probably we should move this discussion to the dev 
> > > mailing list ;-)
> > > 
> > > 
> > _______________________________________________
> > torqueusers mailing list
> > torqueusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torqueusers
> 
> -- 
> Garrick Staples, Linux/HPCC Administrator
> University of Southern California
> 


More information about the torquedev mailing list