[mpich-discuss] finding number of cpus or cores

Harun Raşit ER harunrasiter at gmail.com
Thu Oct 7 03:04:23 CDT 2010


Hi,

Thanks for your reply :)

In fact I am looking for the number of processors available at a cluster of
computers.

On Wed, Oct 6, 2010 at 6:58 PM, <jayesh at mcs.anl.gov> wrote:

> Hi,
>  Are you looking for a portable solution ? On windows you can use
> GetLogicalProcessorInformation() .
>
> Regards,
> Jayesh
> ----- Original Message -----
> From: "Harun Raşit ER" <harunrasiter at gmail.com>
> To: mpich-discuss at mcs.anl.gov
> Sent: Wednesday, October 6, 2010 8:11:23 AM GMT -06:00 US/Canada Central
> Subject: [mpich-discuss] finding number of cpus or cores
>
>
> If we use "MPI::COMM_WORLD.Get_size();" we get the number of the processes
> but i would like to get the number of processors . But i could find a
> solution for this.
>
> I am using VS2005 and MPICH2.
>
> I hope there is a solution for the problem.
>
> Thanks for your attention.
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20101007/4f8441c9/attachment-0001.htm>


More information about the mpich-discuss mailing list