Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost MPI, error to get message
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2010-07-06 02:24:40


Hi,
Thanks for all your reply.
I attached the code in the email.
I downloaded : Rhapsodia.Schedulerfrom http://rhascheduler.sourceforge.net/because I need to do application program level task scheduling.
In file "TaskPackSystem.hpp", I designed a task class "TaskPackage" to carry my defined task.
Other classes in the file are not used.
My main program is mpi_message_transfer.cpp, which can transfer tasks from master to workers and then collects results from them.

Right now, I am testing 3 tasks (TOTALTASKNUM =3) and 2 workers (nodes).
I use 3 nodes totally, another node is the master.
node 0 : is master.
node 1 : worker 1 assigned with task 1 and 3.
node 2 : worker 2 assigned with task 2.
Each task has a distinct tag, which is assigned by master before it is sent out to a worker.
After receiving a task and doing its local work on the task, the worker uses the same tag ID to send it to master.
The master use non-blocking world.recv(resultSourceRank, tagID, resultTaskPackage) to get the result task.
You may need to download the Rhapsodia.Scheduler to get their header files.
I attached the 4 files in the email.
mpi_message_transfer.cppTaskPackSystem.hppBasicScheduler.hppSimpleScheduler.hpp

Any help is appreciated.
thanks
Jack
July 5 2010
> From: rigarash_at_[hidden]
> Date: Tue, 6 Jul 2010 09:03:03 +0900
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Boost MPI, error to get message
>
> Hi, Jack,
>
> 2010/7/6 Jack Bryan <dtustudy68_at_[hidden]>:
> > May I know why I cannot try boost MPI directly ?
>
> Boost.MPI is just a wrapper for various MPI implementations.
> If you cannot make your program using native MPI, you cannot make
> your program work with Boost.MPI.
>
> --
> Ryo IGARASHI, Ph.D.
> rigarash_at_[hidden]
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
                                               
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3








Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net