Skip to content

Commit

Permalink
kernels-mpi: move into separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Mar 13, 2024
1 parent bd59a4d commit 49cbe8f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ the results.

Microbenchmarks:
* [Polybench](./tasks/polybench/README.md) - experiment to measure the baseline overhead of using WebAssembly to execute the [PolyBench/C](https://web.cse.ohio-state.edu/~pouchet.2/software/polybench/) kernels.
* [Kernels (MPI)](./tasks/kernels/README.md) - microbenchmark of Faabric's MPI implementation using a subset of the [ParRes Kernels](https://github.com/ParRes/Kernels)
* [Kernels (MPI)](./tasks/kernels_mpi/README.md) - microbenchmark of Faabric's MPI implementation using a subset of the [ParRes Kernels](https://github.com/ParRes/Kernels)
* Kernels (OpenMP) - TODO
* LULESH - TODO
* [LAMMPS](./tasks/lammps/README.md) - experiment using Faabric to run a one-off molecule simulation using [LAMMPS](https://www.lammps.org)
Expand Down
4 changes: 2 additions & 2 deletions tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import logging

from tasks.kernels import ns as kernels_ns
from tasks.kernels_mpi import ns as kernels_mpi_ns
from tasks.lammps import ns as lammps_ns
from tasks.makespan import ns as makespan_ns
from tasks.migration import ns as migration_ns
Expand All @@ -22,7 +22,7 @@
)

ns.add_collection(lammps_ns, name="lammps")
ns.add_collection(kernels_ns, name="kernels")
ns.add_collection(kernels_mpi_ns, name="kernels-mpi")
ns.add_collection(makespan_ns, name="makespan")
ns.add_collection(migration_ns, name="migration")
ns.add_collection(motivation_ns, name="motivation")
Expand Down
12 changes: 6 additions & 6 deletions tasks/kernels/README.md → tasks/kernels_mpi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Deploy the cluster:
Upload the WASM file:

```bash
(faasm-exp-faabric) inv kernels.wasm.upload
(faasm-exp-faabric) inv kernels-mpi.wasm.upload
```

and run the experiment with:

```bash
(faasm-exp-faabric) inv kernels.run.granny
(faasm-exp-faabric) inv kernels-mpi.run.granny
```

finally, delete the Granny cluster:
Expand All @@ -44,25 +44,25 @@ faasmctl delete
Deploy the OpenMPI cluster:

```bash
inv kernels.native.deploy
inv kernels-mpi.native.deploy
```

```bash
inv kernels.run.native
inv kernels-mpi.run.native
```

finally, delete the OpenMPI cluster

```bash
inv kernels.native.delete
inv kernels-mpi.native.delete
```

## Plot

To plot the results, just run:

```bash
inv kernels.plot
inv kernels-mpi.plot
```

the plot will be available in [`./plots/kernels-mpi/mpi_kernels_slowdown.pdf`](
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 49cbe8f

Please sign in to comment.