Hackathon Scripts

Fetch Scripts

In order to install Slurm Accounting, ReFrame, Spack and some base packages we download a tarball with scripts and resources and extract it right away.

aws s3 cp s3://ee-assets-prod-us-east-1/modules/7c229a389fc349d8b709b65e26ce0e1b/v1/scripts/setup/pcluster/post-install/ahug-hackathon/scripts.tar - |tar xf - 

It holds the following scripts, feel free to explore them

├── scripts
│   ├── 01.install.packages.all.sh
|   ├── 02.install.docker.master.sh
│   ├── 03.install.slurmdb.master.sh
│   ├── 06.install.spack.master.sh
│   ├── 07.install.reframe.master.sh
│   └── resources
│       ├── config.yaml
│       ├── packages.yaml
│       ├── slurmctld.service
│       ├── slurmdbd.service
│       └── spack.yaml
  • 01.install.packages.all.sh Installs yq, htop and system packages
  • 02.install.docker.master.sh Installs docker on the head-node and adds the ec2-user to the docker group.
  • 03.install.slurmdb.master.sh Installs Slurm Accounting (slurmdbd, needed for ReFrame and generally a good tool)
  • 06.install.spack.master.sh Installs Spack
  • 07.install.reframe.master.sh Installs ReFrame

Upload Scripts

aws s3 sync scripts s3://${BUCKET_NAME}/scripts