[MPICH] Maximum message length
James S Perrin
james.s.perrin at manchester.ac.uk
Thu Jan 5 19:59:12 CST 2006
Ashley Pittman wrote:
> On Thu, 2006-01-05 at 12:14 +0000, James S Perrin wrote:
>
>>Hi,
>> As the in Sends/Recvs message count is defined as an int (32bit) is the maximum
>>message count 2^31 or (2^31)/sizeof(datatype) ie the number of bytes is limited
>>to 2^31 ? Is this behaviour implementation specific?
>
>
> This isn't quite right, the maximum count is 2^31 as you say but the
> maximum message size if (2^31)*sizeof(datatype).
Thanks that answers my question.
> Given that a int is 4
> bytes allows 8Gb transfers, if you want more just use a larger
> datatypes.
No, I need to send messages of any datatype where count > 2^31. Though I could
define a large array of datatype as a new MPI_Type I would think it better to
send the messages in chunks of 2^31 (or less)?
Regards
James
--
-----------------------------------------------------------------------------
James S. Perrin, | email: james.perrin at man.ac.uk
Manchester Visualization Centre, | www.sve.man.ac.uk/General/Staff/perrin
Kilburn Building, The University, | tel: +44 161 275 6945
Manchester, England. M13 9PL. | fax: +44 161 275 6800/6040
-----------------------------------------------------------------------------
"The test of intellect is the refusal to belabour the obvious" -Alfred Bester
-----------------------------------------------------------------------------
More information about the mpich-discuss
mailing list