From 851eb024b2769f874aa3d9ba1e176a5bbc2cd554 Mon Sep 17 00:00:00 2001 From: David Cortes Date: Wed, 18 Dec 2024 12:28:38 +0100 Subject: [PATCH 1/3] conda instructions for other steups --- INSTALL.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 32e0d319b9a..2db2bf9ad08 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -268,3 +268,34 @@ set "CMAKE_PREFIX_PATH=%CONDA_PREFIX%\Library\lib\cmake;%CMAKE_PREFIX_PATH%" ``` After that, it should be possible to build oneDAL and run the examples using the ICX compiler and the oneMKL libraries as per the instructions. + +For other setups in **Linux\***, such as building for platforms like `aarch64` that are not supported by Intel's toolkits or using non-default options offered by the Makefile, other software can be installed as follows: + +* GCC compilers (option `COMPILER=gnu`): + +```shell +conda install -y -c conda-forge \ + gcc gxx c-compiler cxx-compiler +``` + +(no environment variables are needed for `COMPILER=gnu`) + +* Reference (non-tuned) computational backends, and BLAS/LAPACK backends from OpenBLAS (both through option `BACKEND_CONFIG=ref`): + +```shell +conda install -y -c conda-forge \ + blas=*=*openblas* libopenblas +``` + +* Optionally, if one wishes to install the OpenMP variant of OpenBLAS instead of the pthreads one, or to use the ILP64 variant: +```shell +conda install -y -c conda-forge \ + blas=*=*openblas* libopenblas-ilp64=*=openmp* +``` + +Then set environment variables as needed: +```shell +export OPENBLASROOT=${CONDA_PREFIX} +``` + +(note that other variables such as `TBBROOT` and `CMAKE_PREFIX_PATH` are still required) From 6bee8a5c21507eb8ea8f43b3233e0676fb2dd137 Mon Sep 17 00:00:00 2001 From: david-cortes-intel Date: Thu, 19 Dec 2024 10:42:08 +0100 Subject: [PATCH 2/3] Update INSTALL.md Co-authored-by: Isuru Fernando --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 2db2bf9ad08..3b9b24c4f3a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -284,7 +284,7 @@ conda install -y -c conda-forge \ ```shell conda install -y -c conda-forge \ - blas=*=*openblas* libopenblas + blas=*=*openblas* openblas ``` * Optionally, if one wishes to install the OpenMP variant of OpenBLAS instead of the pthreads one, or to use the ILP64 variant: From 6fcb8c88d063df7d443b5a2c00ad414b8b0edbb6 Mon Sep 17 00:00:00 2001 From: david-cortes-intel Date: Thu, 19 Dec 2024 10:42:14 +0100 Subject: [PATCH 3/3] Update INSTALL.md Co-authored-by: Isuru Fernando --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 3b9b24c4f3a..9ed8cc6f91f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -290,7 +290,7 @@ conda install -y -c conda-forge \ * Optionally, if one wishes to install the OpenMP variant of OpenBLAS instead of the pthreads one, or to use the ILP64 variant: ```shell conda install -y -c conda-forge \ - blas=*=*openblas* libopenblas-ilp64=*=openmp* + blas=*=*openblas* openblas-ilp64=*=openmp* ``` Then set environment variables as needed: