Skip to content

Commit

Permalink
Ipp version (#1971)
Browse files Browse the repository at this point in the history
* add ipp version pinning

* Update ipp version in install instructions

* update pinning
  • Loading branch information
gfardell authored Oct 29, 2024
1 parent 23187c9 commit 69391bb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ We recommend using either [`miniconda`](https://docs.conda.io/projects/miniconda
Install a new environment using:

```sh
conda create --name cil -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi cil=24.2.0
conda create --name cil -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi cil=24.2.0 ipp=2021.12
```

To install CIL and the additional packages and plugins needed to run the [CIL demos](https://github.com/TomographicImaging/CIL-Demos) install the environment with:

```sh
conda create --name cil -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi cil=24.2.0 astra-toolbox=*=cuda* tigre ccpi-regulariser tomophantom ipykernel ipywidgets scikit-image
conda create --name cil -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi cil=24.2.0 ipp=2021.12 astra-toolbox=*=cuda* tigre ccpi-regulariser tomophantom ipykernel ipywidgets scikit-image
```

where:
Expand Down
3 changes: 3 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# Tomas Kulhanek (STFC)

#creates pairs of versions using zip_keys, lists must be the same length
ipp_version:
- '2021.12'
python:
- 3.10
- 3.10
Expand All @@ -41,3 +43,4 @@ numpy:
zip_keys:
- python
- numpy

8 changes: 4 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ requirements:
- openmp # [osx]
- vc 14 # [win]
- cil-data
- ipp-include >=2021.10
- ipp-devel >=2021.10
- ipp >=2021.10
- ipp-include {{ ipp_version }}
- ipp-devel {{ ipp_version }}
- ipp {{ ipp_version }}

run:
- python
Expand All @@ -67,7 +67,7 @@ requirements:
- olefile >=0.46
- pywavelets
- cil-data >=21.3.0
- ipp >=2021.10
- {{ pin_compatible('ipp', min_pin='x.x', max_pin='x.x') }}
- tqdm
- numba
- zenodo_get >=1.6
Expand Down
6 changes: 3 additions & 3 deletions scripts/requirements-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies:
- packaging
- cmake >=3.16
- setuptools <71
- ipp-include >=2021.10
- ipp-devel >=2021.10
- ipp >=2021.10
- ipp-include=2021.12
- ipp-devel=2021.12
- ipp=2021.12
- ipywidgets
- scipy
- matplotlib
Expand Down

0 comments on commit 69391bb

Please sign in to comment.