[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-377-gd6b71d4
Service Account
noreply at mpich.org
Mon Aug 1 21:45:55 CDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via d6b71d4307d69f1927b89beba999dea05a52b7a5 (commit)
via 1e1c255f9179b3c8b808348645829a557e41a409 (commit)
via 90bcedf0334a858d78a7e2684d67e33c4a661902 (commit)
from b7e3457f0fa560152ea19afefa5f419e422fcda6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/d6b71d4307d69f1927b89beba999dea05a52b7a5
commit d6b71d4307d69f1927b89beba999dea05a52b7a5
Author: Rob Latham <robl at mcs.anl.gov>
Date: Wed Jul 27 14:47:16 2016 -0500
fixed a few tiny bugs in ROMIO users guide
No Reviewer
diff --git a/src/mpi/romio/doc/Makefile b/src/mpi/romio/doc/Makefile
index 26b7bcf..f041d5c 100644
--- a/src/mpi/romio/doc/Makefile
+++ b/src/mpi/romio/doc/Makefile
@@ -4,6 +4,7 @@ all:
latex users-guide.tex
latex users-guide.tex
dvipdfm users-guide
+ dvips users-guide
clean:
-rm -f users-guide.toc users-guide.log users-guide.dvi \
diff --git a/src/mpi/romio/doc/users-guide.tex b/src/mpi/romio/doc/users-guide.tex
index 4698c0c..925d6fe 100644
--- a/src/mpi/romio/doc/users-guide.tex
+++ b/src/mpi/romio/doc/users-guide.tex
@@ -388,7 +388,7 @@ values are \texttt{true} and \texttt{false}. Default is \texttt{false}.
values are \texttt{true} and \texttt{false}. Default is \texttt{false}.
\end{itemize}
-subsubsection{Hints for PVFS2 (a.k.a OrangeFS)}
+\subsubsection{Hints for PVFS2 (a.k.a OrangeFS)}
\label{sec:hints_pvfs}
The PVFS v2 file system has many tuning parameters.
http://git.mpich.org/mpich.git/commitdiff/1e1c255f9179b3c8b808348645829a557e41a409
commit 1e1c255f9179b3c8b808348645829a557e41a409
Author: William Gropp <wgropp at illinois.edu>
Date: Tue Jul 26 10:23:26 2016 -0500
Repair broken documentation
Fixes #2340
Signed-off-by: Rob Latham <robl at mcs.anl.gov>
diff --git a/Makefile.am b/Makefile.am
index d4e7636..1f91ca2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,6 +35,7 @@ MANDOC_SUBDIRS =
HTMLDOC_SUBDIRS =
INSTALL_DATA_LOCAL_TARGETS =
doc1_src_txt =
+doc3_src_txt =
# add (+=) target names to this variable to add them to the dependencies of the
# 'clean-local' target
@@ -438,7 +439,7 @@ endif !BUILD_COVERAGE
# should be considered when dissecting suffix-based implicit rules. These phony
# suffix files should NOT be added to a .PHONY target, otherwise make will not
# use the implicit rules to attempt to build them.
-SUFFIXES += .man-phony .html-phony .man1-phony .html1-phony .txt
+SUFFIXES += .man-phony .html-phony .man1-phony .html1-phony .man3-phony .html3-phony .txt
# "make V=1" support for our documentation recipes
doctextman_verbose = $(doctextman_verbose_$(V))
@@ -479,13 +480,22 @@ htmldoc_root3="--your-url-here--"
.txt.html1-phony:
$(doctexthtml_verbose)$(DOCTEXT) -html -mpath $(htmldoc_path1) \
-heading MPI -quotefmt -nolocation $(doctext_docnotes) $<
+.txt.man3-phony:
+ $(doctextman_verbose)$(DOCTEXT) -man -mpath $(mandoc_path3) -ext 3 \
+ -heading MPI -quotefmt -nolocation $(doctext_docnotes) $<
+.txt.html3-phony:
+ $(doctexthtml_verbose)$(DOCTEXT) -html -mpath $(htmldoc_path3) \
+ -heading MPI -quotefmt -nolocation \
+ -index $(htmldoc_path3)/mpi.cit -indexdir $(htmldoc_root3) \
+ $(doctext_docnotes) $<
# use mandoc-local target to force directory creation before running DOCTEXT
mandoc:
test -d $(mandoc_path1) || $(MKDIR_P) $(mandoc_path1)
test -d $(mandoc_path3) || $(MKDIR_P) $(mandoc_path3)
$(MAKE) $(AM_MAKEFLAGS) mandoc-local
-mandoc-local: $(mpi_sources:.c=.man-phony) $(doc1_src_txt:.txt=.man1-phony)
+mandoc-local: $(mpi_sources:.c=.man-phony) $(doc1_src_txt:.txt=.man1-phony) \
+ $(doc3_src_txt:.txt=.man3-phony)
for subdir in $(MANDOC_SUBDIRS) - ; do \
if test "x$$subdir" = "x-" ; then break ; fi ; \
## MANDOC_SUBDIRS might accidentally contain "."
@@ -502,14 +512,19 @@ mandoc-local: $(mpi_sources:.c=.man-phony) $(doc1_src_txt:.txt=.man1-phony)
fi \
fi \
done
-
+ (cd $($abs_top_builddir) && $(abs_top_srcdir)/doc/mansrc/mancnst)
# use htmldoc-local target to force directory creation before running DOCTEXT
+# Note that the mpi.cit is appended to by each update, so it must be removed
+# and recreated when the documentation files are updated
htmldoc:
test -d $(top_builddir)/www/www1 || $(MKDIR_P) $(top_builddir)/www/www1
test -d $(top_builddir)/www/www3 || $(MKDIR_P) $(top_builddir)/www/www3
+ rm -f $(htmldoc_path3)/mpi.cit
$(MAKE) $(AM_MAKEFLAGS) htmldoc-local
-htmldoc-local: $(mpi_sources:.c=.html-phony) $(doc1_src_txt:.txt=.html1-phony)
+
+htmldoc-local: $(mpi_sources:.c=.html-phony) $(doc1_src_txt:.txt=.html1-phony) \
+ $(doc3_src_txt:.txt=.html3-phony)
for subdir in $(HTMLDOC_SUBDIRS) - ; do \
if test "x$$subdir" = "x-" ; then break ; fi ; \
## HTMLDOC_SUBDIRS might accidentally contain "."
diff --git a/doc/Makefile.mk b/doc/Makefile.mk
index 405dd69..dc0a2c4 100644
--- a/doc/Makefile.mk
+++ b/doc/Makefile.mk
@@ -8,6 +8,7 @@
DEVELOPER_SUBDIRS = doc/pmi doc/namepub
DOC_SUBDIRS += doc/mansrc doc/userguide doc/installguide doc/logging \
doc/design
+doc3_src_txt += doc/mansrc/mpiconsts.txt
userdocs:
for dir in $(DOC_SUBDIRS) ; do \
diff --git a/doc/mansrc/cmdnotes b/doc/mansrc/cmdnotes
new file mode 100644
index 0000000..edf86ab
--- /dev/null
+++ b/doc/mansrc/cmdnotes
@@ -0,0 +1,21 @@
+The following name block provides the standard arguments for mpiexec, as
+defined by the MPI standard.
+An mpiexec manpage may include this name to get the common arguments.
+
+/*N mpiexecstdargs
+
++ \-n num - number of processes
+. \-host hostname - name of a host (machine, system) on which to run
+. \-arch architecture_name - name of the computer architecture required
+ for this executable
+. \-wdir working_directory - The working directory to use when running the
+ executable (set before the executable starts)
+. \-path pathlist - use this to find the executable
+. \-soft list - comma separated triplets specifying valid numbers of processes
+. \-file name - implementation-defined specification file
+- \-configfile name - file containing specifications of host/program,
+ one per line, with # as a comment indicator, e.g., the usual
+ mpiexec input, but with ":" replaced with a newline. That is,
+ the configfile contains lines with '-soft', '-n' etc.
+
+N*/
diff --git a/doc/mansrc/mpiconsts.txt b/doc/mansrc/mpiconsts.txt
new file mode 100644
index 0000000..4e7b741
--- /dev/null
+++ b/doc/mansrc/mpiconsts.txt
@@ -0,0 +1,547 @@
+This file contains the raw material for a file of the MPI defined
+constants
+
+The data could be organized to look like an enum - or add something to
+doctext that say "make each value in a list into an index entry to the
+same page.
+
+Doctext could also use a way to include an index to the corresponding
+page in the standard, perhaps by using an *input* index file (generated,
+perhaps, from the index entries in the LaTeX for the definition index entry).
+
+Needs to be updated for MPI-2 and MPI-3
+
+/*N Datatypes
+ Data types:
+ Note that the Fortran types should only be used in Fortran programs,
+ and the C types should only be used in C programs. For example,
+ it is in error to use 'MPI_INT' for a Fortran INTEGER.
+ Datatypes are of type 'MPI_Datatype' in C, type 'INTEGER' in Fortran,
+ and 'Type(MPI_Datatype)' in Fortran08
+N*/
+
+We may want to enlarge on some of these. For example, the description of
+communicators could include information from the standard, and/or links to the
+standard.
+
+/*D
+ Constants - Meaning of MPI''s defined constants
+
+.N Datatypes
+
+ C datatypes:
++I MPI_CHAR - char
+. MPI_SIGNED_CHAR - signed char
+. MPI_UNSIGNED_CHAR - unsigned char
+. MPI_BYTE - See standard; like unsigned char
+. MPI_WCHAR - wide character (wchar_t)
+. MPI_SHORT - short
+. MPI_UNSIGNED_SHORT - unsigned short
+. MPI_INT - int
+. MPI_UNSIGNED - unsigned int
+. MPI_LONG - long
+. MPI_UNSIGNED_LONG - unsigned long
+. MPI_LONG_LONG_INT - long long
+. MPI_LONG_LONG - synonyn for 'MPI_LONG_LONG_INT'
+. MPI_UNSIGNED_LONG_LONG - unsigned long long
+. MPI_FLOAT - float
+. MPI_DOUBLE - double
+. MPI_LONG_DOUBLE - long double (some systems may not implement this)
+. MPI_INT8_T - int8_t
+. MPI_INT16_T - int16_t
+. MPI_INT32_T - int32_t
+. MPI_INT64_T - int64_t
+. MPI_UINT8_T - uint8_t
+. MPI_UINT16_T - uint16_t
+. MPI_UINT32_T - uint32_t
+. MPI_UINT64_T - uint64_t
+. MPI_C_BOOL - _Bool
+. MPI_C_FLOAT_COMPLEX - float _Complex
+. MPI_C_COMPLEX - float _Complex
+. MPI_C_DOUBLE_COMPLEX - double _Complex
+- MPI_C_LONG_DOUBLE_COMPLEX - long double _Complex
+
+
+ The following are datatypes for the MPI functions 'MPI_MAXLOC' and
+ 'MPI_MINLOC'.
++I MPI_FLOAT_INT - 'struct { float, int }'
+. MPI_LONG_INT - 'struct { long, int }'
+. MPI_DOUBLE_INT - 'struct { double, int }'
+. MPI_SHORT_INT - 'struct { short, int }'
+. MPI_2INT - 'struct { int, int }'
+- MPI_LONG_DOUBLE_INT - 'struct { long double, int }'; this
+ is an `optional` type, and may be set to 'MPI_DATATYPE_NULL'
+
+
+ Special datatypes for C and Fortran
++I MPI_PACKED - For 'MPI_Pack' and 'MPI_Unpack'
+. MPI_UB - For 'MPI_Type_struct'; an upper-bound indicator. Removed in MPI 3
+- MPI_LB - For 'MPI_Type_struct'; a lower-bound indicator. Removed in MPI 3
+
+ Fortran datatypes:
++I MPI_REAL - 'REAL'
+. MPI_INTEGER - 'INTEGER'
+. MPI_LOGICAL - 'LOGICAL'
+. MPI_DOUBLE_PRECISION - 'DOUBLE PRECISION'
+. MPI_COMPLEX - 'COMPLEX'
+- MPI_DOUBLE_COMPLEX - 'complex*16' (or 'complex*32') where supported.
+
+ The following datatypes are optional
++I MPI_INTEGER1 - 'integer*1' if supported
+. MPI_INTEGER2 - 'integer*2' if supported
+. MPI_INTEGER4 - 'integer*4' if supported
+. MPI_INTEGER8 - 'integer*8' if supported
+. MPI_INTEGER16 - 'integer*16' if supported
+. MPI_REAL4 - 'real*4' if supported
+- MPI_REAL8 - 'real*8' if supported
+. MPI_REAL16 - 'real*16' if supported
+. MPI_COMPLEX8 - 'complex*8' if supported
+. MPI_COMPLEX16 - 'complex*16' if supported
+- MPI_COMPLEX32 - 'complex*32' if supported
+
+ The following are datatypes for the MPI functions 'MPI_MAXLOC' and
+ 'MPI_MINLOC'. In Fortran, these datatype always consist of
+ two elements of the same Fortran type.
++I MPI_2INTEGER - 'INTEGER,INTEGER'
+. MPI_2REAL - 'REAL, REAL'
+- MPI_2DOUBLE_PRECISION - 'DOUBLE PRECISION, DOUBLE PRECISION'
+
+ MPI Datatypes for MPI Types
++I MPI_AINT - Datatype for an 'MPI_Aint'
+. MPI_OFFSET - Datatype for an 'MPI_Offset'
+- MPI_COUNT - Datatype for an 'MPI_Count'
+
+ MPI Datatype Combiner Names:
++I MPI_COMBINER_NAMED - a named predefined datatype
+. MPI_COMBINER_DUP - MPI_TYPE_DUP
+. MPI_COMBINER_CONTIGUOUS - MPI_TYPE_CONTIGUOUS
+. MPI_COMBINER_VECTOR - MPI_TYPE_VECTOR
+. MPI_COMBINER_HVECTOR_INTEGER - Removed in MPI-3
+. MPI_COMBINER_HVECTOR - MPI_TYPE_CREATE_HVECTOR
+. MPI_COMBINER_INDEXED - MPI_TYPE_INDEXED
+. MPI_COMBINER_HINDEXED_INTEGER - Removed in MPI-3
+. MPI_COMBINER_HINDEXED - MPI_TYPE_CREATE_HINDEXED
+. MPI_COMBINER_INDEXED_BLOCK - MPI_TYPE_CREATE_INDEXED_BLOCK
+. MPI_COMBINER_STRUCT_INTEGER - Removed in MPI-3
+. MPI_COMBINER_STRUCT - MPI_TYPE_CREATE_STRUCT
+. MPI_COMBINER_SUBARRAY - MPI_TYPE_CREATE_SUBARRAY
+. MPI_COMBINER_DARRAY - MPI_TYPE_CREATE_DARRAY
+. MPI_COMBINER_F90_REAL - MPI_TYPE_CREATE_F90_REAL
+. MPI_COMBINER_F90_COMPLEX - MPI_TYPE_CREATE_F90_COMPLEX
+. MPI_COMBINER_F90_INTEGER - MPI_TYPE_CREATE_F90_INTEGER
+. MPI_COMBINER_RESIZED - MPI_TYPE_CREATE_RESIZED
+- MPI_COMBINER_HINDEXED_BLOCK - MPI_TYPE_CREATE_HINDEXED_BLOCK
+
+ MPI Datatype Type Classes:
+ MPI Type classes used with routines to return Fortran types with defined
+ precision and range
++I MPI_TYPECLASS_REAL - 'REAL'
+. MPI_TYPECLASS_INTEGER - 'INTEGER'
+- MPI_TYPECLASS_COMPLEX - 'COMPLEX'
+
+ MPI Darray and Subarray Values:
+ These values are used to create a datatype with the 'DARRAY' and 'SUBARRAY'
+ constructors.
++I MPI_ORDER_C - Row-major order (as used by C)
+. MPI_ORDER_FORTRAN - Column-major order (as used by Fortran)
+. MPI_DISTRIBUTE_BLOCK - Block distribution
+. MPI_DISTRIBUTE_CYCLIC - Cyclic distribution
+. MPI_DISTRIBUTE_NONE - This dimension is not distributed
+- MPI_DISTRIBUTE_DFLT_DARG - Use the default distribution
+
+ Communicators:
+ Communicators are of type 'MPI_Comm' in C, 'INTEGER' in Fortran, and
+ 'Type(MPI_Comm)' in Fortran08
++I MPI_COMM_WORLD - Contains all of the processes
+- MPI_COMM_SELF - Contains only the calling process
+
+ Kind of communicator for 'MPI_COMM_SPLIT_TYPE':
+.I MPI_COMM_TYPE_SHARED - All processes that can share memory are grouped into
+ the same communicator.
+
+ Groups:
+ Groups are of type 'MPI_Group' in C, 'INTEGER' in Fortran,
+ and 'Type(MPI_Group)' in Fortran08
+
+.I MPI_GROUP_EMPTY - A group containing no members.
+
+ Results of the compare operations on groups and communicators:
++I MPI_IDENT - Identical
+. MPI_CONGRUENT - (only for 'MPI_COMM_COMPARE') The groups are identical
+. MPI_SIMILAR - Same members, but in a different order
+- MPI_UNEQUAL - Different
+
+
+ Collective operations:
+ The collective combination operations (e.g., 'MPI_REDUCE', 'MPI_ALLREDUCE',
+ 'MPI_REDUCE_SCATTER', and 'MPI_SCAN') take a combination operation.
+ This operation is of type 'MPI_Op' in C and of type 'INTEGER' in Fortran.
+ The predefined operations are
+
++I MPI_MAX - return the maximum
+. MPI_MIN - return the minumum
+. MPI_SUM - return the sum
+. MPI_PROD - return the product
+. MPI_LAND - return the logical and
+. MPI_BAND - return the bitwise and
+. MPI_LOR - return the logical or
+. MPI_BOR - return the bitwise of
+. MPI_LXOR - return the logical exclusive or
+. MPI_BXOR - return the bitwise exclusive or
+. MPI_MINLOC - return the minimum and the location (actually, the value of
+ the second element of the structure where the minimum of
+ the first is found)
+. MPI_MAXLOC - return the maximum and the location
+. MPI_REPLACE - replace b with a
+- MPI_NO_OP - perform no operation
+
+Notes on collective operations:
+
+The reduction functions ('MPI_Op') do not return an error value. As a result,
+if the functions detect an error, all they can do is either call 'MPI_Abort'
+or silently skip the problem. Thus, if you change the error handler from
+'MPI_ERRORS_ARE_FATAL' to something else, for example, 'MPI_ERRORS_RETURN',
+then no error may be indicated.
+
+The reason for this is the performance problems in ensuring that
+all collective routines return the same error value.
+
+Note that not all datatypes are valid for these functions. For example,
+'MPI_COMPLEX' is not valid for 'MPI_MAX' and 'MPI_MIN'. In addition, the MPI
+1.1 standard did not include the C types 'MPI_CHAR' and 'MPI_UNSIGNED_CHAR'
+among the lists of arithmetic types for operations like 'MPI_SUM'. However,
+since the C type 'char' is an integer type (like 'short'), it should have been
+included. The MPI Forum will probably include 'char' and 'unsigned char'
+as a clarification to MPI 1.1; until then, users are advised that MPI
+implementations may not accept 'MPI_CHAR' and 'MPI_UNSIGNED_CHAR' as valid
+datatypes for 'MPI_SUM', 'MPI_PROD', etc. MPICH does allow these datatypes.
+
+ Permanent key values:
+ These are the same in C and Fortran
+
++I MPI_TAG_UB - Largest tag value
+. MPI_HOST - Rank of process that is host, if any
+. MPI_IO - Rank of process that can do I/O
+. MPI_WTIME_IS_GLOBAL - Has value 1 if 'MPI_WTIME' is globally synchronized.
+. MPI_UNIVERSE_SIZE - Number of available processes. See the standard for
+ a description of limitations on this value
+. MPI_LASTUSEDCODE - Last used MPI error code (check - code or class?)
+- MPI_APPNUM - Application number, starting from 0. See the standard for
+ 'MPI_COMM_SPAWN_MULTIPLE' and 'mpiexec' for details
+
+ Null objects:
++I MPI_COMM_NULL - Null communicator
+. MPI_OP_NULL - Null operation
+. MPI_GROUP_NULL - Null group
+. MPI_DATATYPE_NULL - Null datatype
+. MPI_REQUEST_NULL - Null request
+. MPI_ERRHANDLER_NULL - Null error handler
+. MPI_WIN_NULL - Null window handle
+. MPI_FILE_NULL - Null file handle
+. MPI_INFO_NULL - Null info handle
+. MPI_MESSAGE_NULL - Null message handle
+. MPI_ARGV_NULL - Empty ARGV value for spawn commands
+. MPI_ARGVS_NULL - Empty ARGV array for spawn-multiple command
+. MPI_T_ENUM_NULL - Null MPI_T enum
+. MPI_T_CVAR_HANDLE_NULL - Null MPI_T control variable handle
+. MPI_T_PVAR_HANDLE_NULL - Null MPI_T performance variable handle
+- MPI_T_PVAR_SESSION_NULL- Null MPI_T performance variable session handle
+
+ Predefined Constants:
++I MPI_MAX_PROCESSOR_NAME - Maximum length of name returned by
+ 'MPI_GET_PROCESSOR_NAME'
+. MPI_MAX_ERROR_STRING - Maximum length of string return by
+ 'MPI_ERROR_STRING'
+. MPI_MAX_LIBRARY_VERSION_STRING - Maximum length of string returned by
+ 'MPI_GET_LIBRARY_VERSION_STRING'???
+. MPI_MAX_PORT_NAME - Maximum length of a port
+. MPI_MAX_OBJECT_NAME - Maximum length of an object (?)
+. MPI_MAX_INFO_KEY - Maximum length of an info key
+. MPI_MAX_INFO_VAL - Maximum length of an info value
+. MPI_UNDEFINED - Used by many routines to indicated
+ undefined or unknown integer value
+. MPI_UNDEFINED_RANK - Unknown rank
+. MPI_KEYVAL_INVALID - Special keyval that may be used to detect
+ uninitialized keyvals.
+. MPI_BSEND_OVERHEAD - Add this to the size of a 'MPI_BSEND'
+ buffer for each outstanding message
+. MPI_PROC_NULL - This rank may be used to send or receive from no-one.
+. MPI_ANY_SOURCE - In a receive, accept a message from anyone.
+. MPI_ANY_TAG - In a receive, accept a message with any tag value.
+. MPI_BOTTOM - May be used to indicate the bottom of the address space
+. MPI_IN_PLACE - Special location for buffer in some
+ collective communication routines
+. MPI_VERSION - Numeric value of MPI version (e.g., 3)
+- MPI_SUBVERSION - Numeric value of MPI subversion (e.g., 1)
+
+ Topology types:
++I MPI_CART - Cartesian grid
+. MPI_GRAPH - General graph
+- MPI_DIST_GRAPH - General distributed graph
+
+ Special values for distributed graph:
++I MPI_UNWEIGHTED - Indicates that the edges are unweighted
+- MPI_WEIGHTS_EMPTY - Special address that indicates no array of weights
+ information
+
+ File Modes:
++I MPI_MODE_RDONLY - Read only
+. MPI_MODE_RDWR - Read and write
+. MPI_MODE_WRONLY - Write only
+. MPI_MODE_CREATE - Create the file if it does not exist
+. MPI_MODE_EXCL - It is an error if creating a file that already
+ exists
+. MPI_MODE_DELETE_ON_CLOSE - Delete the file on close
+. MPI_MODE_UNIQUE_OPEN - The file will not be concurrently opened elsewhere
+. MPI_MODE_APPEND - The initial position of all file pointers is at
+ the end of the file
+- MPI_MODE_SEQUENTIAL - File will only be accessed sequentially
+
+ File Displacement:
+.I MPI_DISPLACEMENT_CURRENT - Use with files opened with mode
+ 'MPI_MODE_SEQUENTIAL' in calls to 'MPI_FILE_SET_VIEW'
+
+File Positioning:
++I MPI_SEEK_SET - Set the pointer to 'offset'
+. MPI_SEEK_CUR - Set the pointer to the current position plus 'offset'
+- MPI_SEEK_END - Set the pointer to the end of the file plus 'offset'
+
+Window attributes:
++I MPI_WIN_BASE - window base address.
+. MPI_WIN_SIZE - window size, in bytes
+. MPI_WIN_DISP_UNIT - displacement unit associated with the window
+. MPI_WIN_CREATE_FLAVOR - how the window was created
+- MPI_WIN_MODEL - memory model for window
+
+Window flavors:
++I MPI_WIN_FLAVOR_CREATE - Window was created with MPI_WIN_CREATE.
+. MPI_WIN_FLAVOR_ALLOCATE - Window was created with MPI_WIN_ALLOCATE.
+. MPI_WIN_FLAVOR_DYNAMIC - Window was created with MPI_WIN_CREATE_DYNAMIC.
+- MPI_WIN_FLAVOR_SHARED - Window was created with MPI_WIN_ALLOCATE_SHARED.
+
+Window Memory Model:
++I MPI_WIN_SEPARATE - Separate public and private copies of window memory
+- MPI_WIN_UNIFIED - The publich and private copies are identical (by which
+ we mean that updates are eventually observed without additional RMA operations)
+
+Window Lock Types:
++I MPI_LOCK_EXCLUSIVE - Only one process at a time will execute accesses
+ within the lock
+- MPI_LOCK_SHARED - Not exclusive; multiple processes may execute accesses
+ within the lock
+
+Window Assertions:
+ See section 11.5 in MPI 3.1 for a detailed description of each of these
+ assertion values.
++I MPI_MODE_NOCHECK - The matching calls to MPI_WIN_POST or MPI_WIN_START
+ have already completed, or no process holds or will attempt to acquire, a
+ conflicting lock.
+. MPI_MODE_NOSTORE - The local window has not been updated by stores
+ since the last synchronization
+. MPI_MODE_NOPUT - The local window will not be updated by put or
+ accumulate until the next synchronization
+. MPI_MODE_NOPRECEDE - The fence does not complete any locally issued RMA
+ calls
+- MPI_MODE_NOSUCCEED - The fence does not start any locally issued RMA calls
+
+Predefined Info Object:
+.I MPI_INFO_ENV - Contains the execution environment
+
+ MPI Status:
+ The 'MPI_Status' datatype is a structure in C. The three elements for use
+ by programmers are
++I MPI_SOURCE - Who sent the message
+. MPI_TAG - What tag the message was sent with
+- MPI_ERROR - Any error return (only when the error returned by the routine
+ has error class 'MPI_ERR_IN_STATUS')
+
++I MPI_STATUS_IGNORE - Ignore a single 'MPI_Status' argument
+- MPI_STATUSES_IGNORE - Ignore an array of 'MPI_Status'
+
+Special value for error codes array:
+.I MPI_ERRCODES_IGNORE - Ignore an array of error codes
+
+ MPI_T Constants:
++I MPI_T_VERBOSITY_USER_BASIC - Basic information of interest to users
+. MPI_T_VERBOSITY_USER_DETAIL - Detailed information of interest to users
+. MPI_T_VERBOSITY_USER_ALL - All remaining information of interest to users
+. MPI_T_VERBOSITY_TUNER_BASIC - Basic information required for tuning
+. MPI_T_VERBOSITY_TUNER_DETAIL - Detailed information required for tuning
+. MPI_T_VERBOSITY_TUNER_ALL - All remaining information required for tuning
+. MPI_T_VERBOSITY_MPIDEV_BASIC - Basic information for MPI implementors
+
+
+. MPI_T_VERBOSITY_MPIDEV_DETAIL - Detailed information for MPI implementors
+. MPI_T_VERBOSITY_MPIDEV_ALL - All remaining information for MPI implementors
+. MPI_T_BIND_NO_OBJECT - Applies globally to entire MPI process
+. MPI_T_BIND_MPI_COMM - MPI communicators
+. MPI_T_BIND_MPI_DATATYPE - MPI datatypes
+. MPI_T_BIND_MPI_ERRHANDLER - MPI error handlers
+. MPI_T_BIND_MPI_FILE - MPI file handles
+. MPI_T_BIND_MPI_GROUP - MPI groups
+. MPI_T_BIND_MPI_OP - MPI reduction operators
+. MPI_T_BIND_MPI_REQUEST - MPI requests
+. MPI_T_BIND_MPI_WIN - MPI windows for one-sided communication
+. MPI_T_BIND_MPI_MESSAGE - MPI message object
+. MPI_T_BIND_MPI_INFO - MPI info object
+. MPI_T_SCOPE_CONSTANT -read-only, value is constant
+. MPI_T_SCOPE_READONLY - read-only, cannot be written, but can
+ change
+. MPI_T_SCOPE_LOCAL - may be writeable, writing is a local
+ operation
+. MPI_T_SCOPE_GROUP - may be writeable, must be done to a
+ group of processes, all processes in a group must be set to consistent values
+. MPI_T_SCOPE_GROUP_EQ - may be writeable, must be done to a
+ group of processes, all processes in a group must be set to the same value
+. MPI_T_SCOPE_ALL - may be writeable, must be done to all
+ processes, all connected processes must be set to consistent values
+. MPI_T_SCOPE_ALL_EQ - may be writeable, must be done to all
+ processes, all connected processes must be set to the same value
+. MPI_T_PVAR_CLASS_STATE - set of discrete states (MPI_INT)
+. MPI_T_PVAR_CLASS_LEVEL - utilization level of a resource
+. MPI_T_PVAR_CLASS_SIZE - size of a resource
+. MPI_T_PVAR_CLASS_PERCENTAGE - percentage utilization of a resource
+. MPI_T_PVAR_CLASS_HIGHWATERMARK - high watermark of a resource
+. MPI_T_PVAR_CLASS_LOWWATERMARK - low watermark of a resource
+. MPI_T_PVAR_CLASS_COUNTER - number of occurances of an event
+. MPI_T_PVAR_CLASS_AGGREGATE - aggregate value over an event (e.g.,
+ sum of all memory allocations)
+. MPI_T_PVAR_CLASS_TIMER - aggretate time spent executing event
+- MPI_T_PVAR_CLASS_GENERIC - used for any other time of performance
+ variable
+
+ Thread levels:
++I MPI_THREAD_SINGLE - Only one thread executes
+. MPI_THREAD_FUNNELED - Only the main thread makes MPI calls
+. MPI_THREAD_SERIALIZED - Only one thread at a time makes MPI calls
+- MPI_THREAD_MULTIPLE - Multiple threads may make MPI calls
+
+ Special MPI types and functions:
+
++I MPI_Aint - C type that holds any valid address.
+. MPI_Count - C type that holds any valid count.
+. MPI_Offset - C type that holds any valid file offset.
+. MPI_Handler_function - C function for handling errors (see
+ 'MPI_Errhandler_create') .
+. MPI_User_function - C function to combine values (see collective operations
+ and 'MPI_Op_create')
+. MPI_Copy_function - Function to copy attributes (see 'MPI_Keyval_create')
+. MPI_Delete_function - Function to delete attributes (see 'MPI_Keyval_create')
+. MPI_ERRORS_ARE_FATAL - Error handler that forces exit on error
+- MPI_ERRORS_RETURN - Error handler that returns error codes (as value of
+ MPI routine in C and through last argument in Fortran)
+
+ MPI Attribute Default Functions:
++I MPI_COMM_NULL_COPY_FN - Predefined attribute copy function for communicators
+. MPI_COMM_NULL_DELETE_FN - Predefined attribute delete function for communicators
+. MPI_COMM_DUP_FN - Predefined attribute duplicate function for communicators
+. MPI_WIN_NULL_COPY_FN - Predefined attribute copy function for windows
+. MPI_WIN_NULL_DELETE_FN - Predefined attribute delete function for windows
+. MPI_WIN_DUP_FN - Predefined attribute duplicate function for windows
+. MPI_TYPE_NULL_COPY_FN - Predefined attribute copy function for datatypes
+. MPI_TYPE_NULL_DELETE_FN - Predefined attribute delete function for datatypes
+- MPI_TYPE_DUP_FN - Predefined attribute duplicate function for datatypes
+
+ MPI-1 Attribute Default Functions:
++I MPI_NULL_COPY_FN - Predefined copy function
+. MPI_NULL_DELETE_FN - Predefined delete function
+- MPI_DUP_FN - Predefined duplication function
+
+ MPI Error classes:
++I MPI_SUCCESS - Successful return code
+. MPI_ERR_BUFFER - Invalid buffer pointer
+. MPI_ERR_COUNT - Invalid count argument
+. MPI_ERR_TYPE - Invalid datatype argument
+. MPI_ERR_TAG - Invalid tag argument
+. MPI_ERR_COMM - Invalid communicator
+. MPI_ERR_RANK - Invalid rank
+. MPI_ERR_ROOT - Invalid root
+. MPI_ERR_GROUP - Null group passed to function
+. MPI_ERR_OP - Invalid operation
+. MPI_ERR_TOPOLOGY - Invalid topology
+. MPI_ERR_DIMS - Illegal dimension argument
+. MPI_ERR_ARG - Invalid argument
+. MPI_ERR_UNKNOWN - Unknown error
+. MPI_ERR_TRUNCATE - Message truncated on receive
+. MPI_ERR_OTHER - Other error; use Error_string
+. MPI_ERR_INTERN - Internal error code
+. MPI_ERR_IN_STATUS - Look in status for error value
+. MPI_ERR_PENDING - Pending request
+. MPI_ERR_REQUEST - Invalid mpi_request handle
+. MPI_ERR_ACCESS - Permission denied
+. MPI_ERR_AMODE - Error related to the amode passed to
+ 'MPI_FILE_OPEN'
+. MPI_ERR_BAD_FILE - Invalid file name (e.g., path name too long)
+. MPI_ERR_CONVERSION - An error occurred in a user supplied data
+ conversion function
+. MPI_ERR_DUP_DATAREP - Conversion functions could not be registered
+ because a data representation identifier that was already defined was passed
+ to 'MPI_REGISTER_DATAREP'
+. MPI_ERR_FILE_EXISTS - File exists
+. MPI_ERR_FILE_IN_USE - File operation could not be completed, as
+ the file is currently open by some process
+. MPI_ERR_FILE - Invalid file handle
+. MPI_ERR_IO - Other I/O error
+. MPI_ERR_NO_SPACE - Not enough space
+. MPI_ERR_NO_SUCH_FILE - File does not exist
+. MPI_ERR_READ_ONLY - Read-only file or file system
+. MPI_ERR_UNSUPPORTED_DATAREP - Unsupported datarep passed to
+ 'MPI_FILE_SET_VIEW'
+. MPI_ERR_INFO - Invalid info argument
+. MPI_ERR_INFO_KEY - Key longer than MPI_MAX_INFO_KEY
+. MPI_ERR_INFO_VALUE - Value longer than MPI_MAX_INFO_VAL
+. MPI_ERR_INFO_NOKEY - Invalid key passed to MPI_INFO_DELETE
+. MPI_ERR_NAME - Invalid service name passed to MPI_LOOKUP_NAME
+. MPI_ERR_NO_MEM - Alloc_mem could not allocate memory
+. MPI_ERR_NOT_SAME - Collective argument not identical on all
+ processes, or collective routines called in a different order by different
+ processes
+. MPI_ERR_PORT - Invalid port name passed to MPI_COMM_CONNECT
+. MPI_ERR_QUOTA - Quota exceeded
+. MPI_ERR_SERVICE - Invalid service name passed to MPI_UNPUBLISH_NAME
+. MPI_ERR_SPAWN - Error in spawning processes
+. MPI_ERR_UNSUPPORTED_OPERATION - Unsupported operation, such as seeking on
+ a file which supports sequential access only
+. MPI_ERR_WIN - Invalid win argument
+. MPI_ERR_BASE - Invalid base passed to MPI_FREE_MEM
+. MPI_ERR_LOCKTYPE - Invalid locktype argument
+. MPI_ERR_KEYVAL - Erroneous attribute key
+. MPI_ERR_RMA_CONFLICT - Conflicting accesses to window
+. MPI_ERR_RMA_SYNC - Wrong synchronization of RMA calls
+. MPI_ERR_SIZE - Invalid size argument
+. MPI_ERR_DISP - Invalid disp argument
+. MPI_ERR_ASSERT - Invalid assert argument
+. MPI_ERR_RMA_RANGE - Target memory is not part of the window (in
+ the case of a window created with MPI_WIN_CREATE_DYNAMIC, target memory is
+ not attached)
+. MPI_ERR_RMA_ATTACH - Memory cannot be attached (e.g., because of
+ resource exhaustion)
+. MPI_ERR_RMA_SHARED - Memory cannot be shared (e.g., some process in
+ the group of the specified communicator cannot expose shared memory)
+. MPI_ERR_RMA_FLAVOR - Passed window has the wrong flavor for the
+ called function
+- MPI_ERR_LASTCODE - Last error code -- always at end
+
+Error codes for MPI_T:
+
++I MPI_T_ERR_MEMORY - Out of memory
+. MPI_T_ERR_NOT_INITIALIZED - Interface not initialized
+. MPI_T_ERR_CANNOT_INIT - Interface not in the state to be initialized
+. MPI_T_ERR_INVALID_INDEX - The index is invalid or has been deleted
+. MPI_T_ERR_INVALID_ITEM - Item index queried is out of range
+. MPI_T_ERR_INVALID_HANDLE - The handle is invalid
+. MPI_T_ERR_OUT_OF_HANDLES - No more handles available
+. MPI_T_ERR_OUT_OF_SESSIONS - No more sessions available
+. MPI_T_ERR_INVALID_SESSION - Session argument is not valid
+. MPI_T_ERR_CVAR_SET_NOT_NOW - Cvar can''t be set at this moment
+. MPI_T_ERR_CVAR_SET_NEVER - Cvar can''t be set until end of execution
+. MPI_T_ERR_PVAR_NO_STARTSTOP - Pvar can''t be started or stopped
+. MPI_T_ERR_PVAR_NO_WRITE - Pvar can''t be written or reset
+. MPI_T_ERR_PVAR_NO_ATOMIC - Pvar can''t be R/W atomically
+. MPI_T_ERR_INVALID_NAME - Name doesn''t match
+- MPI_T_ERR_INVALID - Invalid use of the interface or bad parameter
+ values(s)
+
+D*/
+
+
diff --git a/maint/createhtmlindex.in b/maint/createhtmlindex.in
index ee8d212..6b30307 100644
--- a/maint/createhtmlindex.in
+++ b/maint/createhtmlindex.in
@@ -47,12 +47,18 @@ be run in a VPATH directory after configuring.\n";
open( OUTFD, ">$WWWRoot/www/index.html" ) ||
die "Cannot open $WWWRoot/www/index.html\n";
-&AddHeader( "Web pages for MPI and MPE" );
+&AddHeader( "Web pages for MPI" );
print OUTFD "<H2>MPI Commands</H2>$eol";
&AddDirectoryContents( "www", "www1" );
-print OUTFD "<H2>MPI Routines</H2>$eol";
+print OUTFD "<H2>MPI Routines and Constants</H2>$eol";
+if (-f "www/www3/mpi.cit") {
+ &createRedirects("www/www3", "mpi.cit");
+}
+else {
+ print STDERR "Could not find mapping file\n";
+}
&AddDirectoryContents( "www", "www3" );
#print OUTFD "<H2>MPE Routines</H2>$eol";
@@ -74,7 +80,7 @@ close( OUTFD );
open( OUTFD, ">$WWWRoot/www/www3/index.htm" ) ||
die "Cannot open $WWWRoot/www/www3/index.htm\n";
-&AddHeader( "Web pages for MPI Routines" );
+&AddHeader( "Web pages for MPI Routines and Constants" );
&AddDirectoryContents( "www/www3", "." );
&AddTrailer( );
close( OUTFD );
@@ -105,6 +111,37 @@ sub AddTrailer {
print OUTFD "</BODY>$eol</HTML>$eol";
}
+# For the items (mostly MPI constants) that are within a single web page,
+# create a redirect page for them. This allows us to point to a location
+# on the page, rather than just a page which is what a file link would
+# accomplish
+sub createRedirects {
+ $rootdir = $_[0];
+ $mapfile = $_[1];
+ open( MAPFD, "<$rootdir/$mapfile" ) || die "Cannot open map file $mapfile\n";
+ while (<MAPFD>) {
+ @fields = split(/\+/);
+ $name = $fields[1];
+ $url = $fields[8];
+ if ($url =~ /(.*)\/([^\/]*)\.([HTMLhtml]*)#(.*)/) {
+ $rooturl = $1;
+ $basefile = $2;
+ $ext = $3;
+ $anchor = $4;
+ if ($basefile ne $anchor) {
+ open(RFD, ">$rootdir/$anchor.htm") || die "Cannot open redirect file $anchor.htm\n";
+ print RFD "<html><head><meta http-equiv=\"refresh\" content=\"0; url=$basefile.$ext#$anchor\" /></head></html>\n";
+ close RFD;
+ }
+ }
+ else {
+ print STDERR "Could not decode $url\n";
+ }
+
+ }
+ close MAPFD;
+}
+
# Take all .htm and .html files and add them to the OUTFD file.
# This works in two steps:
# 1. Read and sort the contents of the directory into the array
diff --git a/maint/docnotes b/maint/docnotes
index 215ac56..736f4ca 100644
--- a/maint/docnotes
+++ b/maint/docnotes
@@ -488,6 +488,10 @@ N*/
. MPI_T_ERR_INVALID_ITEM - Item index queried is out of range.
N*/
+/*N MPI_T_ERR_INVALID_NAME
+. MPI_T_ERR_INVALID_NAME - The variable or category name is invalid
+N*/
+
/*N MPI_T_ERR_INVALID_HANDLE
. MPI_T_ERR_INVALID_HANDLE - The handle is invalid.
N*/
http://git.mpich.org/mpich.git/commitdiff/90bcedf0334a858d78a7e2684d67e33c4a661902
commit 90bcedf0334a858d78a7e2684d67e33c4a661902
Author: William Gropp <wgropp at illinois.edu>
Date: Tue Jul 19 09:31:14 2016 -0500
Correct errors in documentation
Signed-off-by: Rob Latham <robl at mcs.anl.gov>
diff --git a/src/mpi/comm/comm_agree.c b/src/mpi/comm/comm_agree.c
index 0475f5f..32d207c 100644
--- a/src/mpi/comm/comm_agree.c
+++ b/src/mpi/comm/comm_agree.c
@@ -115,12 +115,12 @@ int MPIR_Comm_agree(MPIR_Comm *comm_ptr, int *flag)
MPIX_Comm_agree - Performs agreement operation on comm
Input Parameters:
-+ comm - communicator (handle)
+. comm - communicator (handle)
Output Parameters:
. newcomm - new communicator (handle)
-.N Threadsafe
+.N ThreadSafe
.N Fortran
diff --git a/src/mpi/comm/comm_revoke.c b/src/mpi/comm/comm_revoke.c
index 330e3b6..cd804ed 100644
--- a/src/mpi/comm/comm_revoke.c
+++ b/src/mpi/comm/comm_revoke.c
@@ -38,7 +38,7 @@ int MPIX_Comm_revoke(MPI_Comm comm) __attribute__((weak,alias("PMPIX_Comm_revoke
MPIX_Comm_revoke - Prevent a communicator from being used in the future
Input Parameters:
-+ comm - communicator to revoke
+. comm - communicator to revoke
Notes:
Asynchronously notifies all MPI processes associated with the communicator 'comm'.
@@ -48,7 +48,7 @@ call.
.N Fortran
.N Errors
-.N MPIX_SUCCESS
+.N MPI_SUCCESS
@*/
int MPIX_Comm_revoke(MPI_Comm comm)
{
diff --git a/src/mpi/comm/comm_shrink.c b/src/mpi/comm/comm_shrink.c
index d5d55ca..765001b 100644
--- a/src/mpi/comm/comm_shrink.c
+++ b/src/mpi/comm/comm_shrink.c
@@ -119,12 +119,12 @@ MPIX_Comm_shrink - Creates a new communitor from an existing communicator while
excluding failed processes
Input Parameters:
-+ comm - communicator (handle)
+. comm - communicator (handle)
Output Parameters:
. newcomm - new communicator (handle)
-.N Threadsafe
+.N ThreadSafe
.N Fortran
diff --git a/src/mpi/datatype/status_set_elements_x.c b/src/mpi/datatype/status_set_elements_x.c
index c08a97d..3acf576 100644
--- a/src/mpi/datatype/status_set_elements_x.c
+++ b/src/mpi/datatype/status_set_elements_x.c
@@ -55,7 +55,7 @@ int MPIR_Status_set_elements_x_impl(MPI_Status *status, MPI_Datatype datatype, M
#undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME)
/*@
-MPI_Status_set_elements_x - XXX description here
+MPI_Status_set_elements_x - Set the number of elements in a status
Input/Output Parameters:
. status - status with which to associate count (Status)
diff --git a/src/mpi/datatype/type_get_extent_x.c b/src/mpi/datatype/type_get_extent_x.c
index 30720b4..881aa81 100644
--- a/src/mpi/datatype/type_get_extent_x.c
+++ b/src/mpi/datatype/type_get_extent_x.c
@@ -53,7 +53,8 @@ void MPIR_Type_get_extent_x_impl(MPI_Datatype datatype, MPI_Count *lb, MPI_Count
#undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME)
/*@
-MPI_Type_get_extent_x - XXX description here
+MPI_Type_get_extent_x - Get the lower bound and extent as MPI_Count values
+ for a Datatype
Input Parameters:
. datatype - datatype (handle)
diff --git a/src/mpi/datatype/type_get_true_extent_x.c b/src/mpi/datatype/type_get_true_extent_x.c
index e2ad197..17e1f87 100644
--- a/src/mpi/datatype/type_get_true_extent_x.c
+++ b/src/mpi/datatype/type_get_true_extent_x.c
@@ -53,7 +53,8 @@ void MPIR_Type_get_true_extent_x_impl(MPI_Datatype datatype, MPI_Count *true_lb,
#undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME)
/*@
-MPI_Type_get_true_extent_x - XXX description here
+MPI_Type_get_true_extent_x - Get the true lower bound and extent as MPI_Count
+ values for a datatype
Input Parameters:
. datatype - datatype (handle)
diff --git a/src/mpi/misc/aint_add.c b/src/mpi/misc/aint_add.c
index 598d88e..8c454a8 100644
--- a/src/mpi/misc/aint_add.c
+++ b/src/mpi/misc/aint_add.c
@@ -47,8 +47,10 @@ to MPI_GET_ADDRESS and disp represents a signed integer displacement. The result
address is valid only at the process that generated base, and it must correspond
to a location in the same object referenced by base. The addition is performed in
a manner that results in the correct MPI_Aint representation of the output address,
-as if the process that originally produced base had called:
+as if the process that originally produced base had called\:
+.vb
MPI_Get_address((char *) base + disp, &result)
+.ve
.seealso: MPI_Aint_diff
@*/
diff --git a/src/mpi/misc/aint_diff.c b/src/mpi/misc/aint_diff.c
index 5d69cff..93fcd87 100644
--- a/src/mpi/misc/aint_diff.c
+++ b/src/mpi/misc/aint_diff.c
@@ -48,7 +48,9 @@ process that generated addr1 and addr2, and addr1 and addr2 must correspond to
locations in the same object in the same process. The difference is calculated
in a manner that results the signed difference from addr1 to addr2, as if the
process that originally produced the addresses had called
+.vb
(char *) addr1 - (char *) addr2
+.ve
on the addresses initially passed to MPI_GET_ADDRESS.
.seealso: MPI_Aint_add
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 23 +-
doc/Makefile.mk | 1 +
doc/mansrc/cmdnotes | 21 ++
doc/mansrc/mpiconsts.txt | 547 +++++++++++++++++++++++++++++
maint/createhtmlindex.in | 43 +++-
maint/docnotes | 4 +
src/mpi/comm/comm_agree.c | 4 +-
src/mpi/comm/comm_revoke.c | 4 +-
src/mpi/comm/comm_shrink.c | 4 +-
src/mpi/datatype/status_set_elements_x.c | 2 +-
src/mpi/datatype/type_get_extent_x.c | 3 +-
src/mpi/datatype/type_get_true_extent_x.c | 3 +-
src/mpi/misc/aint_add.c | 4 +-
src/mpi/misc/aint_diff.c | 2 +
src/mpi/romio/doc/Makefile | 1 +
src/mpi/romio/doc/users-guide.tex | 2 +-
16 files changed, 650 insertions(+), 18 deletions(-)
create mode 100644 doc/mansrc/cmdnotes
create mode 100644 doc/mansrc/mpiconsts.txt
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list