This project automates the creation of an Amazon Machine Image (AMI) that includes everything needed to run Benchpark inside a Jupyter Notebook environment. It uses Packer to provision an Amazon Linux EC2 instance, installs Docker, builds a custom Docker image with Benchpark pre-configured, and sets up a systemd service to run Jupyter automatically on boot.
- OpenMPI Installation Issue: The current build has an issue with OpenMPI not being installed properly. This affects the functionality of MPI-dependent commands within Benchpark.
- Investigate and fix the OpenMPI installation in the Docker image build process
- Verify MPI functionality works correctly after installation
- Test affected benchmarks to ensure they run properly
- Copy and Paste your unique AWS Credentials into the terminal
-
Run the following command from the directory containing your benchpark.pkr.hcl and Dockerfile
packer build benchpark.pkr.hclIf your build is successful you will have output that looks something like
==> Builds finished. The artifacts of successful builds are: --> caliper-benchpark.amazon-ebs.amazonlinux: AMIs were created: us-east-1: ami-0995bf89a8c655414