Skip to content

Compiling and running

az-hasan edited this page Jan 12, 2016 · 7 revisions

Compiling

To compile DREAM, use the make command in the ./DREAM directory of the master machine (this will be the first machine listed in your machinefile.

Then, copy the dream executable to all the other machines you will be using. You can do this by issuing an scp command from within the directory that contains the executable. An example of how to do so is given below:

    scp dream host3:/path-to-DREAM-directory/DREAM/dream

Running

This step assumes all dependencies have been successfully installed. After downloading DREAM, the program needs to be compiled and copied using the previous step. After those steps have been completed, use the following to help you run DREAM.

You run DREAM by issuing the following command, where input file and machinefile are provided by you:

    mpiexec -f machinefile ./dream input.txt

Output

Your output will be in the form of a text file named Result-QX, where X is the query number. The query results will look something like this:

<empty result>

or this:

<http://www.Department0.University0.edu/FullProfessor4> "FullProfessor4" "FullProfessor4@Department0.University0.edu" "xxx-xxx-xxxx"
<http://www.Department0.University0.edu/FullProfessor2> "FullProfessor2" "FullProfessor2@Department0.University0.edu" "xxx-xxx-xxxx"
<http://www.Department0.University0.edu/FullProfessor8> "FullProfessor8" "FullProfessor8@Department0.University0.edu" "xxx-xxx-xxxx"
.
.
.
Clone this wiki locally