Click here to Skip to main content
Rate this: bad
good
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 4:25am
Comments
Shakti Misra at 26-Dec-11 9:31am
   
What MPI library are u willing to use? And MPI only? any justification?
imade575 at 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 at 26-Dec-11 12:18pm
   
Is it Message Passing Interface?
--SA
imade575 at 27-Dec-11 10:08am
   
yes
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
imade575 at 27-Dec-11 15:07pm
   
thanks Shakti Misra, i'll try it.
Shakti Misra at 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
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 27 Dec 2011
Copyright © CodeProject, 1999-2014
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