@@ -42,14 +42,20 @@ Install Package from Intel(R) channel
42
42
43
43
You will need one of the commands below:
44
44
45
- * Conda: ``conda install dpnp -c https://software.repos.intel.com/python/conda/ -c conda-forge ``
45
+ * Conda: ``conda install dpnp -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels ``
46
46
47
47
* Pip: ``python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp ``
48
48
49
49
These commands install dpnp package along with its dependencies, including
50
50
``dpctl `` package with `Data Parallel Control Library `_ and all required
51
51
compiler runtimes and OneMKL.
52
52
53
+ .. warning ::
54
+ Packages from the Intel channel are meant to be used together with dependencies from the **conda-forge ** channel, and might not
55
+ work correctly when used in an environment where packages from the ``anaconda `` default channel have been installed. It is
56
+ advisable to use the `miniforge <https://github.com/conda-forge/miniforge >`__ installer for ``conda ``/``mamba ``, as it comes with
57
+ ``conda-forge `` as the only default channel.
58
+
53
59
.. note ::
54
60
Before installing with conda or pip it is strongly advised to update ``conda `` and ``pip `` to latest versions
55
61
@@ -68,7 +74,7 @@ And to build dpnp package from the sources:
68
74
69
75
.. code-block :: bash
70
76
71
- conda build conda-recipe -c https://software.repos.intel.com/python/conda/ -c conda-forge
77
+ conda build conda-recipe -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels
72
78
73
79
Finally, to install the result package:
74
80
@@ -90,7 +96,7 @@ On Linux:
90
96
91
97
conda create -n build-env dpctl cython dpcpp_linux-64 mkl-devel-dpcpp tbb-devel \
92
98
onedpl-devel cmake scikit-build ninja pytest intel-gpu-ocl-icd-system \
93
- -c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge
99
+ -c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels
94
100
conda activate build-env
95
101
96
102
On Windows:
@@ -99,7 +105,7 @@ On Windows:
99
105
100
106
conda create -n build-env dpctl cython dpcpp_win-64 mkl-devel-dpcpp tbb-devel \
101
107
onedpl-devel cmake scikit-build ninja pytest intel-gpu-ocl-icd-system \
102
- -c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge
108
+ -c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels
103
109
conda activate build-env
104
110
105
111
To build and install the package on Linux OS, run:
0 commit comments