[vsipl++] num_processors() reporting the wrong number fo Processors
Speed Erek
speed at square-enix.com
Tue Oct 13 03:07:06 UTC 2009
> -----Original Message-----
> From: Stefan Seefeld [mailto:stefan at codesourcery.com]
> Sent: Saturday, October 10, 2009 2:50 AM
> To: vsipl++ at codesourcery.com
> Subject: Re: [vsipl++] num_processors() reporting the wrong number fo
> Processors
>
> On 10/09/2009 05:03 AM, Speed Erek wrote:
> > Hi,
> >
> > I'm running a parrallel vsip++ program on a Xenon with 2 processors and
> > 8 cores. Installed is the light version of vsipl++ with no options to
> > ./configure. In my program I print out the return value of
> > num_processors() for verification purposes and it returns 1 instead of
> > the 8 I might expect.
>
> Can you elaborate on what you mean by "running a parallel vsip++
> program" ? Are you running it with mpirun ?
There might be a bit of confusion here.
I was thinking that you could use an external library for added efficiency
but if you didn't then you would get some kind of built-in support and work a
bit like OpenMP. (Straight from the command line.)
In short, I thought if I used maps and ran the program then it would use
multiple processors.
I think I understand now that MPI or the like is required though.
Thanks for the reply.
More information about the vsipl++
mailing list