[mpich-discuss] Fortran integer support 4/8-bytes

Jeff Hammond jhammond at alcf.anl.gov
Thu Jun 7 18:03:45 CDT 2012


I think I meant something else than what page 494 addresses.

In the following, can I have the compiler use any size integer for
COUNT, DATATYPE, DEST, TAG, COMM and IERROR (all the same, of course)?
 If I elect an N-bit integer, can I pass an argument of up to 2^(N-1)
or am I limited by the internals of MPICH2 to 2^31 no matter what N
is?  There are two questions here: what, if anything, does the
standard say about this and what does MPICH2 actually do about it?

MPI_SEND(BUF, COUNT, DATATYPE, DEST, TAG, COMM, IERROR)
       <type> BUF(*)
       INTEGER COUNT, DATATYPE, DEST, TAG, COMM, IERROR

Thanks,

jeff

On Fri, Jun 8, 2012 at 12:48 AM, Reuti <reuti at staff.uni-marburg.de> wrote:
> Am 08.06.2012 um 00:43 schrieb Jeff Hammond:
>
>> Does MPICH2 support Fortran bindings with 8-byte integers?  Do these
>> permit values greater than what is representable in a 4-byte integer
>> or does the lower level implementation in C preclude the use of
>> arguments greater than 2^31?
>>
>> Sorry for the dumb question.  I consulted the MPI standard (regarding
>> the general question with Fortran integer sizes) and the MPICH2
>> install docs (perhaps a rather old PDF from the Internet) but did not
>> find the answer.
>>
>> If the MPI standard addresses this topic, can someone point me to the
>> relevant section?  I can find such random topics much easier in my
>> paper copy but I do not have access to it right now.
>
> Page 494 lists some:
>
> http://www.mpi-forum.org/docs/mpi-2.2/mpi22-report.pdf
>
> -- Reuti
>
>
>> Thanks,
>>
>> Jeff
>>
>> --
>> Jeff Hammond
>> Argonne Leadership Computing Facility
>> University of Chicago Computation Institute
>> jhammond at alcf.anl.gov / (630) 252-5381
>> http://www.linkedin.com/in/jeffhammond
>> https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond


More information about the mpich-discuss mailing list