Description: For example:
Compile: mpicc app_match.c o app_match
Run: You can use the command mpirun- np size app_match mnk to run the string matching procedure, which size is the number of processors used, the text string length in meters, the length of pattern of nitrogen and potassium to allow for error length. The examples used in the size of three processors, m = 7, n = 2 时, k = 1 时.
mpirun- np of 3 app_match 7 2 1
Run Results:
Node 0 in the text is
Node 0 in the model is
Total 2 match at the node 0
Node 1 on the text
Node 1 is in the mode
A total of 2 matching node 1
Node 2, the text is a natural antioxidant
Node 2 in the model
A total of 2 matching node 2
Description: The running instance, so that the text string of length 7, randomly generated text string to asasbsb, located in three nodes mode string length is 2, the model randomly generated string to the. Finally, the nodes 0,1 and 2, respectively, are two approximate matching position.
To Search:
File list (Check if you may need any files):
13-1\rank_sort.c
....\readme.txt
13-1
.4-3\app_match.c
....\readme.txt
14-3