0

Hello folks,

I am having difficulties in an exercise about parallel programming using mpi and socket in C language.Below is the exercise.I would appreciate any help or suggestions

Thanks

Exercise 5.3:

In one of the local network nodes there is a file named FILE = "..."
Develop a program using MPI and Sockets such that:
-user executes the program in the root node X giving the file name FILE
-the programm is splitted with MPI in parallel processes that are distributed throughout in all active nodes of the network
-root process distributes with MPI the name of the file to all parallel processes
-Every process in the respective node requires the existence of a file on disk named FILE (our file) and if it finds it 
communicates with the root process throughout socket by sending the contents of the file.
-program should be constructed without the use of procedures.
-distributed of the processes in the network is performed by middleware 
- execution of processes can also be experimented on a single PC, in this case in the disk should be created some directories and every parallel process can search only in his directory.

2
Contributors
1
Reply
21
Views
1 Year
Discussion Span
Last Post by rubberman
0

Provide your code, errors, and problems, then we may help you. That said, we DO NOT do your homework for you!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.