Click here to Skip to main content
12,898,392 members (57,692 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++
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 26-Dec-11 3:25am
Shakti Misra 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.
SAKryukov 26-Dec-11 12:18pm
Is it Message Passing Interface?
imade575 27-Dec-11 10:08am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

imade575 27-Dec-11 15:07pm
thanks Shakti Misra, i'll try it.
Shakti Misra 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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 27 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100