g++ -std=c++11 -o bhatta bhatta.cpp
# parallel
g++ -std=c++11 -fopenmp -o bhatta bhatta.cpp [params]
./bhatta <instance_name>
# example
./bhatta dataset/TestMay03.txt
use like -D<PARAM>
(eg. -DPARALLEL
)
DEBUG
: outputs debug information
N_THREADS
: define number of parallel threads (use with PARALLEL
)
PARALLEL
: runs program in parallel using OpenMP (do not forget to also use -fopenmp
, so as to define N_THREADS
)
RESULTSFILE
: writes cores used (if parallel) and elapsed time to file (<filename>.res
)