2004-01-07 21:39:46 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
#
|
2005-11-05 19:57:48 +00:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
2012-08-08 13:17:57 +00:00
|
|
|
# Copyright (c) 2004-2012 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
2004-11-28 20:09:25 +00:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2014-03-27 21:41:59 +00:00
|
|
|
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
2013-07-01 12:40:08 +00:00
|
|
|
# Copyright (c) 2011-2012 Inria. All rights reserved.
|
|
|
|
# Copyright (c) 2011-2012 Universite Bordeaux 1
|
2014-03-11 23:02:27 +00:00
|
|
|
# Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
|
2013-10-02 14:26:58 +00:00
|
|
|
# reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-07 21:39:46 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2014-03-28 18:24:32 +00:00
|
|
|
include $(top_srcdir)/Makefile.ompi-rules
|
2005-09-07 05:54:53 +00:00
|
|
|
|
2004-01-16 22:40:27 +00:00
|
|
|
#
|
2004-06-07 15:33:53 +00:00
|
|
|
# OMPI_PROFILING_DEFINES flag is enabled when we want our MPI_* symbols
|
2004-01-16 22:40:27 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2012-04-27 01:09:37 +00:00
|
|
|
AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=1 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
|
2004-01-16 22:40:27 +00:00
|
|
|
#
|
|
|
|
# This build needs to go through only if profiling is required.
|
|
|
|
# Further, this build HAS to go through if profiling is required.
|
|
|
|
#
|
2004-01-07 21:39:46 +00:00
|
|
|
|
2004-08-26 20:28:36 +00:00
|
|
|
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 15:57:29 +00:00
|
|
|
if BUILD_PMPI_FORTRAN_MPIFH_BINDINGS_LAYER
|
|
|
|
noinst_LTLIBRARIES += libmpi_mpifh_pmpi.la
|
2004-01-09 18:55:51 +00:00
|
|
|
else
|
2004-08-26 20:28:36 +00:00
|
|
|
noinst_LTLIBRARIES +=
|
2004-01-09 18:55:51 +00:00
|
|
|
endif
|
|
|
|
|
2004-08-26 20:28:36 +00:00
|
|
|
headers = \
|
- Implement correct Fortran Logical-handling in f77/f90 interface in
case of:
sizeof(MPI_Flogical) != sizeof (int)
and
Fortran value of .TRUE. != 1
as is often the case.
- Check in configure the value of .TRUE., the C-type coresponding to
logical and check, that fortran compiler does not do something strange
with arrays of logicals
- Convert all occurrences of logicals in the fortran wrappers, only
in case it is needed.
*Please note* Implementation of MPI_Cart_sub needed special treatment.
- Output these value in ompi_info -a
- Clean up the prototypes_mpi.h to just have a single definition and
thereby deleting the necessity for prototypes_pmpi.h
- configured, compiled and tested with F90-program, which uses
MPI_Cart_create and MPI_Cart_get:
linux ia32, gcc (no testing, as no f90)
linux ia32, gcc --disable-mpi-f77 --disable-mpi-f90 (had a bug there)
linux ia32, icc-8.1
linux opteron, gcc-3.3.5, pgcc, pathccx/pathf90 (tested just
pgi-compiler)
linux em64t, gcc, icc-8.1 (tested just icc)
This commit was SVN r8254.
2005-11-24 16:52:35 +00:00
|
|
|
defines.h
|
2004-01-07 21:39:46 +00:00
|
|
|
|
== 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 15:57:29 +00:00
|
|
|
nodist_libmpi_mpifh_pmpi_la_SOURCES = \
|
2004-04-16 02:33:49 +00:00
|
|
|
pabort_f.c \
|
|
|
|
padd_error_class_f.c \
|
|
|
|
padd_error_code_f.c \
|
|
|
|
padd_error_string_f.c \
|
|
|
|
paddress_f.c \
|
|
|
|
pallgather_f.c \
|
|
|
|
pallgatherv_f.c \
|
2004-01-17 02:44:33 +00:00
|
|
|
palloc_mem_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pallreduce_f.c \
|
|
|
|
palltoall_f.c \
|
|
|
|
palltoallv_f.c \
|
|
|
|
palltoallw_f.c \
|
|
|
|
pattr_delete_f.c \
|
|
|
|
pattr_get_f.c \
|
|
|
|
pattr_put_f.c \
|
|
|
|
pbarrier_f.c \
|
|
|
|
pbcast_f.c \
|
|
|
|
pbsend_f.c \
|
|
|
|
pbsend_init_f.c \
|
|
|
|
pbuffer_attach_f.c \
|
|
|
|
pbuffer_detach_f.c \
|
|
|
|
pcancel_f.c \
|
|
|
|
pcart_coords_f.c \
|
|
|
|
pcart_create_f.c \
|
|
|
|
pcartdim_get_f.c \
|
|
|
|
pcart_get_f.c \
|
|
|
|
pcart_map_f.c \
|
|
|
|
pcart_rank_f.c \
|
|
|
|
pcart_shift_f.c \
|
|
|
|
pcart_sub_f.c \
|
|
|
|
pclose_port_f.c \
|
|
|
|
pcomm_accept_f.c \
|
|
|
|
pcomm_call_errhandler_f.c \
|
|
|
|
pcomm_compare_f.c \
|
|
|
|
pcomm_connect_f.c \
|
|
|
|
pcomm_create_errhandler_f.c \
|
|
|
|
pcomm_create_f.c \
|
2013-10-02 14:26:58 +00:00
|
|
|
pcomm_create_group_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pcomm_create_keyval_f.c \
|
|
|
|
pcomm_delete_attr_f.c \
|
|
|
|
pcomm_disconnect_f.c \
|
|
|
|
pcomm_dup_f.c \
|
2013-10-02 14:26:58 +00:00
|
|
|
pcomm_dup_with_info_f.c \
|
|
|
|
pcomm_idup_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pcomm_free_f.c \
|
|
|
|
pcomm_free_keyval_f.c \
|
|
|
|
pcomm_get_attr_f.c \
|
|
|
|
pcomm_get_errhandler_f.c \
|
2014-03-27 21:41:59 +00:00
|
|
|
pcomm_get_info_f.c \
|
2004-01-17 02:44:33 +00:00
|
|
|
pcomm_get_name_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pcomm_get_parent_f.c \
|
|
|
|
pcomm_group_f.c \
|
|
|
|
pcomm_join_f.c \
|
|
|
|
pcomm_rank_f.c \
|
|
|
|
pcomm_remote_group_f.c \
|
|
|
|
pcomm_remote_size_f.c \
|
|
|
|
pcomm_set_attr_f.c \
|
|
|
|
pcomm_set_errhandler_f.c \
|
2014-03-27 21:41:59 +00:00
|
|
|
pcomm_set_info_f.c \
|
2004-01-17 02:44:33 +00:00
|
|
|
pcomm_set_name_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pcomm_size_f.c \
|
|
|
|
pcomm_spawn_f.c \
|
|
|
|
pcomm_spawn_multiple_f.c \
|
|
|
|
pcomm_split_f.c \
|
2012-01-18 23:35:21 +00:00
|
|
|
pcomm_split_type_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pcomm_test_inter_f.c \
|
|
|
|
pdims_create_f.c \
|
2013-07-01 12:40:08 +00:00
|
|
|
pdist_graph_create_adjacent_f.c \
|
|
|
|
pdist_graph_create_f.c \
|
|
|
|
pdist_graph_neighbors_f.c \
|
|
|
|
pdist_graph_neighbors_count_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
perrhandler_create_f.c \
|
|
|
|
perrhandler_free_f.c \
|
|
|
|
perrhandler_get_f.c \
|
|
|
|
perrhandler_set_f.c \
|
|
|
|
perror_class_f.c \
|
|
|
|
perror_string_f.c \
|
|
|
|
pexscan_f.c \
|
Many updates and bug fixes for the Fortran bindings. Sorry these
aren't separated out into individual commits; they represent a few
months of work in the Mercurial branch, and it seemed error-prone to
try to break them up into multiple SVN commits.
* Remove 2nd overloaded interfaces for MPI_TESTALL, MPI_TESTSOME,
MPI_WAITALL, and MPI_WAITSOME in the "mpi" module implementations
(because we're not allowed to have them, anyway -- it causes
complications in the profiling interface). This forced an MPI-2.2
errata in the MPI Forum; we applied the errata here (the array of
statuses parameter could not have a specific dimension specified in
the dummy argument). Fixes trac:3166.
* Similarly, fix type for MPI_ARGVS_NULL in Fortran
* Add MPI_3.0 function MPI_F_SYNC_REG (Fortran interfaces only).
* Add MPI-3.0 MPI_MESSAGE_NO_PROC in the mpi_f08 module.
* Added mpi_f08 handle comparison operators, per MPI-3.0 addendum to
the F08 proposal at the last Forum meeting.
* Added missing type(MPI_File) and type(Message) in mpi_f08 module.
* Fix --disable-mpi-io configure switch with all Fortran interfaces
* Re-factor the Fortran header files to be fundamentally simpler and
easier to maintain. Fortran constant values in the header files
are now generated by a script named mpif-values.pl during
autogen.pl (they were previously generated by mpif-common.pl, but
it was quite a bit more subtle/complex). A second commit will
follow this one to update svn:ignore values (just to ensure we
don't muck up the first commit with the SVN client getting confused
by the changed ignore values and new/changed files).
* Fix some dependencies for compile ordering in
ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am.
* Fix bad wording in several places (.m4 file name, ompi_info output,
etc.): we previoulsy said "F08 assumed shape" when we really meant
"F08 assumed rank" (for Fortran gurus, those are very different
things).
* Removed the GREEK/SVN version string from mpif.h. It really had no
purpose being there.
Still to be done:
* Handling of 2D array of strings in MPI_COMM_SPAWN_MULTIPLE still
isn't right yet. Not sure how many people really care about this
:-), but it is still broken.
This commit was SVN r26997.
The following Trac tickets were found above:
Ticket 3166 --> https://svn.open-mpi.org/trac/ompi/ticket/3166
2012-08-10 21:19:47 +00:00
|
|
|
pf_sync_reg_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pfinalized_f.c \
|
2004-01-17 02:44:33 +00:00
|
|
|
pfinalize_f.c \
|
2004-03-16 23:19:39 +00:00
|
|
|
pfree_mem_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pgather_f.c \
|
|
|
|
pgatherv_f.c \
|
|
|
|
pget_address_f.c \
|
|
|
|
pget_count_f.c \
|
|
|
|
pget_elements_f.c \
|
2013-07-23 15:36:03 +00:00
|
|
|
pget_elements_x_f.c \
|
2012-02-02 23:57:09 +00:00
|
|
|
pget_library_version_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pget_processor_name_f.c \
|
|
|
|
pget_version_f.c \
|
|
|
|
pgraph_create_f.c \
|
|
|
|
pgraphdims_get_f.c \
|
|
|
|
pgraph_get_f.c \
|
|
|
|
pgraph_map_f.c \
|
|
|
|
pgraph_neighbors_count_f.c \
|
|
|
|
pgraph_neighbors_f.c \
|
|
|
|
pgrequest_complete_f.c \
|
|
|
|
pgrequest_start_f.c \
|
|
|
|
pgroup_compare_f.c \
|
|
|
|
pgroup_difference_f.c \
|
|
|
|
pgroup_excl_f.c \
|
|
|
|
pgroup_free_f.c \
|
|
|
|
pgroup_incl_f.c \
|
|
|
|
pgroup_intersection_f.c \
|
|
|
|
pgroup_range_excl_f.c \
|
|
|
|
pgroup_range_incl_f.c \
|
|
|
|
pgroup_rank_f.c \
|
|
|
|
pgroup_size_f.c \
|
|
|
|
pgroup_translate_ranks_f.c \
|
|
|
|
pgroup_union_f.c \
|
2012-06-22 20:54:12 +00:00
|
|
|
piallgather_f.c \
|
|
|
|
piallgatherv_f.c \
|
|
|
|
piallreduce_f.c \
|
|
|
|
pialltoall_f.c \
|
|
|
|
pialltoallv_f.c \
|
|
|
|
pialltoallw_f.c \
|
|
|
|
pibarrier_f.c \
|
|
|
|
pibcast_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pibsend_f.c \
|
2012-06-22 20:54:12 +00:00
|
|
|
piexscan_f.c \
|
|
|
|
pigather_f.c \
|
|
|
|
pigatherv_f.c \
|
2012-02-07 15:58:58 +00:00
|
|
|
pimprobe_f.c \
|
|
|
|
pimrecv_f.c \
|
2013-09-26 21:55:08 +00:00
|
|
|
pineighbor_allgather_f.c \
|
|
|
|
pineighbor_allgatherv_f.c \
|
|
|
|
pineighbor_alltoall_f.c \
|
|
|
|
pineighbor_alltoallv_f.c \
|
|
|
|
pineighbor_alltoallw_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pinfo_create_f.c \
|
|
|
|
pinfo_delete_f.c \
|
|
|
|
pinfo_dup_f.c \
|
|
|
|
pinfo_free_f.c \
|
|
|
|
pinfo_get_f.c \
|
|
|
|
pinfo_get_nkeys_f.c \
|
|
|
|
pinfo_get_nthkey_f.c \
|
|
|
|
pinfo_get_valuelen_f.c \
|
|
|
|
pinfo_set_f.c \
|
|
|
|
pinit_f.c \
|
|
|
|
pinitialized_f.c \
|
|
|
|
pinit_thread_f.c \
|
|
|
|
pintercomm_create_f.c \
|
|
|
|
pintercomm_merge_f.c \
|
|
|
|
piprobe_f.c \
|
|
|
|
pirecv_f.c \
|
2012-06-22 20:54:12 +00:00
|
|
|
pireduce_f.c \
|
|
|
|
pireduce_scatter_f.c \
|
|
|
|
pireduce_scatter_block_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pirsend_f.c \
|
2012-06-25 15:37:08 +00:00
|
|
|
piscan_f.c \
|
2012-06-22 20:54:12 +00:00
|
|
|
piscatter_f.c \
|
|
|
|
piscatterv_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pisend_f.c \
|
|
|
|
pissend_f.c \
|
|
|
|
pis_thread_main_f.c \
|
|
|
|
pkeyval_create_f.c \
|
|
|
|
pkeyval_free_f.c \
|
|
|
|
plookup_name_f.c \
|
2012-02-07 15:58:58 +00:00
|
|
|
pmprobe_f.c \
|
|
|
|
pmrecv_f.c \
|
2013-09-26 21:55:08 +00:00
|
|
|
pneighbor_allgather_f.c \
|
|
|
|
pneighbor_allgatherv_f.c \
|
|
|
|
pneighbor_alltoall_f.c \
|
|
|
|
pneighbor_alltoallv_f.c \
|
|
|
|
pneighbor_alltoallw_f.c \
|
== 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 15:57:29 +00:00
|
|
|
pop_commutative_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pop_create_f.c \
|
|
|
|
popen_port_f.c \
|
|
|
|
pop_free_f.c \
|
|
|
|
ppack_external_f.c \
|
|
|
|
ppack_external_size_f.c \
|
|
|
|
ppack_f.c \
|
|
|
|
ppack_size_f.c \
|
|
|
|
ppcontrol_f.c \
|
|
|
|
pprobe_f.c \
|
|
|
|
ppublish_name_f.c \
|
|
|
|
pquery_thread_f.c \
|
|
|
|
precv_f.c \
|
|
|
|
precv_init_f.c \
|
|
|
|
preduce_f.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-14 23:44:31 +00:00
|
|
|
preduce_local_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
preduce_scatter_f.c \
|
2012-06-22 20:54:12 +00:00
|
|
|
preduce_scatter_block_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
prequest_free_f.c \
|
|
|
|
prequest_get_status_f.c \
|
|
|
|
prsend_f.c \
|
|
|
|
prsend_init_f.c \
|
|
|
|
pscan_f.c \
|
|
|
|
pscatter_f.c \
|
|
|
|
pscatterv_f.c \
|
|
|
|
psend_f.c \
|
|
|
|
psend_init_f.c \
|
|
|
|
psendrecv_f.c \
|
|
|
|
psendrecv_replace_f.c \
|
|
|
|
pssend_f.c \
|
|
|
|
pssend_init_f.c \
|
|
|
|
pstartall_f.c \
|
|
|
|
pstart_f.c \
|
|
|
|
pstatus_set_cancelled_f.c \
|
|
|
|
pstatus_set_elements_f.c \
|
2013-07-23 15:36:03 +00:00
|
|
|
pstatus_set_elements_x_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
ptestall_f.c \
|
|
|
|
ptestany_f.c \
|
|
|
|
ptest_cancelled_f.c \
|
|
|
|
ptest_f.c \
|
|
|
|
ptestsome_f.c \
|
|
|
|
ptopo_test_f.c \
|
|
|
|
ptype_commit_f.c \
|
|
|
|
ptype_contiguous_f.c \
|
|
|
|
ptype_create_darray_f.c \
|
|
|
|
ptype_create_f90_complex_f.c \
|
|
|
|
ptype_create_f90_integer_f.c \
|
|
|
|
ptype_create_f90_real_f.c \
|
|
|
|
ptype_create_hindexed_f.c \
|
|
|
|
ptype_create_hvector_f.c \
|
|
|
|
ptype_create_indexed_block_f.c \
|
2012-08-08 13:17:57 +00:00
|
|
|
ptype_create_hindexed_block_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
ptype_create_keyval_f.c \
|
|
|
|
ptype_create_resized_f.c \
|
|
|
|
ptype_create_struct_f.c \
|
|
|
|
ptype_create_subarray_f.c \
|
|
|
|
ptype_delete_attr_f.c \
|
|
|
|
ptype_dup_f.c \
|
|
|
|
ptype_extent_f.c \
|
|
|
|
ptype_free_f.c \
|
|
|
|
ptype_free_keyval_f.c \
|
|
|
|
ptype_get_attr_f.c \
|
|
|
|
ptype_get_contents_f.c \
|
|
|
|
ptype_get_envelope_f.c \
|
|
|
|
ptype_get_extent_f.c \
|
2013-07-23 15:36:03 +00:00
|
|
|
ptype_get_extent_x_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
ptype_get_name_f.c \
|
|
|
|
ptype_get_true_extent_f.c \
|
2013-07-23 15:36:03 +00:00
|
|
|
ptype_get_true_extent_x_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
ptype_hindexed_f.c \
|
|
|
|
ptype_hvector_f.c \
|
|
|
|
ptype_indexed_f.c \
|
|
|
|
ptype_lb_f.c \
|
|
|
|
ptype_match_size_f.c \
|
|
|
|
ptype_set_attr_f.c \
|
|
|
|
ptype_set_name_f.c \
|
|
|
|
ptype_size_f.c \
|
2013-07-23 15:36:03 +00:00
|
|
|
ptype_size_x_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
ptype_struct_f.c \
|
|
|
|
ptype_ub_f.c \
|
|
|
|
ptype_vector_f.c \
|
|
|
|
punpack_external_f.c \
|
|
|
|
punpack_f.c \
|
|
|
|
punpublish_name_f.c \
|
|
|
|
pwaitall_f.c \
|
|
|
|
pwaitany_f.c \
|
|
|
|
pwait_f.c \
|
2005-11-07 17:22:48 +00:00
|
|
|
pwaitsome_f.c \
|
|
|
|
pwtick_f.c \
|
2006-01-28 15:38:37 +00:00
|
|
|
pwtime_f.c \
|
2004-12-14 02:35:03 +00:00
|
|
|
paccumulate_f.c \
|
2014-03-11 23:02:27 +00:00
|
|
|
praccumulate_f.c \
|
2004-12-14 02:35:03 +00:00
|
|
|
pget_f.c \
|
2014-03-11 23:02:27 +00:00
|
|
|
prget_f.c \
|
|
|
|
pget_accumulate_f.c \
|
|
|
|
prget_accumulate_f.c \
|
2004-12-14 02:35:03 +00:00
|
|
|
pput_f.c \
|
2014-03-11 23:02:27 +00:00
|
|
|
prput_f.c \
|
|
|
|
pcompare_and_swap_f.c \
|
|
|
|
pfetch_and_op_f.c \
|
2004-04-16 02:33:49 +00:00
|
|
|
pwin_call_errhandler_f.c \
|
|
|
|
pwin_complete_f.c \
|
|
|
|
pwin_create_errhandler_f.c \
|
|
|
|
pwin_create_f.c \
|
|
|
|
pwin_create_keyval_f.c \
|
|
|
|
pwin_delete_attr_f.c \
|
|
|
|
pwin_fence_f.c \
|
|
|
|
pwin_free_f.c \
|
|
|
|
pwin_free_keyval_f.c \
|
|
|
|
pwin_get_attr_f.c \
|
|
|
|
pwin_get_errhandler_f.c \
|
|
|
|
pwin_get_group_f.c \
|
|
|
|
pwin_get_name_f.c \
|
|
|
|
pwin_lock_f.c \
|
|
|
|
pwin_post_f.c \
|
|
|
|
pwin_set_attr_f.c \
|
|
|
|
pwin_set_errhandler_f.c \
|
|
|
|
pwin_set_name_f.c \
|
|
|
|
pwin_start_f.c \
|
|
|
|
pwin_test_f.c \
|
|
|
|
pwin_unlock_f.c \
|
2014-03-11 23:02:27 +00:00
|
|
|
pwin_wait_f.c \
|
|
|
|
pwin_flush_f.c \
|
|
|
|
pwin_flush_all_f.c \
|
|
|
|
pwin_flush_local_f.c \
|
|
|
|
pwin_flush_local_all_f.c
|
|
|
|
|
2004-08-13 20:16:07 +00:00
|
|
|
|
2007-08-18 21:35:51 +00:00
|
|
|
if OMPI_PROVIDE_MPI_FILE_INTERFACE
|
== 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 15:57:29 +00:00
|
|
|
nodist_libmpi_mpifh_pmpi_la_SOURCES += \
|
2007-08-18 21:35:51 +00:00
|
|
|
pfile_call_errhandler_f.c \
|
|
|
|
pfile_close_f.c \
|
|
|
|
pfile_create_errhandler_f.c \
|
|
|
|
pfile_delete_f.c \
|
|
|
|
pfile_get_amode_f.c \
|
|
|
|
pfile_get_atomicity_f.c \
|
|
|
|
pfile_get_byte_offset_f.c \
|
|
|
|
pfile_get_errhandler_f.c \
|
|
|
|
pfile_get_group_f.c \
|
|
|
|
pfile_get_info_f.c \
|
|
|
|
pfile_get_position_f.c \
|
|
|
|
pfile_get_position_shared_f.c \
|
|
|
|
pfile_get_size_f.c \
|
|
|
|
pfile_get_type_extent_f.c \
|
|
|
|
pfile_get_view_f.c \
|
|
|
|
pfile_iread_at_f.c \
|
|
|
|
pfile_iread_f.c \
|
|
|
|
pfile_iread_shared_f.c \
|
|
|
|
pfile_iwrite_at_f.c \
|
|
|
|
pfile_iwrite_f.c \
|
|
|
|
pfile_iwrite_shared_f.c \
|
|
|
|
pfile_open_f.c \
|
|
|
|
pfile_preallocate_f.c \
|
|
|
|
pfile_read_all_begin_f.c \
|
|
|
|
pfile_read_all_end_f.c \
|
|
|
|
pfile_read_all_f.c \
|
|
|
|
pfile_read_at_all_begin_f.c \
|
|
|
|
pfile_read_at_all_end_f.c \
|
|
|
|
pfile_read_at_all_f.c \
|
|
|
|
pfile_read_at_f.c \
|
|
|
|
pfile_read_f.c \
|
|
|
|
pfile_read_ordered_begin_f.c \
|
|
|
|
pfile_read_ordered_end_f.c \
|
|
|
|
pfile_read_ordered_f.c \
|
|
|
|
pfile_read_shared_f.c \
|
|
|
|
pfile_seek_f.c \
|
|
|
|
pfile_seek_shared_f.c \
|
|
|
|
pfile_set_atomicity_f.c \
|
|
|
|
pfile_set_errhandler_f.c \
|
|
|
|
pfile_set_info_f.c \
|
|
|
|
pfile_set_size_f.c \
|
|
|
|
pfile_set_view_f.c \
|
|
|
|
pfile_sync_f.c \
|
|
|
|
pfile_write_all_begin_f.c \
|
|
|
|
pfile_write_all_end_f.c \
|
|
|
|
pfile_write_all_f.c \
|
|
|
|
pfile_write_at_all_begin_f.c \
|
|
|
|
pfile_write_at_all_end_f.c \
|
|
|
|
pfile_write_at_all_f.c \
|
|
|
|
pfile_write_at_f.c \
|
|
|
|
pfile_write_f.c \
|
|
|
|
pfile_write_ordered_begin_f.c \
|
|
|
|
pfile_write_ordered_end_f.c \
|
|
|
|
pfile_write_ordered_f.c \
|
|
|
|
pfile_write_shared_f.c \
|
|
|
|
pregister_datarep_f.c
|
|
|
|
endif
|
|
|
|
|
2004-01-16 22:40:27 +00:00
|
|
|
#
|
2004-01-07 21:39:46 +00:00
|
|
|
# Sym link in the sources from the real MPI directory
|
2004-01-16 22:40:27 +00:00
|
|
|
#
|
== 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 15:57:29 +00:00
|
|
|
$(nodist_libmpi_mpifh_pmpi_la_SOURCES):
|
2014-03-28 18:24:32 +00:00
|
|
|
$(OMPI_V_LN_S) if test ! -r $@ ; then \
|
2004-01-17 03:01:11 +00:00
|
|
|
pname=`echo $@ | cut -b '2-'` ; \
|
== 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 15:57:29 +00:00
|
|
|
$(LN_S) $(top_srcdir)/ompi/mpi/fortran/mpif-h/$$pname $@ ; \
|
2004-01-17 03:01:11 +00:00
|
|
|
fi
|
2004-08-26 20:28:36 +00:00
|
|
|
|
2004-01-09 17:44:07 +00:00
|
|
|
# Conditionally install the header files
|
2004-08-26 20:28:36 +00:00
|
|
|
|
2004-01-09 17:44:07 +00:00
|
|
|
if WANT_INSTALL_HEADERS
|
2014-01-07 22:11:15 +00:00
|
|
|
ompidir = $(ompiincludedir)/$(subdir)
|
2004-06-07 15:33:53 +00:00
|
|
|
ompi_HEADERS = $(headers)
|
2004-01-09 17:44:07 +00:00
|
|
|
endif
|
2004-08-26 20:28:36 +00:00
|
|
|
|
|
|
|
# These files were created by targets above
|
|
|
|
|
== 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 15:57:29 +00:00
|
|
|
MAINTAINERCLEANFILES = $(nodist_libmpi_mpifh_pmpi_la_SOURCES)
|
2004-08-26 20:28:36 +00:00
|
|
|
|
2004-01-07 21:39:46 +00:00
|
|
|
# Don't want these targets in here
|
2004-08-26 20:28:36 +00:00
|
|
|
|
2004-01-07 21:39:46 +00:00
|
|
|
tags-recursive:
|
|
|
|
tags:
|
|
|
|
TAGS:
|
|
|
|
GTAGS:
|
|
|
|
ID:
|