<font size=2 face="sans-serif">You may also want to use and/or adapt samples/ilm/tspcp
  which uses mmapplypolicy to drive parallel cp commands.</font><br><br><font size=2 face="sans-serif">The script was written by my colleague
and manager, but I'm willing to entertain</font><br><font size=2 face="sans-serif">questions and suggestions...</font><br><br><font size=2 face="sans-serif">Here are some of the comments:</font><br><br><font size=2 face="sans-serif"># Run "cp" in parallel over
a list of files/directories</font><br><font size=2 face="sans-serif">#</font><br><font size=2 face="sans-serif"># This is a sample script showing how
to use the GPFS ILM policy</font><br><font size=2 face="sans-serif"># to copy a list of files or directories.
Its takes advantage of GPFS 3.4</font><br><font size=2 face="sans-serif"># input file list argument to mmapplypolicy
to limit the directory scan</font><br><font size=2 face="sans-serif"># to only the files and directories
in the input file list. It also uses</font><br><font size=2 face="sans-serif"># the GPFS 3.5 feature for DIRECTORY_HASH
to sort candidate list by directories</font><br><font size=2 face="sans-serif"># and execute them in a top-down order.</font><br><font size=2 face="sans-serif">#</font><br><font size=2 face="sans-serif"># This script converts the list of files
from the argument to a file list file</font><br><font size=2 face="sans-serif"># as input to mmapplypolicy. It then
generates a simple ILM policy file to</font><br><font size=2 face="sans-serif"># match all of the files in the list
and if -r is specified to match all files</font><br><font size=2 face="sans-serif"># and directories below any directories
that are specified. The files are</font><br><font size=2 face="sans-serif"># then sorted by policy into directory
order and dispatched in top down order.</font><br><font size=2 face="sans-serif"># Each work unit is assigned to a node
and executed by a call to this script,</font><br><font size=2 face="sans-serif"># which simply reads its input file
list  and calls "cp" on each. The</font><br><font size=2 face="sans-serif"># original script scans stdout from
each of the workers looking  for</font><br><font size=2 face="sans-serif"># messages from "cp" or any
possible errors.</font><br><font size=2 face="sans-serif"><br>The script was written by my colleague and manager, but I'm willing to
entertain</font><br><font size=2 face="sans-serif">questions and suggestions...</font><br><BR>