need your help - MPI library - a simple matrix multiplication program

need your help - MPI library - a simple matrix multiplication program

Hi,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

  1. Matrix A is copied to every processor. Matrix B is divided into blocks and
    distributed among processors
  2. 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:job aborted:rank: node: exit code[: error message]0: hostname_here: 1231: 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 finalizeThanks in advance./Eric

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Eric,

What MPI version do you use?

Regards!
Dmitry

I just downloaded 3 days ago from Intel web site.I saw the following C:\Program Files\Intel\MPI\4.0.0.012>
So should be Intel MPI Library 4.0

Hi Eric,

Yeah, this is 4.0 libary. Could you provide the command line, start the test case with I_MPI_DEBUG=9 and provide the ouptut.

Regards!
Dmitry

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?My env:-Vista SP1-MS Visual C++ 2009 Express- source code // in my init postFor 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.

Attachments: 

AttachmentSize
Downloadapplication/x-msdos-program tp.exe30 KB
Downloadapplication/x-msdos-program tp_100_100_100.exe29 KB

Leave a Comment

Please sign in to add a comment. Not a member? Join today