Genetic diseases analyzation using K-means clustering (Lloyd’s algorithm) to classify the samples and OpenMP to parallelize the code.
The project is divided into two pieces:
- Serial:
gengroups_s.cfungg_s.c. - Parallel:
gengroups_p.cfungg_p.c.
The results of the execution can be found at results_s.out and results_p.out.
Navigate to the Source folder and run the following command:
# Making
$ make
This should have created 2 files genetics_s and genetics_p.
# Running the program
# ./[program version] dbgen.dat dbdise.dat [number of elements to be processed]
$ ./genetics_p dbgen.dat dbdise.dat 1000