[mpich-discuss] build broken on 'master': 'mpitypedefs.h' file not found

Rob Latham robl at mcs.anl.gov
Mon Jan 6 12:49:34 CST 2014

On Sun, Jan 05, 2014 at 04:34:45PM -0600, Jed Brown wrote:
> Robert Latham <robl at mcs.anl.gov> writes:
> > I'll just pull the two lines I need from mpitypedefs.h instead of including the entire file.  Until I do that, delete the, #include. It's only needed on bluegene
> Where is it used (git grep is not helping)?

Yeah, it's a pain to track down.  cscope is more helpful. 

mpitypedefs.h provides these lines:

/* Adding the 32-bit compute/64-bit I/O related type-casts in here as
 * they are not a part of the MPI standard yet. */
 #define MPI_AINT_CAST_TO_VOID_PTR (void *)(MPIR_Pint)

adio/include/adioi.h has this pointer-related lines:

  #define ADIOI_ENSURE_AINT_FITS_IN_PTR(aint_value) MPIR_Ext_ensure_Aint_fits_in_pointer(aint_value)

and finally, MPIR_Ext_ensure_Aint_fits_in_pointer is a macro, provided
by src/include/glue_romio.h.in

/* a copy of MPID_Ensure_Aint_fits_in_pointer for external use */
#define MPIR_Ext_ensure_Aint_fits_in_pointer(aint) \
  MPIR_Ext_assert((aint) == (MPI_Aint)(MPIR_Upint) MPI_AINT_CAST_TO_VOID_PTR(aint));


Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA

More information about the discuss mailing list