[mpich-discuss] MPI x64 - buy advanced version

Jayesh Krishna jayesh at mcs.anl.gov
Fri Sep 19 09:33:19 CDT 2008


 Hi,
  Please follow the suggestion from Jeff (Use MPI Datatypes to send
messages of size > 2^31). As Jeff mentioned in his response using a
compiler option to change the size of int will get you into trouble.

Regards,
Jayesh

-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of ddkrause
Sent: Friday, September 19, 2008 9:28 AM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPI x64 - buy advanced version

Hello,

Joao Paulo Lima Santos wrote:
> Dear THE SOURCE,
>
> Really there's MPI_INTEGER8 to represents 8-bit integer, but not all 
> variables can take this form, for example the COUNT:
>
> MPI_Send(void* buf,int count,MPI_Datatype datatype,
>    int dest,int tag,MPI_Comm comm);
>
> I am sending a vector whose size exceeds representation 4-bit integer 
> (COUNT). Internally, the MPI function does not appear to represent an 
> entire 8-bit and returns an error message.
>

You are talking about 4 byte integers, don't you?
I think at least following the standard the count arguments needs to be an
integer. However the C standard does not specify the size of int.
Maybe you can use some compiler flag to increase the size of int?
Otherwise you probably need to split the message.

> Do you now some version that I can to do it?
>
> Sincerily yours.
>
> Joao Paulo
>
>



Best regards,
D. Krause




>
>
>
> Quoting The Source <thesourcehim at gmail.com>:
>
>> As far as I know, there's MPI_CHAR type that represents 8-bit integer 
>> (no matter what platform). Works for me on Fedora 9 x86_64.
>>
>> Joao Paulo Lima Santos ?????:
>>> Dear staff,
>>> I'm trying to run mpi in environment of 64bits (Win x64) and I've 
>>> failled. I need to have integer variables which only can be 
>>> represented by eigth bits. Is there a version of MPI that I can 
>>> use?. Is it possible buy such version?
>>>
>>> Sincerily yours.
>>>
>>> Joao Paulo
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080919/6db9bef3/attachment.htm>


More information about the mpich-discuss mailing list