1
1
openmpi/ompi/mpi/f90/scripts
Jeff Squyres 4d8a187450 Two major things in this commit:
* New "op" MPI layer framework
 * Addition of the MPI_REDUCE_LOCAL proposed function (for MPI-2.2)

= Op framework =

Add new "op" framework in the ompi layer.  This framework replaces the
hard-coded MPI_Op back-end functions for (MPI_Op, MPI_Datatype) tuples
for pre-defined MPI_Ops, allowing components and modules to provide
the back-end functions.  The intent is that components can be written
to take advantage of hardware acceleration (GPU, FPGA, specialized CPU
instructions, etc.).  Similar to other frameworks, components are
intended to be able to discover at run-time if they can be used, and
if so, elect themselves to be selected (or disqualify themselves from
selection if they cannot run).  If specialized hardware is not
available, there is a default set of functions that will automatically
be used.

This framework is ''not'' used for user-defined MPI_Ops.

The new op framework is similar to the existing coll framework, in
that the final set of function pointers that are used on any given
intrinsic MPI_Op can be a mixed bag of function pointers, potentially
coming from multiple different op modules.  This allows for hardware
that only supports some of the operations, not all of them (e.g., a
GPU that only supports single-precision operations).

All the hard-coded back-end MPI_Op functions for (MPI_Op,
MPI_Datatype) tuples still exist, but unlike coll, they're in the
framework base (vs. being in a separate "basic" component) and are
automatically used if no component is found at runtime that provides a
module with the necessary function pointers.

There is an "example" op component that will hopefully be useful to
those writing meaningful op components.  It is currently
.ompi_ignore'd so that it doesn't impinge on other developers (it's
somewhat chatty in terms of opal_output() so that you can tell when
its functions have been invoked).  See the README file in the example
op component directory.  Developers of new op components are
encouraged to look at the following wiki pages:

  https://svn.open-mpi.org/trac/ompi/wiki/devel/Autogen
  https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateComponent
  https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateFramework

= MPI_REDUCE_LOCAL =

Part of the MPI-2.2 proposal listed here:

    https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/24

is to add a new function named MPI_REDUCE_LOCAL.  It is very easy to
implement, so I added it (also because it makes testing the op
framework pretty easy -- you can do it in serial rather than via
parallel reductions).  There's even a man page!

This commit was SVN r20280.
2009-01-14 23:44:31 +00:00
..
Makefile.am George suggested a better way to make WTICK and WTIME -- be consistent 2006-06-21 19:07:09 +00:00
mpi_accumulate_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_address_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_allgather_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_allgatherv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_allreduce_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_alltoall_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_alltoallv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_alltoallw_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_bcast_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_bsend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_bsend_init_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_buffer_attach_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_buffer_detach_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_comm_spawn_multiple_f90.f90.sh Clean up the Fortran MPI sentinel values per problem reported on the 2006-07-31 15:07:09 +00:00
mpi_exscan_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iread_at_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iread_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iread_shared_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iwrite_at_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iwrite_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_iwrite_shared_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_all_begin_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_all_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_all_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_at_all_begin_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_at_all_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_at_all_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_at_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_ordered_begin_f90.f90.sh Changed to use procedure alias (when names too long). 2006-05-31 15:04:38 +00:00
mpi_file_read_ordered_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_ordered_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_read_shared_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_all_begin_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_all_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_all_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_at_all_begin_f90.f90.sh Changed to use procedure alias (when names too long). 2006-05-31 15:04:38 +00:00
mpi_file_write_at_all_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_at_all_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_at_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_ordered_begin_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_ordered_end_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_ordered_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_file_write_shared_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_gather_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_gatherv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_get_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_ibsend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_irecv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_irsend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_isend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_issend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_pack_external_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_pack_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_put_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_recv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_recv_init_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_reduce_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_reduce_scatter_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_rsend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_rsend_init_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_scan_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_scatter_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_scatterv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_send_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_send_init_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_sendrecv_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_sendrecv_replace_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_sizeof.f90.sh Fix the SIZEOF implementation for complex's. We want to output the 2006-11-03 15:52:46 +00:00
mpi_ssend_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_ssend_init_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_testall_f90.f90.sh Fix ordering of dimensions for status arrays. Thanks to Randy Bramley 2007-05-05 05:02:02 +00:00
mpi_testsome_f90.f90.sh Fix ordering of dimensions for status arrays. Thanks to Randy Bramley 2007-05-05 05:02:02 +00:00
mpi_unpack_external_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_unpack_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_waitall_f90.f90.sh Fix ordering of dimensions for status arrays. Thanks to Randy Bramley 2007-05-05 05:02:02 +00:00
mpi_waitsome_f90.f90.sh Fix ordering of dimensions for status arrays. Thanks to Randy Bramley 2007-05-05 05:02:02 +00:00
mpi_win_create_f90.f90.sh Bring over changes from the /tmp/fortran-stuff series: 2006-05-30 14:37:41 +00:00
mpi_wtick_f90.f90.sh George suggested a better way to make WTICK and WTIME -- be consistent 2006-06-21 19:07:09 +00:00
mpi_wtime_f90.f90.sh George suggested a better way to make WTICK and WTIME -- be consistent 2006-06-21 19:07:09 +00:00
mpi-f90-interfaces.h.sh Two major things in this commit: 2009-01-14 23:44:31 +00:00