1
1
openmpi/ompi/mpi/c/profile/Makefile.am

391 строка
10 KiB
Makefile
Исходник Обычный вид История

# -*- makefile -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
#
# OMPI_PROFILING_DEFINES flag s enabled when we want our MPI_* symbols
# to be replaced by PMPI_*. In other words, this flag decides
# whether "profile/defines.h" is included or not. "profile/defines.h"
# replaces all MPI_* symbols with PMPI_* symbols. In this directory
# we definately need it to be 1.
#
AM_CPPFLAGS = -DOMPI_PROFILING_DEFINES=1
#
# This build needs to go through only if profiling is required.
# Further, this build HAS to go through if profiling is required.
#
noinst_LTLIBRARIES =
== Highlights == 1. New mpifort wrapper compiler: you can utilize mpif.h, use mpi, and use mpi_f08 through this one wrapper compiler 1. mpif77 and mpif90 still exist, but are sym links to mpifort and may be removed in a future release 1. The mpi module has been re-implemented and is significantly "mo' bettah" 1. The mpi_f08 module offers many, many improvements over mpif.h and the mpi module This stuff is coming from a VERY long-lived mercurial branch (3 years!); it'll almost certainly take a few SVN commits and a bunch of testing before I get it correctly committed to the SVN trunk. == More details == Craig Rasmussen and I have been working with the MPI-3 Fortran WG and Fortran J3 committees for a long, long time to make a prototype MPI-3 Fortran bindings implementation. We think we're at a stable enough state to bring this stuff back to the trunk, with the goal of including it in OMPI v1.7. Special thanks go out to everyone who has been incredibly patient and helpful to us in this journey: * Rolf Rabenseifner/HLRS (mastermind/genius behind the entire MPI-3 Fortran effort) * The Fortran J3 committee * Tobias Burnus/gfortran * Tony !Goetz/Absoft * Terry !Donte/Oracle * ...and probably others whom I'm forgetting :-( There's still opportunities for optimization in the mpi_f08 implementation, but by and large, it is as far along as it can be until Fortran compilers start implementing the new F08 dimension(..) syntax. Note that gfortran is currently unsupported for the mpi_f08 module and the new mpi module. gfortran users will a) fall back to the same mpi module implementation that is in OMPI v1.5.x, and b) not get the new mpi_f08 module. The gfortran maintainers are actively working hard to add the necessary features to support both the new mpi_f08 module and the new mpi module implementations. This will take some time. As mentioned above, ompi/mpi/f77 and ompi/mpi/f90 no longer exist. All the fortran bindings implementations have been collated under ompi/mpi/fortran; each implementation has its own subdirectory: {{{ ompi/mpi/fortran/ base/ - glue code mpif-h/ - what used to be ompi/mpi/f77 use-mpi-tkr/ - what used to be ompi/mpi/f90 use-mpi-ignore-tkr/ - new mpi module implementation use-mpi-f08/ - new mpi_f08 module implementation }}} There's also a prototype 6-function-MPI implementation under use-mpi-f08-desc that emulates the new F08 dimension(..) syntax that isn't fully available in Fortran compilers yet. We did that to prove it to ourselves that it could be done once the compilers fully support it. This directory/implementation will likely eventually replace the use-mpi-f08 version. Other things that were done: * ompi_info grew a few new output fields to describe what level of Fortran support is included * Existing Fortran examples in examples/ were renamed; new mpi_f08 examples were added * The old Fortran MPI libraries were renamed: * libmpi_f77 -> libmpi_mpifh * libmpi_f90 -> libmpi_usempi * The configury for Fortran was consolidated and significantly slimmed down. Note that the F77 env variable is now IGNORED for configure; you should only use FC. Example: {{{ shell$ ./configure CC=icc CXX=icpc FC=ifort ... }}} All of this work was done in a Mercurial branch off the SVN trunk, and hosted at Bitbucket. This branch has got to be one of OMPI's longest-running branches. Its first commit was Tue Apr 07 23:01:46 2009 -0400 -- it's over 3 years old! :-) We think we've pulled in all relevant changes from the OMPI trunk (e.g., Fortran implementations of the new MPI-3 MPROBE stuff for mpif.h, use mpi, and use mpi_f08, and the recent Fujitsu Fortran patches). I anticipate some instability when we bring this stuff into the trunk, simply because it touches a LOT of code in the MPI layer in the OMPI code base. We'll try our best to make it as pain-free as possible, but please bear with us when it is committed. This commit was SVN r26283.
2012-04-18 19:57:29 +04:00
if BUILD_PMPI_BINDINGS_LAYER
noinst_LTLIBRARIES += libmpi_c_pmpi.la
endif
headers = defines.h
nodist_libmpi_c_pmpi_la_SOURCES = \
pabort.c \
padd_error_class.c \
padd_error_code.c \
padd_error_string.c \
paddress.c \
pallgather.c \
pallgatherv.c \
palloc_mem.c \
pallreduce.c \
palltoall.c \
palltoallv.c \
palltoallw.c \
pattr_delete.c \
pattr_get.c \
pattr_put.c \
pbarrier.c \
pbcast.c \
pbsend.c \
pbsend_init.c \
pbuffer_attach.c \
pbuffer_detach.c \
pcancel.c \
pcart_coords.c \
pcart_create.c \
pcartdim_get.c \
pcart_get.c \
pcart_map.c \
pcart_rank.c \
pcart_shift.c \
pcart_sub.c \
pclose_port.c \
pcomm_accept.c \
pcomm_c2f.c \
pcomm_call_errhandler.c \
pcomm_compare.c \
pcomm_connect.c \
pcomm_create.c \
pcomm_create_errhandler.c \
pcomm_create_keyval.c \
pcomm_delete_attr.c \
pcomm_disconnect.c \
pcomm_dup.c \
pcomm_f2c.c \
pcomm_free.c \
pcomm_free_keyval.c \
pcomm_get_attr.c \
pcomm_get_errhandler.c \
pcomm_get_name.c \
pcomm_get_parent.c \
pcomm_group.c \
pcomm_join.c \
pcomm_rank.c \
pcomm_remote_group.c \
pcomm_remote_size.c \
pcomm_set_attr.c \
pcomm_set_errhandler.c \
pcomm_set_name.c \
pcomm_size.c \
pcomm_spawn.c \
pcomm_spawn_multiple.c \
pcomm_split.c \
pcomm_split_type.c \
pcomm_test_inter.c \
pdims_create.c \
perrhandler_c2f.c \
perrhandler_create.c \
perrhandler_f2c.c \
perrhandler_free.c \
perrhandler_get.c \
perrhandler_set.c \
perror_class.c \
perror_string.c \
pexscan.c \
pfinalize.c \
pfinalized.c \
pfree_mem.c \
pgather.c \
pgatherv.c \
pget_address.c \
pget_count.c \
pget_elements.c \
pget_library_version.c \
pget_processor_name.c \
pget_version.c \
pgraph_create.c \
pgraph_get.c \
pgraph_map.c \
pgraph_neighbors_count.c \
pgraph_neighbors.c \
pgraphdims_get.c \
pgrequest_complete.c \
pgrequest_start.c \
pgroup_c2f.c \
pgroup_compare.c \
pgroup_difference.c \
pgroup_excl.c \
pgroup_f2c.c \
pgroup_free.c \
pgroup_incl.c \
pgroup_intersection.c \
pgroup_range_excl.c \
pgroup_range_incl.c \
pgroup_rank.c \
pgroup_size.c \
pgroup_translate_ranks.c \
pgroup_union.c \
pibsend.c \
pimprobe.c \
pimrecv.c \
pinfo_c2f.c \
pinfo_create.c \
pinfo_delete.c \
pinfo_dup.c \
pinfo_f2c.c \
pinfo_free.c \
pinfo_get.c \
pinfo_get_nkeys.c \
pinfo_get_nthkey.c \
pinfo_get_valuelen.c \
pinfo_set.c \
pinit.c \
pinit_thread.c \
pinitialized.c \
pintercomm_create.c \
pintercomm_merge.c \
piprobe.c \
pirecv.c \
pirsend.c \
pis_thread_main.c \
pisend.c \
pissend.c \
pkeyval_create.c \
pkeyval_free.c \
plookup_name.c \
pmessage_f2c.c \
pmessage_c2f.c \
pmprobe.c \
pmrecv.c \
pop_c2f.c \
pop_create.c \
pop_commutative.c \
pop_f2c.c \
pop_free.c \
popen_port.c \
ppack_external.c \
ppack_external_size.c \
ppack.c \
ppack_size.c \
ppcontrol.c \
pprobe.c \
ppublish_name.c \
pquery_thread.c \
precv_init.c \
precv.c \
preduce.c \
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-15 02:44:31 +03:00
preduce_local.c \
preduce_scatter.c \
prequest_c2f.c \
prequest_f2c.c \
prequest_free.c \
prequest_get_status.c \
prsend_init.c \
prsend.c \
pscan.c \
pscatter.c \
pscatterv.c \
psend.c \
psend_init.c \
psendrecv.c \
psendrecv_replace.c \
pssend_init.c \
pssend.c \
pstart.c \
pstartall.c \
pstatus_c2f.c \
pstatus_f2c.c \
pstatus_set_cancelled.c \
pstatus_set_elements.c \
ptestall.c \
ptestany.c \
ptest.c \
ptest_cancelled.c \
ptestsome.c \
ptopo_test.c \
ptype_c2f.c \
ptype_commit.c \
ptype_contiguous.c \
ptype_create_darray.c \
ptype_create_f90_complex.c \
ptype_create_f90_integer.c \
ptype_create_f90_real.c \
ptype_create_hindexed.c \
ptype_create_hvector.c \
ptype_create_indexed_block.c \
ptype_create_keyval.c \
ptype_create_resized.c \
ptype_create_struct.c \
ptype_create_subarray.c \
ptype_delete_attr.c \
ptype_dup.c \
ptype_extent.c \
ptype_f2c.c \
ptype_free.c \
ptype_free_keyval.c \
ptype_get_attr.c \
ptype_get_contents.c \
ptype_get_envelope.c \
ptype_get_extent.c \
ptype_get_name.c \
ptype_get_true_extent.c \
ptype_hindexed.c \
ptype_hvector.c \
ptype_indexed.c \
ptype_lb.c \
ptype_match_size.c \
ptype_set_attr.c \
ptype_set_name.c \
ptype_size.c \
ptype_struct.c \
ptype_ub.c \
ptype_vector.c \
punpack_external.c \
punpack.c \
punpublish_name.c \
pwait.c \
pwaitall.c \
pwaitany.c \
pwaitsome.c \
pwtime.c \
pwtick.c \
paccumulate.c \
pget.c \
pput.c \
pwin_c2f.c \
pwin_call_errhandler.c \
pwin_complete.c \
pwin_create_errhandler.c \
pwin_create_keyval.c \
pwin_create.c \
pwin_delete_attr.c \
pwin_f2c.c \
pwin_fence.c \
pwin_free_keyval.c \
pwin_free.c \
pwin_get_attr.c \
pwin_get_errhandler.c \
pwin_get_group.c \
pwin_get_name.c \
pwin_lock.c \
pwin_post.c \
pwin_set_attr.c \
pwin_set_errhandler.c \
pwin_set_name.c \
pwin_start.c \
pwin_test.c \
pwin_unlock.c \
pwin_wait.c
if OMPI_PROVIDE_MPI_FILE_INTERFACE
nodist_libmpi_c_pmpi_la_SOURCES += \
pfile_c2f.c \
pfile_call_errhandler.c \
pfile_close.c \
pfile_create_errhandler.c \
pfile_delete.c \
pfile_f2c.c \
pfile_get_amode.c \
pfile_get_atomicity.c \
pfile_get_byte_offset.c \
pfile_get_errhandler.c \
pfile_get_group.c \
pfile_get_info.c \
pfile_get_position.c \
pfile_get_position_shared.c \
pfile_get_size.c \
pfile_get_type_extent.c \
pfile_get_view.c \
pfile_iread_at.c \
pfile_iread.c \
pfile_iread_shared.c \
pfile_iwrite_at.c \
pfile_iwrite.c \
pfile_iwrite_shared.c \
pfile_open.c \
pfile_preallocate.c \
pfile_read_all_begin.c \
pfile_read_all.c \
pfile_read_all_end.c \
pfile_read_at_all_begin.c \
pfile_read_at_all.c \
pfile_read_at_all_end.c \
pfile_read_at.c \
pfile_read.c \
pfile_read_ordered_begin.c \
pfile_read_ordered.c \
pfile_read_ordered_end.c \
pfile_read_shared.c \
pfile_seek.c \
pfile_seek_shared.c \
pfile_set_atomicity.c \
pfile_set_errhandler.c \
pfile_set_info.c \
pfile_set_size.c \
pfile_set_view.c \
pfile_sync.c \
pfile_write_all_begin.c \
pfile_write_all.c \
pfile_write_all_end.c \
pfile_write_at_all_begin.c \
pfile_write_at_all.c \
pfile_write_at_all_end.c \
pfile_write_at.c \
pfile_write.c \
pfile_write_ordered_begin.c \
pfile_write_ordered.c \
pfile_write_ordered_end.c \
pfile_write_shared.c \
pregister_datarep.c
endif
#
# Sym link in the sources from the real MPI directory
#
$(nodist_libmpi_c_pmpi_la_SOURCES):
if test ! -r $@ ; then \
pname=`echo $@ | cut -b '2-'` ; \
$(LN_S) $(top_srcdir)/ompi/mpi/c/$$pname $@ ; \
fi
# Conditionally install the header files
if WANT_INSTALL_HEADERS
ompidir = $(includedir)/openmpi/$(subdir)
ompi_HEADERS = $(headers)
endif
# These files were created by targets above
MAINTAINERCLEANFILES = $(nodist_libmpi_c_pmpi_la_SOURCES)
# Don't want these targets in here
tags-recursive:
tags:
TAGS:
GTAGS:
ID: