From 993e8f591d1f512ec4796aeea2a6c02cfb8abfec Mon Sep 17 00:00:00 2001 From: jajupmochi Date: Mon, 19 Oct 2020 16:22:47 +0200 Subject: [PATCH] Fix bugs when installing slycot. --- Problems.md | 5 +++++ README.md | 2 +- requirements.txt | 2 +- requirements_pypi.txt | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Problems.md b/Problems.md index cb7dd1e..852726a 100644 --- a/Problems.md +++ b/Problems.md @@ -21,3 +21,8 @@ export LD_LIBRARY_PATH=/opt/intel/lib/intel64:/opt/intel/mkl/lib/intel64:$LD_LIB export LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_def.so:/opt/intel/mkl/lib/intel64/libmkl_avx2.so:/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/lib/intel64_lin/libiomp5.so ``` + +### Module `slycot` install error. + +A fortran compiler (e.g., `gfortran`) and BLAS/LAPACK (e.g. `liblapack-dev`) needs to be pre-installed. Try to include them in the library or remove these dependences. See [slycot's file](https://github.com/python-control/Slycot/blob/master/.travis.yml) for detail. + diff --git a/README.md b/README.md index a8720cf..91215c8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A Python package for graph kernels, graph edit distances and graph pre-image pro * tabulate>=0.8.2 * tqdm>=4.26.0 * control>=0.8.2 (for generalized random walk kernels only) -* slycot>0.4.0 (for generalized random walk kernels only, which requires a fortran compiler, gfortran for example) +* slycot>=0.3.3 (for generalized random walk kernels only, which requires a fortran compiler (e.g., `gfortran`) and BLAS/LAPACK (e.g. `liblapack-dev`)) ## How to use? diff --git a/requirements.txt b/requirements.txt index 43b0f5e..4b25bb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ scikit-learn>=0.20.0 tabulate>=0.8.2 tqdm>=4.26.0 control>=0.8.2 # for generalized random walk kernels only. -slycot>=0.3.3 # for generalized random walk kernels only, which requires a fortran compiler, gfortran for example +slycot>=0.3.3 # for generalized random walk kernels only, which requires a fortran compiler (e.g., `gfortran`) and BLAS/LAPACK (e.g. `liblapack-dev`) cvxpy>=1.0.31 # for preimage. Does not work for "pip install graphkit-learn". # -e https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz # for preimage. cvxopt>=1.2.5 # for preimage. diff --git a/requirements_pypi.txt b/requirements_pypi.txt index 1a42146..3c68618 100644 --- a/requirements_pypi.txt +++ b/requirements_pypi.txt @@ -6,7 +6,7 @@ scikit-learn>=0.20.0 tabulate>=0.8.2 tqdm>=4.26.0 control>=0.8.2 # for generalized random walk kernels only. -# slycot>=0.4.0 # for generalized random walk kernels only, which requires a fortran compiler, gfortran for example +# slycot>=0.3.3 # for generalized random walk kernels only, which requires a fortran compiler (e.g., `gfortran`) and BLAS/LAPACK (e.g. `liblapack-dev`) # cvxpy>=1.0.31 # for preimage. Does not work for "pip install graphkit-learn". # -e https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz # for preimage. cvxopt>=1.2.5 # for preimage.