Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] [OMPI devel] OpenMPI, PLPA and Linux cpuset/cgroup support
From: Chris Samuel (csamuel_at_[hidden])
Date: 2009-07-25 00:44:47


----- "Jeff Squyres" <jsquyres_at_[hidden]> wrote:

> Hmm. Now I'm confused. I thought you said that we
> could read /dev/cpuset ourselves without too much trouble...?

This is what Torque does at present, though I suggest
that PLPA start of by abstracting that and then having
handlers for /dev/cpuset and /dev/cgroup depending on
which is mounted at the time.

You may also want to probe /proc/mounts to tell which
is in use and where it is mounted (Torque currently
assumes /dev/cpuset but you can mount it anywhere).

cheers!
Chris

-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency