|
1 | | -.\" Automatically generated by Pandoc 1.19.1 |
| 1 | +.\" Automatically generated by Pandoc 1.19.2 |
2 | 2 | .\" |
3 | 3 | .TH "DBCAST" "1" "" "" "" |
4 | 4 | .hy |
|
7 | 7 | dbcast \- distributed broadcast |
8 | 8 | .SH SYNOPSIS |
9 | 9 | .PP |
10 | | -\f[B]dbcast CHUNK_SIZE SRC_FILE DEST_FILE\f[] |
| 10 | +\f[B]dbcast [OPTION] SRC DEST\f[] |
11 | 11 | .SH DESCRIPTION |
12 | 12 | .PP |
13 | | -Parallel MPI application to recursively broadcast a file from a global |
14 | | -file system to node\-local storage. |
| 13 | +Parallel MPI application to recursively broadcast a single file from a |
| 14 | +global file system to node\-local storage, like ramdisk or an SSD. |
15 | 15 | .PP |
16 | | -dbcast helps one copy a source file to node\-local storage on each |
17 | | -compute node. |
18 | | -.PP |
19 | | -The file is logically sliced at chunk boundaries as specified by |
20 | | -CHUNK_SIZE and collectively copied from a global file system to |
| 16 | +The file is logically sliced into chunks and collectively copied from a |
| 17 | +global file system to node\-local storage. |
| 18 | +The source file SRC must be readable by all MPI processes. |
| 19 | +The destination file DEST should be the full path of the file in |
21 | 20 | node\-local storage. |
22 | | -The CHUNK_SIZE parameter should be specified in bytes, and one may use |
23 | | -units like "MB" or "GB". |
24 | | -It is recommended to use the stripe size of a file if this is known. |
25 | | -The path to the source file should be given in SRC_FILE. |
26 | | -The source file should be in a path readable by all MPI processes. |
27 | | -The destination path is given in DEST_FILE. |
28 | | -The destination file should be a path to a node\-local storage location, |
29 | | -like ramdisk or an SSD. |
30 | | -.PP |
31 | | -In its current implementation, the tool requires at least two MPI |
32 | | -processes per compute node, and all compute nodes should have the same |
| 21 | +If needed, parent directories for the destination file will be created |
| 22 | +as part of the broadcast. |
| 23 | +.PP |
| 24 | +In the current implementation, dbcast requires at least two MPI |
| 25 | +processes per compute node, and all compute nodes must run an equal |
33 | 26 | number of MPI processes. |
34 | 27 | .SH OPTIONS |
| 28 | +.TP |
| 29 | +.B \-s, \-\-size SIZE |
| 30 | +The chunk size in bytes used to segment files during the broadcast. |
| 31 | +Units like "MB" and "GB" should be immediately follow the number without |
| 32 | +spaces (ex. |
| 33 | +2MB). |
| 34 | +The default size is 1MB. |
| 35 | +It is recommended to use the stripe size of a file if this is known. |
| 36 | +.RS |
| 37 | +.RE |
| 38 | +.TP |
| 39 | +.B \-h, \-\-help |
| 40 | +Print the command usage, and the list of options available. |
| 41 | +.RS |
| 42 | +.RE |
35 | 43 | .SH EXAMPLES |
36 | 44 | .IP "1." 3 |
37 | | -To broadcast a file to /ssd on each node slicing at 1MB chunks: |
| 45 | +To broadcast a file to /ssd on each node: |
38 | 46 | .PP |
39 | | -mpirun \-np 128 dbcast 1MB /global/path/to/filenane /ssd/filename |
| 47 | +mpirun \-np 128 dbcast /global/path/to/filenane /ssd/filename |
40 | 48 | .IP "2." 3 |
| 49 | +Same thing, but slicing at 10MB chunks: |
| 50 | +.PP |
| 51 | +mpirun \-np 128 dbcast \-s 10MB /global/path/to/filenane /ssd/filename |
| 52 | +.IP "3." 3 |
41 | 53 | To read the current striping parameters of a file on Lustre: |
42 | 54 | .PP |
43 | | -lfs getstripe /path/to/file |
| 55 | +lfs getstripe /global/path/to/filename |
44 | 56 | .SH SEE ALSO |
45 | 57 | .PP |
46 | 58 | \f[C]dbcast\f[] (1). |
|
0 commit comments