Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 1.11 KB

File metadata and controls

79 lines (51 loc) · 1.11 KB

LAMMPS Experiment (Fig.9a)

This experiment is a single execution of the LAMMPS simulation stress tested as part of the array experiment.

Start AKS cluster

Create a new cluster:

inv cluster.provision --vm Standard_D8_v5 --nodes 3 cluster.credentials

Granny

Deploy the cluster:

faasmctl deploy.k8s --workers=2

Upload the WASM file:

inv lammps.wasm.upload

and run the experiment with:

inv lammps.run.wasm -w compute -w network

To remove the cluster, run:

faasmctl delete

Native

Deploy the cluster:

inv lammps.native.deploy

And run:

inv lammps.run.native -w compute -w network

finally, delete the native cluster:

inv lammps.native.delete

Plot

To plot the results, you may run:

inv lammps.plot

which will generate a plot in /plots/lammps/lammps_slowdown.png, we also include it below:

LAMMPS Runtime Plot

Clean-Up

Remember to delete the cluster. From the experiment base terminal:

inv cluster.delete