Phoenix Project
String Match Example Application Readme
Last revised May 27, 2009


1. Application Overview
-----------------------

String Match application scrolls through a list of keys (provided in a file)
in order to determine if any of them occur in a list of encrypted words (which 
are hardcoded into the application).


2. Provided Files
-----------------

string_match.c: The version of the file that uses the MapReduce engine
string_match-seq.c: The sequential version of the application
string_match-pthread.c: The Pthreads version of the application
datafiles/key_file_*.txt: Key files of various sizes containing the list of words (download from the website)
Makefile: Compiles all 3 versions of the application
README: This file


3. Running the Application
--------------------------

Run 'make' to compile all 3 versions of the application. 

./string_match <keys filename> - MapReduce Version
<keys filename>: Specifies the file containing the list of keys

./string_match-seq <keys filename> - Serial Version
<keys filename>: Specifies the file containing the list of encrypted words 

./string_match-pthread <keys filename> - Pthreads version
<keys filename>: Specifies the file containing the list of encrypted words


End File
