Skip to content

robertdfrench/spackenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spackenv

Spack Environment Manager

Installing

curl -o /usr/local/bin/spackenv https://raw.githubusercontent.com/robertdfrench/spackenv/master/spackenv; chmod +x /usr/local/bin/spackenv

Usage

spackenv .venv requirements.txt [known.txt]
Where
  • .venv is a folder that will contain your dependencies
  • requirements.txt has a Spack spec on each line
  • known.txt is a list of packages which are known to be installed on the host

Specifying Dependencies

Here is an example requirements.txt that installs zlib and netcdf with OpenMPI support:

zlib
netcdf+mpi