Sorry Junchao,Thanks for your reply. But my problem is with MPICH only. My question is how to send part of class object (in my case matrix object) from one process to another process using MPI_Send and receive using MPI_Recv functions. I tried a lot of way but couldn't do it. I hope you will help me. Thanks in advance. I have write a function to get the pointer address for first parameter of MPI_Send() function. Waiting for your reply.University of Pune.Centre for Modeling and Simulation,Regards,M.Tech in Modeling and Simulation(2013-15),
Umesh Sharad Shisode,On Mon, May 18, 2015 at 7:31 PM, Junchao Zhang <jczhang@mcs.anl.gov> wrote:Could not reproduce it with the latest MPICH. If the problem is not specific to MPICH, you'd better move your question to other forums like stackoverflow.$mpirun -n 2 ./testMatrix A :1 2 3 41 2 3 41 2 3 41 2 3 4Vector b before broadcast:1.000000, 2.000000, 3.000000, 4.000000Matrix A column : 4after sending: lLim = 2 uLim = 4 for rank : 1count = 8Matrix A column : 0for rank = 1after receive: lLim = 2 uLim = 4 for rank : 1Ncol after broadcasting = 4--Junchao ZhangOn Mon, May 18, 2015 at 6:33 AM, Umesh Shisode <ushisode1@gmail.com> wrote:_______________________________________________Hello Sir / Madam,Development of Conjugate Gradient solver in OpenFOAM / CPP using MPIThis is Umesh Sharad Shisode, pursuing Masters in Modeling and Simulation, at Centre for Modeling and Simulation, Pune University. I am in the final stage of my course. My Masters Thesis title is :
I am now doing MPI part of my project and facing some problems with MPI functions syntax. I am trying to use CPP class object with MPI functions but it is giving some error. Which I don't understand.Operating system : LINUXProgramming Language : CPPCommands I am using are :> mpic++ main.cpp -o result> mpirun -np 2 resultPlease help me to sort out this issue . I am attaching herewith zip file containing the code which I want to parallelize with the png file containing error. Waiting for your reply. Thanks in advance.University of Pune.Centre for Modeling and Simulation,Regards,M.Tech in Modeling and Simulation(2013-15),
Umesh Sharad Shisode,
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss