Skip to content

Commit

Permalink
Fixing kvikio_dev_cuda11.5.yml and clean up (#122)
Browse files Browse the repository at this point in the history
* cmake-format>=3.20.1,!=3.23.0 doesn't exist

should just be cmake-format

* updated docs
  • Loading branch information
madsbk authored Aug 23, 2022
1 parent 681b3c8 commit ba7960c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ For testing:

## Install

### Conda
### Conda

Install the stable release from the `rapidsai` channel like:
```
Expand All @@ -43,11 +43,16 @@ conda create -n kvikio_env -c rapidsai -c conda-forge kvikio

Install the `kvikio` conda package from the `rapidsai-nightly` channel like:
```
conda create -n kvikio_env -c rapidsai-nightly -c conda-forge python=3.8 cudatoolkit=11.5 kvikio
conda create -n kvikio_env -c rapidsai-nightly -c conda-forge python=3.9 cudatoolkit=11.5 kvikio
```

If the nightly install doesn't work, set `channel_priority: flexible` in your `.condarc`.

In order to setup a development environment run:
```
conda env create --name kvikio-dev --file conda/environments/kvikio_dev_cuda11.5.yml
```

### C++ (build from source)
To build the C++ example, go to the `cpp` subdiretory and run:
```
Expand Down
6 changes: 2 additions & 4 deletions conda/environments/kvikio_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ dependencies:
- clang-tools=11.1.0
- cupy>=9.5.0,<11.0.0a0
- cmake>=3.20.1,!=3.23.0
- cmake-format>=3.20.1,!=3.23.0
- cmake-format
- cmake_setuptools>=0.1.3
- scikit-build>=0.13.1
- python>=3.8,<3.10
- pynvml
- numpy
- ninja
- wheel
Expand Down Expand Up @@ -44,6 +45,3 @@ dependencies:
- pydata-sphinx-theme
- gcc_linux-64=9.* # [linux64]
- sysroot_linux-64==2.17 # [linux64]
# Un-comment following lines for ARM specific packages.
# - gcc_linux-aarch64=9.* # [aarch64]
# - sysroot_linux-aarch64==2.17 # [aarch64]
2 changes: 0 additions & 2 deletions conda/recipes/kvikio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ test:
imports:
- kvikio
- kvikio.cufile
- kvikio.defaults
- kvikio.zarr

about:
home: http://rapids.ai/
Expand Down
7 changes: 0 additions & 7 deletions conda/recipes/libkvikio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ requirements:

test:
commands:
- test -f $PREFIX/include/kvikio/utils.hpp
- test -f $PREFIX/include/kvikio/parallel_operation.hpp
- test -f $PREFIX/include/kvikio/file_handle.hpp
- test -f $PREFIX/include/kvikio/error.hpp
- test -f $PREFIX/include/kvikio/driver.hpp
- test -f $PREFIX/include/kvikio/buffer.hpp
- test -f $PREFIX/include/kvikio/thread_pool.hpp
- test -f $PREFIX/include/kvikio/defaults.hpp

about:
home: http://rapids.ai/
Expand Down

0 comments on commit ba7960c

Please sign in to comment.