These instructions have been tested on Linux Ubuntu 20.04 LTS, but they should work on any Linux machine.
The Spritz code is based on the Einstein Toolkit and this version has been tested with version ET_2020_11 of the Einstein Toolkit (einsteintoolkit.org).

1) Install the following packages:
1a) sudo apt-get install subversion git mercurial wget python python-matplotlib curl
1b) sudo apt-get install build-essential perl gfortran g++ libmpich-dev
1c) sudo apt-get install libfftw3-dev libgsl-dev libatlas-base-dev libjpeg-dev libssl-dev
1d) sudo apt-get install libhdf5-dev hdf5-tools libnuma-dev libltdl-dev libhwloc-dev zlib1g-dev

2) chmod a+x GetComponents

3) ./GetComponents einsteintoolkit.th

4) tar xzvf SpritzCode.tgz

5) cd Cactus

6) ./simfactory/bin/sim setup-silent

7) ./simfactory/bin/sim build --thornlist=thornlists/einsteintoolkit.th

This will produce an executable in the subdirectory exe called cactus_sim.
To check that the compilation went correctly you can also run the testsuite command (inside the Cactus directory):

8) make sim-testsuite

at the prompt all defaults are OK, but select 1 processor instead of 2 since Spritz testsuites are available only for 1 processor.
