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
- Host: GitHub
- URL: https://github.com/robertdfrench/spackenv
- Owner: robertdfrench
- License: mit
- Created: 2017-05-23T12:34:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T12:37:28.000Z (about 9 years ago)
- Last Synced: 2024-01-30T09:10:36.987Z (over 2 years ago)
- Topics: c, cpp, fortran, package-management, package-manager, spack
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```