[torquedev] uname default for arch in pbs_mom ? (was Re: [torqueusers] Xeon submit host for both Xeon and Opteron nodes?)

Garrick Staples garrick at clusterresources.com
Tue Nov 28 00:37:06 MST 2006


On Mon, Nov 27, 2006 at 01:43:24PM +1100, Chris Samuel alleged:
> On Saturday 25 November 2006 13:36, Garrick Staples wrote:
> 
> > That's what I do, except I use "i686" and "x86_64". ?This allows 32bit
> > jobs to easily run on both types of nodes (which works fine as long as
> > the 32bit libs are installed on 64bit nodes.) ?Users can easily require
> > x86_64 nodes for 64bit jobs.
> 
> I reckon it's worth considering making the pbs_mom export a default value of 
> arch based upon the machine type returned by uname.
> 
> I've attached a very simple demo of its use, but be warned that it doesn't 
> always return what you expect on different OS's (or at least AIX and Irix), 
> which is why it needs to be overrideable.

We could make this function be arch-specific; it lives in
resmom/*/mom_mach.c and do the most appropriate thing.

How about uname -p?


> So, for the systems I have access to, here's what it prints:
> 
> 
> Linux on 32-bit Xeon
> 
> Machine type : i686
> 
> 
> Linux on AMD Opteron
> 
> Machine type : x86_64
> 
> 
> Linux on Intel Clovertown
> 
> Machine type : x86_64
> 
> 
> Linux on Itanic:
> 
> Machine type : ia64
> 
> 
> HP-UX on Itanic:
> 
> Machine type : ia64
> 
> 
> Linux on Power5
> 
> Machine type : ppc64
> 
> 
> AIX 5.3 on Power4 (an oddball)
> 
> Machine type : 0006387A4C00
> 
> (This actually is correct, uname -m returns that value too!)
> 
> 
> 
> 
> Here's the results from SGI gear that our friends in the RMIT VR center have.
> 
> 
> SGI Origin 350 (MIPS) running IRIX 6.5.26m
> 
> Machine type : IP35
> 
> 
> Origin 200 (MIPS) running  IRIX 6.5.22m
> 
> Machine type : IP27
> 
> 
> Onyx2 (MIPS) running IRIX  6.5.22m
> 
> Machine type : IP27
> 
> 
> SGI Prism (Itanic) running Linux
> 
> Machine type : ia64
> 
> 
> 
> cheers,
> 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
> 





> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev



More information about the torquedev mailing list