[MPICH] execute a large-scale matrix multiplication program

David Ashton ashton at mcs.anl.gov
Fri Dec 16 17:26:36 CST 2005


Your static arrays are too big.  You need to use malloc to allocate memory
from the heap instead of using large stack variables.

-David Ashton

 

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Yu-Cheng Chou
Sent: Friday, December 16, 2005 3:56 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] execute a large-scale matrix multiplication program

 

hi,

I have a matrix multiplication program to be run on multiple machines.

The program works fine with small size matrices, but doesn't work with large
size matrices.

There is no error message popping up when the program exits.

Besides, the working size of matrix is much smaller for windows than the one
for linux.

 

Can anyone tell me the possible reason that causes this error?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20051216/5bf0a67a/attachment.htm>


More information about the mpich-discuss mailing list