diff --git a/orte/tools/orterun/Makefile.am b/orte/tools/orterun/Makefile.am index 1efb74c3b1..55fbb8590d 100644 --- a/orte/tools/orterun/Makefile.am +++ b/orte/tools/orterun/Makefile.am @@ -42,6 +42,11 @@ orterun_SOURCES = \ orterun_LDADD = $(libs) orterun_DEPENDENCIES = $(libs) +# AM 1.9.6 seems to have a bug in it's dependencies for install-man if +#dist_ and nodist_ are used, so explicitly add to EXTRA_DIST... +man_MANS = orterun.1 mpirun.1 mpiexec.1 +EXTRA_DIST = orterun.1 + install-exec-hook: (cd $(DESTDIR)$(bindir); rm -f mpirun$(EXEEXT); $(LN_S) orterun$(EXEEXT) mpirun$(EXEEXT)) (cd $(DESTDIR)$(bindir); rm -f mpiexec$(EXEEXT); $(LN_S) orterun$(EXEEXT) mpiexec$(EXEEXT)) @@ -49,3 +54,12 @@ install-exec-hook: uninstall-local: rm -f $(DESTDIR)$(bindir)/mpirun$(EXEEXT) \ $(DESTDIR)$(bindir)/mpiexec$(EXEEXT) + +mpirun.1: $(top_srcdir)/orte/tools/orterun/orterun.1 + cp -f $(top_srcdir)/orte/tools/orterun/orterun.1 mpirun.1 + +mpiexec.1: $(top_srcdir)/orte/tools/orterun/orterun.1 + cp -f $(top_srcdir)/orte/tools/orterun/orterun.1 mpiexec.1 + +distclean-local: + rm -f mpirun.1 mpiexec.1 diff --git a/orte/tools/orterun/orterun.1 b/orte/tools/orterun/orterun.1 index 263e7e34f2..58b411b344 100644 --- a/orte/tools/orterun/orterun.1 +++ b/orte/tools/orterun/orterun.1 @@ -2,7 +2,7 @@ .\" Man page for ORTE's orterun command .\" .\" .TH name section center-footer left-footer center-header -.TH ORTERUN 1 "March 2006" "Open MPI" "OPEN MPI COMMANDS" +.TH MPIRUN 1 "March 2006" "Open MPI" "OPEN MPI COMMANDS" .\" ************************** .\" Name Section .\" ************************** @@ -20,7 +20,7 @@ other. Using any of the names will result in exactly identical behavior. .SH SYNOPSIS . .PP -Single Proceess Multiple Data (SPMD) Model: +Single Process Multiple Data (SPMD) Model: .B mpirun .R [ options ] @@ -75,7 +75,7 @@ details. .\" Indent 10 chacters from start of first column to start of second column .TP 10 .B -Pass these runtime arguments to every new process. These must always +Pass these run-time arguments to every new process. These must always be the last arguments to \fImpirun\fP. If an app context file is used, \fI\fP will be ignored. . @@ -148,7 +148,7 @@ List of hosts on which to invoke processes. .TP .B -hostfile\fR,\fP --hostfile \fR\fP Provide a hostfile to use. -JJH - Should have man page for how to format a hostfile properly. +.\" JJH - Should have man page for how to format a hostfile properly. . . .TP @@ -170,12 +170,12 @@ Synonym for \fI-np\fP. .B -np \fR<#>\fP Run this many copies of the program on the given nodes. This option indicates that the specified file is an executable program and not an -application contex. +application context. . . .TP .B -nw\fR,\fP --nw -Launch the processes and do not wair for their completion. mpirun will +Launch the processes and do not wait for their completion. mpirun will complete as soon as successful launch occurs. . . @@ -212,7 +212,7 @@ Change to the directory before the user's program executes. See the "Current Working Directory" section for notes on relative paths. .B Note: If the \fI-wd\fP option appears both on the command line and in an -application context, the context will take precendence over the command line. +application context, the context will take precedence over the command line. . . .TP @@ -227,7 +227,7 @@ then use \fI-x\fP to export (not define) them. . . .P -The follwing options are useful for developers; they are not generally +The following options are useful for developers; they are not generally useful to most ORTE and/or MPI users: . .TP @@ -272,7 +272,7 @@ This file essentially contains multiple \fImpirun\fP command lines, less the command name itself. The ability to specify different options for different instantiations of a program is another reason to use an application context. .PP -Extended command line arguments allow for the description of the applicaiton +Extended command line arguments allow for the description of the application layout on the command line using colons (\fI:\fP) to separate the specification of programs and arguments. Some options are globally set across all specified programs (e.g. --hostfile), while others are specific to a single program @@ -598,5 +598,5 @@ mpirun does not indicate the exit status of the ranks. .\" See Also Section .\" ************************** . -.SH SEE ALSO -orted(1) +.\" .SH SEE ALSO +.\" orted(1)