Click here to Skip to main content
15,887,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i'm a beginner at client/server application development and i have to use only the library "mpi" to develop my client/server application. so, can any body help me figure out how to implement my application using mpi in visual c++.
and thanks.
Posted
Comments
BrainlessLabs.com 26-Dec-11 9:31am    
What MPI library are u willing to use? And MPI only? any justification?
imade575 26-Dec-11 10:50am    
i'm gonna use msmpi and i meant by "only mpi" that we mustn't use sockets, and to make my question more: my application is about a scalable distributed data structure; initially, we have a server contain a file which has a variable size (increased by insertions and decreased by deletion) and when the size of the file exceed certain limit the file will be splitted, the half remain in the first server and the second half will be moved to a new server and so on...
and the client need to be always informed by the address of the data he want to retrieve so he should have an image of the split operation of the file.
finally, i hope i make it clearer.
Sergey Alexandrovich Kryukov 26-Dec-11 12:18pm    
Is it Message Passing Interface?
--SA
imade575 27-Dec-11 10:08am    
yes

A short google search unearthed a wealth information about using the MPI API, and many code examples and tutorials. These sites are your best bet in learning this API. Many of us here have expertise in some vertical discipline in the software industry, but none of us are professionals with a deep pool of expertise in all of them.

In would take us time to learn the interface, then longer to teach it to you. In the mean time, your professor would likely have already covered the material and our work would be redundant.

This forum is intended to be used to answer short concise C++ questions. You can see the FAQ to understand what questions are likely to get you an answer and which won't.


If you have concise C++ question, feel free to ask.
 
Share this answer
 
 
Share this answer
 
Comments
imade575 27-Dec-11 15:07pm    
thanks Shakti Misra, i'll try it.
BrainlessLabs.com 28-Dec-11 6:20am    
Great. Let us know the results also. May be after you try you can contribute an article on MPI programing out here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900