[mpich-devel] MPI_Dims_create() fails for nproc >1000000

Jeff Hammond jeff.science at gmail.com
Thu Dec 19 11:13:30 CST 2013


I started working on a patch, but I'm not sure if it is the right
thing to just encode a longer static array of primes.

Any suggestions on how to proceed?  Should I generate the array of
primes on-the-fly (once per MPI instance) up to the max possible
amount?

Jeff


---------- Forwarded message ----------
From: Jeff Hammond <jeff.science at gmail.com>
Date: Thu, Dec 19, 2013 at 10:55 AM
Subject: Re: [mpich-discuss] MPI_Dims_create() fails for nproc >1000000
To: discuss at mpich.org


Can you provide a short test that reproduces the issue you are seeing?
 I will add a Trac ticket for it.

Thanks,

Jeff

On Thu, Dec 19, 2013 at 9:49 AM, Andreas Schäfer <gentryx at gmx.de> wrote:
> Hi,
>
> I noticed that MPICH's MPI_Dims_create() fails with a floating point
> exception, if the number of processes is larger than 10^6. Apparently
> the reason is that the prime factors are hard coded into the code and
> are limited to 1000 (or sqrt(10^6)). Open MPI's implementation has no
> such limitation.
>
> Best
> -Andreas
>
>
> --
> ==========================================================
> Andreas Schäfer
> HPC and Grid Computing
> Chair of Computer Science 3
> Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
> +49 9131 85-27910
> PGP/GPG key via keyserver
> http://www.libgeodecomp.org
> ==========================================================
>
> (\___/)
> (+'.'+)
> (")_(")
> This is Bunny. Copy and paste Bunny into your
> signature to help him gain world domination!
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss



--
Jeff Hammond
jeff.science at gmail.com


-- 
Jeff Hammond
jeff.science at gmail.com


More information about the devel mailing list