Skip to content

Commit db315cf

Browse files
carbonneau1ofaaland
authored andcommitted
Preparing for release 0.12
Add version change to build script and man pages Update documentation new library versions: libarchive 3.7.7 dtcmp 1.1.5 lwgrp 1.0.6 Corrected doc and script for libarchive version It was still pointing to 3.5.1 and now 3.7.7 Fixed url for libraries to pulled down for installation Updated man and rst with latest version of libraries. Signed-off-by: Eric Carbonneau <[email protected]>
1 parent 5a46aa7 commit db315cf

File tree

19 files changed

+214
-174
lines changed

19 files changed

+214
-174
lines changed

dist/builddist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ print_usage() {
55
echo ""
66
echo "Tags:"
77
echo " main - build tarball of latest"
8-
echo " v0.11.1 - build tarball of v0.11.1"
8+
echo " v0.12 - build tarball of v0.12"
99
}
1010

1111
# check that we got an argument or print usage
@@ -26,10 +26,10 @@ if [ "$1" == "main" ] ; then
2626
elif [ "$1" == "v0.11.1" ] ; then
2727
# to build from latest branch of all repos
2828
ORGS=(
29-
"lwgrp" "llnl" "v1.0.4"
30-
"dtcmp" "llnl" "v1.1.4"
29+
"lwgrp" "llnl" "v1.0.6"
30+
"dtcmp" "llnl" "v1.1.5"
3131
"libcircle" "hpc" "v0.3"
32-
"mpifileutils" "hpc" "v0.11.1"
32+
"mpifileutils" "hpc" "v0.12"
3333
)
3434
else
3535
echo "Error: unknown tag: $1"

doc/rst/build.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,31 @@ https://github.com/hpc/mpifileutils/releases
2626
mpiFileUtils optionally depends on libarchive, version 3.5.1.
2727
If new enough, the system install of libarchive may be sufficient,
2828
though even newer versions may be incompatible with the required version.
29-
To be certain of compatibility, it is recommended that one install libarchive-3.5.1 with commands like the following
29+
To be certain of compatibility, it is recommended that one install libarchive-3.7.7 with commands like the following
3030

3131
.. code-block:: Bash
3232
3333
#!/bin/bash
3434
mkdir install
3535
installdir=`pwd`/install
3636
37-
wget https://github.com/libarchive/libarchive/releases/download/v3.5.1/libarchive-3.5.1.tar.gz
38-
tar -zxf libarchive-3.5.1.tar.gz
39-
cd libarchive-3.5.1
37+
wget https://github.com/libarchive/libarchive/releases/download/v3.7.7/libarchive-3.7.7.tar.gz
38+
tar -zxf libarchive-3.7.7.tar.gz
39+
cd libarchive-3.7.7
4040
./configure --prefix=$installdir
4141
make install
4242
cd ..
4343
4444
To build on PowerPC, one may need to add :code:`--build=powerpc64le-redhat-linux-gnu` to the configure command.
4545

4646
Assuming libarchive has been installed to an `install` directory as shown above,
47-
one can then build mpiFileUtils from a release like v0.11.1 with commands like the following:
47+
one can then build mpiFileUtils from a release like v0.12 with commands like the following:
4848

