Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

MPI c++

Name: Anonymous 2011-10-26 6:53

Hey /prog/ i might need some help because i have no idea how to do this.

Using MPI, prepare a computer program that calculates the following parallel algorithm to search for strings in the text, i.e. "Fulltext search".

The algorithm receives as input a text file 'science.txt' N bytes in length, consisting of characters ci, i = 1..N. The result of the algorithm is a list of iterations given as a set S from the text, i.e. pairs {sj}, j = 1..K, where each sj is the starting location of some occurrence. Build the list using ten parallel search functions, f1...f10, which are run on their tenths of the text. Note the breaks between words when splitting the text.

The program should provide for data entry and at the end, print the result and displays the duration of the algorithm.



tldr: You need to make a application that will run on 3 computers and search words in this txt file using MPI.

Here is the text file http://horobox.co.uk/u/vajura_1319653478.txt

Anybody can give me some sample code for a simple MPI program that works multiple computers?

Name: Anonymous 2011-10-26 7:03

Do your own homework.

Don't change these.
Name: Email:
Entire Thread Thread List