[mpich-discuss] Error while using MPI platform with CPP program

Junchao Zhang jczhang at mcs.anl.gov
Mon May 18 09:01:30 CDT 2015


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 ./test
Matrix A :

1 2 3 4
1 2 3 4
1 2 3 4
1 2 3 4

Vector b before broadcast:
 1.000000,  2.000000,  3.000000,  4.000000
Matrix A column : 4
after sending:  lLim = 2 uLim = 4  for rank : 1
count = 8

Matrix A column : 0for rank = 1
after receive:  lLim = 2 uLim = 4  for rank : 1
Ncol after broadcasting = 4


--Junchao Zhang

On Mon, May 18, 2015 at 6:33 AM, Umesh Shisode <ushisode1 at gmail.com> wrote:

> Hello Sir / Madam,
>
> This 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 :
>
>     Development of Conjugate Gradient solver in OpenFOAM / CPP using MPI
>
> 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         : LINUX
> Programming Language : CPP
>
> Commands I am using are :
>
>        > mpic++ main.cpp -o result
>        > mpirun -np 2 result
>
> Please 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.
>
> Regards,
>
> Umesh Sharad Shisode,
> M.Tech in Modeling and Simulation(2013-15),
> Centre for Modeling and Simulation,
> University of Pune.
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150518/9fab39f1/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list