Hi,

 I am trying to build MPE for use with OpenMPI. I built from source Version 1.10.1 of OpenMPI. 

 I am using this version of MPE ftp://ftp.mcs.anl.gov/pub/mpi/mpe/mpe2.tar.gz

 Should this work fine? I followed the instructions to build like this:

   ${MPE_SRC_DIR}/configure MPI_CC=${OPENMPI_INSTALL_DIR}/bin/mpicc \
                            CC=<C_COMPILER_used_to_build_OpenMPI> \
                            MPI_F77=${OPENMPI_INSTALL_DIR}/bin/mpif77 \
                            F77=<FORTRAN_COMPILER_used_to_build_OpenMPI> \
                            --with-java2=/usr/local/j2sdk-1.4.2
                            --prefix=<MPE_INSTALL_DIR>
   make
   make install


I keep running into problems with conflicting declarations

log_mpi_core.c:5611: error: conflicting types for 'MPI_Type_struct'
/u/hschilli/local/include/mpi.h:1796: error: previous declaration of 'MPI_Type_struct' was here

I think the issue is that MPE's declaration uses some const qualifiers while OpenMPI does not.

I tried hacking my way through this with the macro HAVE_CONST_IN_MPI_DECL and MPE_CONST but no luck so far.

What am I doing wrong?

Thanks in advance.

---------
Herb Schilling
Scientific Applications and Visualization Team
http://ocio.grc.nasa.gov/gvis
Office of the Chief Information Officer
NASA Glenn Research Center
hschilling@nasa.gov