Question: Write a parallel MPI application that finds 2-grams (bigram) in the news dataset (35 MB compressed) in the shortest time. (You can find the compressed

Write a parallel MPI application that finds 2-grams (bigram) in the news dataset (35 MB compressed) in the shortest time. (You can find the compressed file here https://www.dropbox.com/s/0n9el9eip1za5cq/news.rar?dl=0)It is your responsibility to understand the basics of n-gram analysis. As an output, you should provide thengram and its frequency in a local file in descending order with respect to the frequency. You can use anythread or MPI function. Implementation details are up to you.Your applications should display the total time spent to load the file, total time to compute the 2-gramsand save the output to the out_file.txt file. You should report your hardware details (CPU and/or GPUif used, RAM, Disk Details (HDD, SSD, etc.), number of threads, file loading time, compute time and totaltime to complete the job. You can develop your application on a single machine having multiple cores.You must provide a report for this project. In addition, you must provide a Makefile that can compile andlink your source code.

You can use C/C++, PHP, or Java.

Thanks

Step by Step Solution

3.49 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is complete Heres a stepbystep conceptual overview and implementation for the task Step 1 Understanding MPI and 2grams MPI Message Passin... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!