4949
.. code-block:: Bash
5050
51-
wget https://github.com/hpc/mpifileutils/releases/download/v0.11.1/mpifileutils-v0.11.1.tgz
52-
tar -zxf mpifileutils-v0.11.1.tgz
53-
cd mpifileutils-v0.11.1
51+
wget https://github.com/hpc/mpifileutils/releases/download/v0.12/mpifileutils-v0.12.tgz
52+
tar -zxf mpifileutils-v0.12.tgz
53+
cd mpifileutils-v0.12
5454
mkdir build
5555
cd build
5656
cmake .. \
@@ -135,9 +135,9 @@ which can be done with the following commands:
135135
cd deps
136136
137137
urls=( https://github.com/hpc/libcircle/releases/download/v0.3/libcircle-0.3.0.tar.gz
138-
https://github.com/llnl/lwgrp/releases/download/v1.0.4/lwgrp-1.0.4.tar.gz
139-
https://github.com/llnl/dtcmp/releases/download/v1.1.4/dtcmp-1.1.4.tar.gz
140-
https://github.com/libarchive/libarchive/releases/download/3.5.1/libarchive-3.5.1.tar.gz
138+
https://github.com/llnl/lwgrp/releases/download/v1.0.6/lwgrp-1.0.6.tar.gz
139+
https://github.com/llnl/dtcmp/releases/download/v1.1.5/dtcmp-1.1.5.tar.gz
140+
https://github.com/libarchive/libarchive/releases/download/v3.7.7/libarchive-3.7.7.tar.gz
141141
)
142142
143143
rc=0
@@ -160,20 +160,20 @@ which can be done with the following commands:
160160
make install
161161
cd ..
162162
163-
tar -zxf lwgrp-1.0.4.tar.gz
164-
cd lwgrp-1.0.4
163+
tar -zxf lwgrp-1.0.6.tar.gz
164+
cd lwgrp-1.0.6
165165
./configure --prefix=$installdir
166166
make install
167167
cd ..
168168
169-
tar -zxf dtcmp-1.1.4.tar.gz
170-
cd dtcmp-1.1.4
169+
tar -zxf dtcmp-1.1.5.tar.gz
170+
cd dtcmp-1.1.5
171171
./configure --prefix=$installdir --with-lwgrp=$installdir
172172
make install
173173
cd ..
174174
175-
tar -zxf libarchive-3.5.1.tar.gz
176-
cd libarchive-3.5.1
175+
tar -zxf libarchive-3.7.7.tar.gz
176+
cd libarchive-3.7.7
177177
./configure --prefix=$installdir
178178
make install
179179
cd ..

doc/rst/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = u'0.11.1'
57+
version = u'0.12'
5858
# The full version, including alpha/beta/rc tags.
59-
release = u'0.11.1'
59+
release = u'0.12'
6060

6161
# The language for content autogenerated by Sphinx. Refer to documentation
6262
# for a list of supported languages.

man/dbcast.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DBCAST" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DBCAST" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
dbcast \- distributed broadcast
66
.
@@ -56,7 +56,7 @@ number of MPI processes.
5656
.TP
5757
.B \-s, \-\-size SIZE
5858
The chunk size in bytes used to segment files during the broadcast.
59-
Units like “MB” and “GB” should be immediately follow the number
59+
Units like "MB" and "GB" should be immediately follow the number
6060
without spaces (ex. 2MB). The default size is 1MB. It is recommended
6161
to use the stripe size of a file if this is known.
6262
.UNINDENT

man/dbz2.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DBZ2" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DBZ2" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
dbz2 \- distributed bz2 compression
66
.
@@ -64,7 +64,7 @@ Overwrite the output file, if it exists.
6464
.TP
6565
.B \-b, \-\-blocksize SIZE
6666
Set the compression block size, from 1 to 9.
67-
Where 1=100kB and 9=900kB. Default is 9.
67+
Where 1=100kB ... and 9=900kB. Default is 9.
6868
.UNINDENT
6969
.INDENT 0.0
7070
.TP

man/dchmod.1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DCHMOD" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DCHMOD" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
dchmod \- distributed tool to set permissions and group
66
.
@@ -32,7 +32,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
3232
..
3333
.SH SYNOPSIS
3434
.sp
35-
\fBdchmod [OPTION] PATH \fP
35+
\fBdchmod [OPTION] PATH ...\fP
3636
.SH DESCRIPTION
3737
.sp
3838
Parallel MPI application to recursively change permissions and/or group
@@ -62,8 +62,8 @@ Change group to specified GROUP name or numeric group id.
6262
.TP
6363
.B \-m, \-\-mode MODE
6464
The mode to apply to each item. MODE may be octal or symbolic syntax
65-
similar to \fBchmod(1)\fP\&. In symbolic notation, ugoa are supported
66-
as are rwxX. As with chmod, if no leading letter ugoa is provided,
65+
similar to \fBchmod(1)\fP\&. In symbolic notation, "ugoa" are supported
66+
as are "rwxX". As with chmod, if no leading letter "ugoa" is provided,
6767
mode bits are combined with umask to determine the actual mode.
6868
.UNINDENT
6969
.INDENT 0.0
@@ -73,7 +73,7 @@ Attempt to change every item. By default, dchmod avoids unncessary
7373
chown and chmod calls, for example trying to change the group
7474
on an item that already has the correct group, or trying to change
7575
the group on an item that is not owned by the user running the tool.
76-
With force, dchmod executes chown/chmod calls on every item.
76+
With \-\-force, dchmod executes chown/chmod calls on every item.
7777
.UNINDENT
7878
.INDENT 0.0
7979
.TP
@@ -96,7 +96,7 @@ Only modify items whose full path matches REGEX, processed by
9696
.INDENT 0.0
9797
.TP
9898
.B \-n, \-\-name
99-
Change exclude and match to apply to item name rather than its
99+
Change \-\-exclude and \-\-match to apply to item name rather than its
100100
full path.
101101
.UNINDENT
102102
.INDENT 0.0
@@ -151,7 +151,7 @@ regex:
151151
.sp
152152
\fBmpirun \-np 128 dchmod \-\-name \-\-exclude ‘afilename’ \-\-mode u+rw /directory\fP
153153
.sp
154-
Note: You can use match to change file permissions on all of the
154+
Note: You can use \-\-match to change file permissions on all of the
155155
files/directories that match the regex.
156156
.SH SEE ALSO
157157
.sp

