Skip to content

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALGOREP Project

The goal of this project is to implement a distributed memory with the MPI lib.

Prerequisites

For this project, you need to have:

  • Python3
  • mpi4py (Python lib for MPI)

API

To use the API, you need to import the lib:

from master import init

Initialization

app = init(max_size=100)

Allocation

v = app.allocate(1)
v2 = app.allocate([1, 2, 3, 4])

Reading

app.read(v)

Modifying

app.modify(v, new_value)
app.modify(v2, new_value, index)

Free

app.free(v)

End the program

To end the program, you must use this line:

app.terminate_slaves()

Running the tests

To run the tests, you need to type:

make test

Or to run the example:

make example

Authors

  • Guillaume DRAPALA-BIZOUARN - drapal_g
  • Ugo DUCHEMANN - ugo.duchemann
  • Carine ZHANG - zhang_d

About

Distributed memory using a star topology.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages