sum of matrices

Craig Tierney ctierney at hpti.com
Fri Oct 31 17:37:36 EST 2003


On Fri, 2003-10-31 at 14:38, Mathias Brito wrote:
> Hi,
> 
> Last days I write a code(in c) that make the sum of 2
> matrices. Let me say a little about how it works. I
> send 1 row of the 1st matrice and 1 row of 2nd matrice
> for each process, when a process finish its job, if
> have more lines i send more to it and it make the sum
> of these new 2 lines. The problem is, the program
> works fine with 100x100(or less) matrice, but when I
> increase this range, something like 10000x10000 i
> receive the fallowing message:
> 
> p0_8467:  p4_error: Child process exited while making
> connection to remote process on node2: 0
> 
> This is a MPI problem or it`s my code? What can I do
> to fix this problem.

It is probably your code.  Are you allocating the
matrix statically or dynamically?  Try increasing
the stack size on your node(s). 

Craig


> 
> 
> =====
> Mathias Brito
> Universidade Estadual de Santa Cruz - UESC
> Departamento de Ciências Exatas e Tecnológicas
> Estudante do Curso de Ciência da Computação
> 
> Yahoo! Mail - o melhor webmail do Brasil
> http://mail.yahoo.com.br
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list