Skip to content

Program to search a word in multiple text files thanks to Open MPI library

License

Notifications You must be signed in to change notification settings

protoxvga/distributed_text_searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Text Searcher

Program to search a word in multiple txt files thanks to Open MPI distribution. Program developed for an assignment during my fourth year in the Griffith College (Dublin)

Installation

This program needs Open MPI to work. Open MPI is a library for distributed system in C++.

Try to follow this steps to install open MPI on your system :

Usage

You have to unzip and compile with text files at the same place of the c++ file. Modify on the program text files name if you want to add nodes or different text files. Feel free to upgrade it to give text files through the command line.

Compilation

mpic++ name_searcher.cpp -o <executable-name>

Execution

mpiexec -n 4 <executable-name> <text-to-search>

example: mpiexec -n 4 ./a.out is

About

Program to search a word in multiple text files thanks to Open MPI library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages