04-18-2010 10:00 PM
I'm new to this MPI library. and I need your help.
I'm trying to use the library to test the below example code abouta simple matrix multiplication program. AxB=C
- Matrix A is copied to every processor. Matrix B is divided into blocks and
distributed among processors
- The data is distributed among the workers who
perform the actual multiplication in smaller blocks and send back their
results to the master.
This is the example source code:http://www.nccs.gov/wp-content/training/mpi-examples/C/matmul.c
I was able to run A (200_200) * B (200_180). But I could not increase the number of rows / columns anymore.
If I runA (200_200) * B (200_200) for 2 processors, I will get the following error message:
rank: node: exit code[: error message]
0: hostname_here: 123
1: hostname_here: -1073741571: process 1 exited without calling finalizejob aborted:rank: node: exit code[: error message]0:hostname_here: 1231:hostname_here: -1073741571: process 1 exited without calling finalize
Thanks in advance.
04-27-2010 08:19 PM
I used the command line, including "-env I_MPI_DEBUG 9".It simply crashed... No output. But If I use the program with less number of rows... I got it through.
Can you try to reproduce the issue on your side?
-MS Visual C++ 2009 Express
- source code // in my init post
For your convenience, I have attached two executable files. One has 100_100 and the other one has more rows. Please use at least n=2 for the test.