Spack Environment Manager
curl -o /usr/local/bin/spackenv https://raw.githubusercontent.com/robertdfrench/spackenv/master/spackenv; chmod +x /usr/local/bin/spackenv
spackenv .venv requirements.txt [known.txt]
.venv
is a folder that will contain your dependenciesrequirements.txt
has a Spack spec on each lineknown.txt
is a list of packages which are known to be installed on the host
Here is an example requirements.txt that installs zlib and netcdf with OpenMPI support:
zlib
netcdf+mpi