man/dcmp.1

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DCMP" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DCMP" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
dcmp \- distributed compare
66
.
@@ -54,26 +54,26 @@ in which case, each option should provide a different output file name.
5454
.INDENT 0.0
5555
.TP
5656
.B \-t, \-\-text
57-
Change output to write files in text format rather than binary.
57+
Change \-\-output to write files in text format rather than binary.
5858
.UNINDENT
5959
.INDENT 0.0
6060
.TP
6161
.B \-b, \-\-base
62-
Enable base checks and normal stdout results when output is used.
62+
Enable base checks and normal stdout results when \-\-output is used.
6363
.UNINDENT
6464
.INDENT 0.0
6565
.TP
6666
.B \-\-bufsize SIZE
67-
Set the I/O buffer to be SIZE bytes. Units like “MB” and “GB” may
67+
Set the I/O buffer to be SIZE bytes. Units like "MB" and "GB" may
6868
immediately follow the number without spaces (e.g. 8MB). The default
6969
bufsize is 4MB.
7070
.UNINDENT
7171
.INDENT 0.0
7272
.TP
7373
.B \-\-chunksize SIZE
7474
Multiple processes copy a large file in parallel by dividing it into chunks.
75-
Set chunk to be at minimum SIZE bytes. Units like “MB” and
76-
“GB” can immediately follow the number without spaces (e.g. 64MB).
75+
Set chunk to be at minimum SIZE bytes. Units like "MB" and
76+
"GB" can immediately follow the number without spaces (e.g. 64MB).
7777
The default chunksize is 4MB.
7878
.UNINDENT
7979
.INDENT 0.0
@@ -91,6 +91,11 @@ Use O_DIRECT to avoid caching file data.
9191
.UNINDENT
9292
.INDENT 0.0
9393
.TP
94+
.B \-\-open\-noatime
95+
Open files with O_NOATIME flag.
96+
.UNINDENT
97+
.INDENT 0.0
98+
.TP
9499
.B \-\-progress N
95100
Print progress message to stdout approximately every N seconds.
96101
The number of seconds must be a non\-negative integer.
@@ -125,7 +130,7 @@ Print the command usage, and the list of options available.
125130
.SH EXPRESSIONS
126131
.sp
127132
An expression is made up of one or more conditions, where each condition specifies a field and a state.
128-
A single condition consists of a field name, an ‘=’ sign, and a state name.
133+
A single condition consists of a field name, an \(aq=\(aq sign, and a state name.
129134
.sp
130135
Valid fields are listed below, along with the property of the entry that is checked.
131136
.TS
@@ -288,7 +293,7 @@ CONTENT=COMMON => EXISTS=COMMON@TYPE=COMMON@SIZE=COMMON@CONTENT=COMMON
288293
.sp
289294
A successful check on any other field also implies that EXIST=COMMON.
290295
.sp
291-
When used with the \-o option, one must also specify a file name at the end of the expression, separated with a ‘:’.
296+
When used with the \-o option, one must also specify a file name at the end of the expression, separated with a \(aq:\(aq.
292297
The list of any entries that match the expression are written to the named file.
293298
For example, to list any entries matching the above expression to a file named outfile1,
294299
one should use the following option:
@@ -303,7 +308,7 @@ one should use the following option:
303308
.UNINDENT
304309
.UNINDENT
305310
.sp
306-
If the base option is given or when no output option is specified,
311+
If the \-\-base option is given or when no output option is specified,
307312
the following expressions are checked and numeric results are reported to stdout:
308313
.INDENT 0.0
309314
.INDENT 3.5

man/dcp.1

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DCP" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DCP" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
dcp \- distributed copy
66
.
@@ -46,22 +46,22 @@ file system, and it splits large file copies across multiple processes.
4646
.INDENT 0.0
4747
.TP
4848
.B \-\-bufsize SIZE
49-
Set the I/O buffer to be SIZE bytes. Units like “MB” and “GB” may
49+
Set the I/O buffer to be SIZE bytes. Units like "MB" and "GB" may
5050
immediately follow the number without spaces (e.g. 8MB). The default
5151
bufsize is 4MB.
5252
.UNINDENT
5353
.INDENT 0.0
5454
.TP
5555
.B \-\-chunksize SIZE
5656
Multiple processes copy a large file in parallel by dividing it into chunks.
57-
Set chunk to be at minimum SIZE bytes. Units like “MB” and
58-
“GB” can immediately follow the number without spaces (e.g. 64MB).
57+
Set chunk to be at minimum SIZE bytes. Units like "MB" and
58+
"GB" can immediately follow the number without spaces (e.g. 64MB).
5959
The default chunksize is 4MB.
6060
.UNINDENT
6161
.INDENT 0.0
6262
.TP
6363
.B \-\-xattrs WHICH
64-
Copy extended attributes (xattrs) from source files to target files.
64+
Copy extended attributes ("xattrs") from source files to target files.
6565
WHICH determines which xattrs are copied. Options are to copy no xattrs,
6666
all xattrs, xattrs not excluded by /etc/xattr.conf, or all xattrs except
6767
those which have special meaning to Lustre. Certain xattrs control Lustre
@@ -104,7 +104,7 @@ that each symbolic link refers to.
104104
.B \-P, \-\-no\-dereference
105105
Do not follow symbolic links in source paths. Effectviely allows
106106
symbolic links to be copied when the link target is not valid
107-
or there is not permission to read the link’s target.
107+
or there is not permission to read the link\(aqs target.
108108
.UNINDENT
109109
.INDENT 0.0
110110
.TP
@@ -118,6 +118,11 @@ Use O_DIRECT to avoid caching file data.
118118
.UNINDENT
119119
.INDENT 0.0
120120
.TP
121+
.B \-\-open\-noatime
122+
Open files with O_NOATIME flag.
123+
.UNINDENT
124+
.INDENT 0.0
125+
.TP
121126
.B \-S, \-\-sparse
122127
Create sparse files when possible.
123128
.UNINDENT
@@ -130,6 +135,18 @@ A value of 0 disables progress messages.
130135
.UNINDENT
131136
.INDENT 0.0
132137
.TP
138+
.B \-G, \-\-gid GID
139+
Set the effective group ID to perform the copy operation. The copy
140+
may fail if the group does not have sufficient privileges.
141+
.UNINDENT
142+
.INDENT 0.0
143+
.TP
144+
.B \-U, \-\-uid UID
145+
Set the effective user ID to perform the copy operation. The copy
146+
may fail if the user does not have sufficient privileges.
147+
.UNINDENT
148+
.INDENT 0.0
149+
.TP
133150
.B \-v, \-\-verbose
134151
Run in verbose mode.
135152
.UNINDENT

man/ddup.1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DDUP" "1" "Feb 04, 2022" "0.11.1" "mpiFileUtils"
3+
.TH "DDUP" "1" "Jan 29, 2025" "0.12" "mpiFileUtils"
44
.SH NAME
55
ddup \- report files with identical content
66
.
@@ -45,6 +45,11 @@ Multiple sets of duplicate files can be matched using this final reported hash.
4545
.SH OPTIONS
4646
.INDENT 0.0
4747
.TP
48+
.B \-\-open\-noatime
49+
Open files with O_NOATIME flag, if possible.
50+
.UNINDENT
51+
.INDENT 0.0
52+
.TP
4853
.B \-d, \-\-debug LEVEL
4954
Set verbosity level. LEVEL can be one of: fatal, err, warn, info, dbg.
5055
.UNINDENT

0 commit comments

Comments
 (0)