1
1
openmpi/ompi/include
Rainer Keller 916eb1fb1e - As proposed in RFC and telcon, warn the user about deprecated
functionality (per MPI-2.1). This warning can be toggled using
   --enable-mpi-interface-warning (default OFF), but can be
   selectively turned on passing
       mpicc -DOMPI_WANT_MPI_INTERFACE_WARNING

   Using icc, gcc < 4.5, warnings (such as in mpi2basic_tests) show:
     type_vector.c:83: warning: ‘MPI_Type_hvector’ is deprecated
     (declared at /home/../usr/include/mpi.h:1379)

   Using gcc-4.5 (gcc-svn) these show up as:
     type_vector.c:83: warning: ‘MPI_Type_hvector’ is deprecated
     (declared at /home/../usr/include/mpi.h:1379):
     MPI_Type_hvector is superseded by MPI_Type_create_hvector in MPI-2.0


   Jeff and I propose to turn such warnings on with Open MPI-1.7 by default.


 - Detection of user-level compiler is handled using the preprocessor
   checks of GASnet's other/portable_platform.h (thanks to Paul Hargrove
   and Dan Bonachea) adapted into ompi/include/mpi_portable_platform.h
   (see comments).

   The OMPI-build time detection is output (Familyname and Version)
   with ompi_info.

   This functionality (actually any upcoming __attribute__) are turned
   off, if a different compiler (and version) is being detected.


 - Note, that any warnings regarding (user-compiler!=build-compiler)
   as discussed in the RFC are _not_ included for now.


 - Tested on Linux with --enable-mpi-interface-warning on
   Linux, gcc-4.5 (deprecated w/ specific msg)
   Linux, gcc-4.3 (deprecated w/o specific msg)
   Linux, pathscale 3.1 (deprecated w/o specific msg)
   Linux, icc-11.0 (deprecated w/o specific msg)

   Linux, PGI-8.0.6 accepts __deprecated__ but does not issue a warning,
   further investigation needed...

This commit was SVN r21262.
2009-05-22 04:39:43 +00:00
..
ompi This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
Makefile.am - As proposed in RFC and telcon, warn the user about deprecated 2009-05-22 04:39:43 +00:00
mpi_portable_platform.h.in - As proposed in RFC and telcon, warn the user about deprecated 2009-05-22 04:39:43 +00:00
mpi.h.in - As proposed in RFC and telcon, warn the user about deprecated 2009-05-22 04:39:43 +00:00
mpif-common.h Add the logicalx types to fortran. 2008-04-02 06:34:46 +00:00
mpif-config.h.in Add ability to completely turn off MPI one-sided support, so that users 2007-08-18 21:35:51 +00:00
mpif-mpi-io.h Add ability to completely turn off MPI one-sided support, so that users 2007-08-18 21:35:51 +00:00
mpif.h.in Fixes trac:1029: add in support for MPI_CONVERSION_FN_NULL. 2007-12-07 13:09:07 +00:00
ompi_config.h.in This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00