Jeff,
Thanks, that is what I was missing. Now things work as expected.
Tom
On Mon, 2007-10-08 at 23:01 +0200, Jeff Squyres wrote:
> Sorry for the delay in replying; I've been at an MPI conference and a
> follow-on OMPI engineering meeting -- the mail has piled up on me...
>
>
> On Oct 3, 2007, at 5:59 PM, Tom Kacvinsky wrote:
>
> > I have a problem with taskset:
> >
> > tkacvins_limelight> ./plpa-taskset --pid self --cpu-list
> > pid 0's current affinity mask: 3
> > sched_setaffinity: Invalid argument
> > failed to set pid 0's affinity.
>
> The command line syntax of plpa-taskset is pretty weird, mainly
> because it's derived from taskset's command line syntax. I think you
> need to do the following:
>
> plpa-taskset --pid --cpu-list self
>
> Specifically, the usage is:
>
> usage: plpa-taskset [options] [mask | cpu-list] [pid | cmd [args...]]
>
> So note that --pid does not take any arguments; the pid list ("self",
> in this case), needs to go at the end of the command line.
>
> Let me know if that works for you.
>
> > The details of my machine are int he subject line. Any ideas?
> > And is the ocrect forum for reporting bugs, or is the a bugzilla
> > set up for PLPA?
>
> This is the best place to report bugs.
>
|