Skip to content

Commit c124026

Browse files
committed
Update caf.1 and add cafrun.1 manpages
1 parent 3f0122d commit c124026

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed

doc/man/man1/caf.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.TH CAF 1 2017\-09\-12 OpenCoarrays\-1.9.1 "caf compiler wrapper manual"
22
.SH NAME
33
.PP
4-
caf \- OpenCoarrays compiler wrapper to compile and link coarray Fortran source files and programs
4+
\fB\fCcaf\fR \- OpenCoarrays compiler wrapper to compile and link coarray Fortran source files and programs
55
.SH SYNOPSIS
66
.PP
77
\fB\fCcaf\fR [compiler\-options] [linker\-options] \fI<fortran\-source\-file>\fP [\fIobject\-files\fP] [libraries]

doc/man/man1/cafrun.1

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
.TH CAFRUN 1 2017\-09\-12 OpenCoarrays\-1.9.1 "cafrun coarray Fortran job launcher manual"
2+
.SH NAME
3+
.PP
4+
\fB\fCcafrun\fR \- Coarray Fortran executable launcher for OpenCoarrays
5+
.SH SYNOPSIS
6+
.PP
7+
\fB\fCcafrun\fR [\fB\fC\-s\fR] \fB\fC\-np\fR <N> \fI</path/to/coarray\-executable>\fP [arg1 [arg2 ...]]
8+
.SH DESCRIPTION
9+
.PP
10+
\fB\fCcafrun\fR is wrapper script which will launch Coarray Fortran
11+
executables across <N> images using the appropriate parallel
12+
runtime that OpenCoarrays was compiled against, (e.g.,
13+
.BR mpiexec (1)).
14+
\fB\fCcafrun\fR ensures the correct flags are passed to the
15+
parallel runtime job launcher, as determined by system introspection
16+
at OpenCoarrays build time. Advanced users may compile their Coarray
17+
Fortran code however they please, but we recommend using the
18+
.BR caf (1)
19+
20+
compiler wrapper script for a more user friendly experience.
21+
.PP
22+
To see the default command run by \fB\fCcafrun\fR, add the \fB\fC\-s\fR or \fB\fC\-\-show\fR
23+
flags. To see how a specific command would be executed, simply
24+
construct the command you plan to use to launch your job, and add
25+
\fB\fC\-s\fR or \fB\fC\-\-show\fR as the very first flag after \fB\fCcafrun\fR, e.g.,
26+
\fB\fCcafrun \-s ...\fR to see how \fB\fCcafrun\fR is translating your invocation for
27+
the parallel runtime job launcher (e.g.,
28+
.BR mpiexec (1)).
29+
.SH OPTIONS
30+
.TP
31+
\fB\fC\-\-help\fR, \fB\fC\-h\fR
32+
Print a brief help/usage message and return without
33+
performing any substantive action.
34+
.TP
35+
\fB\fC\-np\fR <N>
36+
Mandatory flag with argument to specify the number of Coarray
37+
Fortran images to be spawned. <N> must be a positive integer.
38+
.TP
39+
\fB\fC\-\-reenable\-auto\-cleanup\fR
40+
If OpenCoarrays is built supporting failed images, which requires
41+
GFortran >= 7.0 and an MPI implementation with user level failure
42+
mitigation support (ULFM) and NOT disabling it at build time, then
43+
\fB\fCcafrun\fR turns OFF mpi auto cleanup, and handles cleanup in the
44+
OpenCoarrays library. This is required to properly support failed
45+
images. \fB\fC\-\-reenable\-auto\-cleanup\fR re\-enables the parallel runtime's
46+
auto cleanup features which breaks the failed images functionality
47+
but provides more robust error detection and application
48+
aborting. If failed images support was not enabled at OpenCoarrays
49+
build time, then this flag is a noop.
50+
.TP
51+
\fB\fC\-\-show\fR, \fB\fC\-s\fR
52+
Print the default invocation of the underlying parallel
53+
runtime's job launcher (e.g., \fB\fCmpiexec\fR), including what flags are
54+
passed, etc. This also functions as a dry\-run for executing a
55+
specific \fB\fCcafrun\fR command, showing the user how the compiler would
56+
be called with the additional files and arguments passed by the
57+
user.
58+
.TP
59+
\fB\fC\-\-version\fR, \fB\fC\-V\fR, \fB\fC\-v\fR
60+
Print OpenCoarrays version and copyright information and exit.
61+
.TP
62+
\fB\fC\-\-wrapping\fR, \fB\fC\-\-wraps\fR, \fB\fC\-w\fR
63+
Report the version of the parallel runtime \fB\fCcafrun\fR is wrapping and exit.
64+
.SH BUGS
65+
.PP
66+
For a list of bugs currently affecting OpenCoarrays, or to report a new one, please report any bugs to the OpenCoarrays project at \[la]https://github.com/sourceryinstitute/OpenCoarrays/issues\[ra]
67+
.SH AUTHOR
68+
.PP
69+
Izaak Beekman \[la][email protected]\[ra]
70+
.SH SEE ALSO
71+
.PP
72+
.BR caf (1),
73+
.BR mpiexec (1),
74+
.BR gfortran (1),
75+
OpenCoarrays project page \[la]https://github.com/sourceryinstitute/OpenCoarrays#readme\[ra], OpenCoarrays website \[la]http://www.opencoarrays.org\[ra]

0 commit comments

Comments
 (0)