MPI-FTW 1.3

MPI-FTW is an application used to traverse a directory tree using MPI.
MPI-FTW is an application used to traverse a directory tree using MPI. Each time a new directory is located, a process is allocated to walk that particular branch. Upon completion, this program will provide directory count, file count and time to complete statistics.

This program also accepts an argument that states that commands are to be run on each directory found.

RUNNING

Usage: mpirun [mpi arguments] mpi-ftw --path=path [--cmdfile=filename] [--verbose]

Where path is a required argument that specifies the top level path to begin walk.

--verbose is an optional argument that provides more information on traversal progress.
--cmdfile specifies a file containing the commands to run on directories. The format of this file is specified below.

The basic format is as follows:

# comment
all "command" or process_range "command1" and/or processes "command2"

A line starting with # is a comment
commands can be specified on a process by process basis.

NOTE: Processes 0 and 1 are reserved for management and collection purposes. Use

processes >= 2

"all" specifies all processes (with the exception of process 0 and 1)
process_range is a range of processes to run command
processes is a comma delimited list of processes
processes ranges and comma delimited lists can be included on the same line

#example 1:
2-5,10-12,15 "echo directory = %D"
18,20,22,23-26 "ls -al"

#example 2:
all "ls %D"

Special conversion variables can be used in the command. The conversion
variables are:
%r rank of process
%R relative path designation
%P
%D full current directory path
%A last directory in path (final /dirname in current directory)

last updated on:
April 17th, 2008, 8:38 GMT
price:
FREE!
homepage:
institutes.lanl.gov
license type:
GPL (GNU General Public License) 
developed by:
James Nunez
category:
ROOT \ Programming \ Quality Assurance and Testing
MPI-FTW
Download Button

In a hurry? Add it to your Download Basket!

user rating 15

3.1/5
 

0/5

Rate it!

Add your review!

SUBMIT