Skip to content

Commit 5c8b398

Browse files
committed
fortran: add a blurb about how profiling interf.
functions are generated and how to add a new Fortran entry point. Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 017d3f9 commit 5c8b398

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ompi/mpi/fortran/use-mpi-f08/Makefile.am

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ AM_CPPFLAGS =
3434

3535
# This Makefile is only relevant if we're building the "use mpi_f08"
3636
# MPI bindings.
37+
38+
# Profiling entry points are generated using a combination of the
39+
# the mod/mpi-f08-rename.h file and the OMPI_BUILD_MPI_PROFILING
40+
# define flag. This approach is used both for the generated
41+
# F08 entry points like MPI_SEND and ones that are still built
42+
# using *.F90 files like COMM_SET_ERRHANDLER.
43+
#
44+
# When adding a new function, if it involves big count arguments and/or
45+
# involves a user supplied buffer(s), and hence the need to generate
46+
# either assumed rank or assumed shape arrays with possible async
47+
# attributes, the *.c.in method needs to be used. Otherwise a *.F90
48+
# file can be used. In addition, the mod/mpi-f08-rename.h file
49+
# will need to be updated to include a rename line for the new method.
50+
#
3751
if OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS
3852

3953
AM_FCFLAGS = -I$(top_srcdir)/ompi/mpi/fortran/use-mpi-f08/mod \

0 commit comments

Comments
 (0)