1
1
openmpi/ompi/tools
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_info - As proposed in RFC and telcon, warn the user about deprecated 2009-05-22 04:39:43 +00:00
ompi-probe - In case of OPAL_ENABLE_FT == 1, we need to 2009-04-29 06:57:49 +00:00
ompi-profiler ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
ompi-server Get rid of improper use of SET_SOURCE_FILES_PROPERTIES. When using the latest CMake (2.6 patch 4), we get many errors, which didn't show in previous version. 2009-05-07 17:41:05 +00:00
ortetools Update the Makefile for ortetools so the trunk can compile 2009-04-06 14:04:00 +00:00
wrappers Fix the wrapper compiler flags to get the right C++ exceptions flags 2008-10-28 14:26:47 +00:00
CMakeLists.txt Correctly set the compile flags of 'mpicc' for static version. 2009-04-22 13:17:25 +00:00
Makefile.am Add windows support files into the tarball, including .windows, CMakeLists.txt files, and CMake modules. Thanks to Jeff for testing it on Linux. 2009-04-24 16:39:33 +00:00
win_makefile Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00