#Contenu de l'archive
- |- .hg/ Le dépot mercurial
- |- logs/ Le dossier avec les logs des éxécutions
- |- rapport/ Sources latex du rapport
- |- src/ Les source du projets
- |- test/ Les sources des tests unitaires (avec cunit)
- |- obj/ Les fichiers objets issues de la compilation
- |- Makefile Le makefile décris ci-dessous
- |- README.md Celui-ci même
- |- 250logged.tar.gz Les logs issues d'une éxécution avec 250 processus
make
make runtest
make test
make mpi_can
**Attention ! **
nous n'avons pas géré touts les cas possible. La commande insert all
ne doit pas être utilisée en même temps que des insertions manuelles
mpirun -np 7 ./mpi_can debug
mpirun -np 7 ./mpi_can
mpirun --mca mpi_yield_when_idle 1 -np 10 mpi_can
execution avec prompt et en fixant une seed spécifique au générateur pseudo-aléatoire pour pouvoir reproduire les résultats (et les bugs ^^):
mpirun -np 7 ./mpi_can seed 42 debug
execution sans prompt et en fixant une seed spécifique au générateur pseudo-aléatoire pour pouvoir reproduire les résultats (et les bugs ^^)::
mpirun -np 7 ./mpi_can seed 42
-- 9 nodes availables --
> status : show log about the state of the DHT
> insert 2 : insert the node 2 in the overlay
> insert all : insert all nodes in the overlay and run etape 3
> log : add a textual/SVG log on logs/ directory
> put <x> <y> <data> : put <data> in position (x, y)
> get <x> <y> : get a data from position (x, y)
> shuffle <nb> : randomly insert <nb> random data
> rm <x> <y> : remove a data in position (x, y)
> etape3 <x> : insert <x> element and try to retrieve the 5 last and first