An open API service indexing awesome lists of open source software.

https://github.com/robertdfrench/spackenv

Spack Environment Manager
https://github.com/robertdfrench/spackenv

c cpp fortran package-management package-manager spack

Last synced: 4 months ago
JSON representation

Spack Environment Manager

Awesome Lists containing this project

README

          

# spackenv
Spack Environment Manager

## Installing
```bash
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
```