Skip to content

aurelienspnll/matrix-mult-ring-rotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix multiplication with ring rotation

Build Status

Teacher in charge : Fabrice Huet - [email protected]

Requirements

You need :

Building

To build this project you need to run the following command:

mpicc mult-matrix-ring-rotation.c -o main -Wall -lm -fopenmp

Executing

To execute this project:

mpirun -np N ./main example/A example/B

Where N is the number of machines.

Executing on MacOS

If you run the program on mac and you get this error :

--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the N slots
that were requested by the application:
  ./main

Either request fewer slots for your application, or make more slots available
for use.
--------------------------------------------------------------------------

Add --oversubscribe to the command line :

mpirun --oversubscribe -np N ./main example/A example/B