Collective Knowledge repository for Spack packages
This repository provides functionality to connect spack packages and CK workflows. It's an on-going project so please be patient.
- CK: BSD, 3-clause
- Spack: LGPL v2.1
Minimal CK installation
The minimal installation requires:
- Python 2.7 or 3.3+ (limitation is mainly due to unitests)
- Git command line client.
You can install CK in your local user space as follows:
$ git clone http://github.com/ctuning/ck $ export PATH=$PWD/ck/bin:$PATH $ export PYTHONPATH=$PWD/ck:$PYTHONPATH
You can also install CK via PIP with sudo to avoid setting up environment variables yourself:
$ sudo pip install ck
Install this repository and dependencies:
$ ck pull repo:ck-spack
List available packages imported from spack:
$ ck ls package:spack-*
Install any package such as abinit:
$ ck install package:spack-abinit or $ ck install package:spack-abinit --env.PACKAGE_VERSION="8.8.2" --env.SPACK_EXTRA_CMD=""
See CK virtual environment for all installed CK packages:
$ ck show env
Run virtual CK environment:
$ ck virtual env --tags=spack,native