[vsipl++] Number of Processes General Question
Cassanova, Bill
BCassanova at weather.com
Thu Mar 4 18:45:28 UTC 2010
Thanks for the reply. So, reading between the lines here...VSIP++, via
openMIP mechanisms, takes care of MPI intricacies.
-----Original Message-----
From: Stefan Seefeld [mailto:stefan at codesourcery.com]
Sent: Thursday, March 04, 2010 12:29 PM
To: vsipl++ at codesourcery.com
Subject: Re: [vsipl++] Number of Processes General Question
Bill,
On 03/04/2010 12:07 PM, Cassanova, Bill wrote:
> Hi folks,
>
> Just wondering why would vsipl++ report a different number of
processors
> than sysconf?
This is because they have different notions of what a "processor" is.
One uses it for a piece of hardware, the other for an MPI-enabled
process that participates in a parallel computation.
> Do I need to necessarily run a vsipl++ program using mpirun, i.e:
>
> "mpirun -np${num_processors} ./vsipl_tester"
>
> In order for vsipl++ to recognize that there are multiple processors
> installed on the machine?
Yes. Or more specifically, Sourcery VSIPL++ still won't recognize the
number of CPUs or cores. It will report the number of processes started
via `mpirun`, which is the number of processes potentially participating
in the computations of your program.
Regards,
Stefan
--
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718
More information about the vsipl++
mailing list