<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] MPI x64 - buy advanced version</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2> Hi,<BR>
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.<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: owner-mpich-discuss@mcs.anl.gov [<A HREF="mailto:owner-mpich-discuss@mcs.anl.gov">mailto:owner-mpich-discuss@mcs.anl.gov</A>] On Behalf Of ddkrause<BR>
Sent: Friday, September 19, 2008 9:28 AM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: Re: [mpich-discuss] MPI x64 - buy advanced version<BR>
<BR>
Hello,<BR>
<BR>
Joao Paulo Lima Santos wrote:<BR>
> Dear THE SOURCE,<BR>
><BR>
> Really there's MPI_INTEGER8 to represents 8-bit integer, but not all<BR>
> variables can take this form, for example the COUNT:<BR>
><BR>
> MPI_Send(void* buf,int count,MPI_Datatype datatype,<BR>
> int dest,int tag,MPI_Comm comm);<BR>
><BR>
> I am sending a vector whose size exceeds representation 4-bit integer<BR>
> (COUNT). Internally, the MPI function does not appear to represent an<BR>
> entire 8-bit and returns an error message.<BR>
><BR>
<BR>
You are talking about 4 byte integers, don't you?<BR>
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.<BR>
Maybe you can use some compiler flag to increase the size of int?<BR>
Otherwise you probably need to split the message.<BR>
<BR>
> Do you now some version that I can to do it?<BR>
><BR>
> Sincerily yours.<BR>
><BR>
> Joao Paulo<BR>
><BR>
><BR>
<BR>
<BR>
<BR>
Best regards,<BR>
D. Krause<BR>
<BR>
<BR>
<BR>
<BR>
><BR>
><BR>
><BR>
> Quoting The Source <thesourcehim@gmail.com>:<BR>
><BR>
>> As far as I know, there's MPI_CHAR type that represents 8-bit integer<BR>
>> (no matter what platform). Works for me on Fedora 9 x86_64.<BR>
>><BR>
>> Joao Paulo Lima Santos ?????:<BR>
>>> Dear staff,<BR>
>>> I'm trying to run mpi in environment of 64bits (Win x64) and I've<BR>
>>> failled. I need to have integer variables which only can be<BR>
>>> represented by eigth bits. Is there a version of MPI that I can<BR>
>>> use?. Is it possible buy such version?<BR>
>>><BR>
>>> Sincerily yours.<BR>
>>><BR>
>>> Joao Paulo<BR>
>>><BR>
>>><BR>
>>><BR>
>>><BR>
>>><BR>
>>><BR>
>>><BR>
>><BR>
>><BR>
><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>