Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 653 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 653 Bytes

Shared-memory data processor

Simple Java thread-based parallel data processor which read data from a CSV file and computes the sum and product of the read values.

Compilation

To compile the code you require to install Maven. Once you have Maven installed run the following command in the root directory where you clone the repository:

mvn clean package

Execution

To run the code use the 'run.sh' script indicating the location of the input CSV file, the location of the output file, and the number of threads to perform the computation.

./run.sh <input_file> <output_file> <num_threads>