Browse Source

Fix bugs when installing slycot.

v0.2.x
jajupmochi 4 years ago
parent
commit
993e8f591d
4 changed files with 8 additions and 3 deletions
  1. +5
    -0
      Problems.md
  2. +1
    -1
      README.md
  3. +1
    -1
      requirements.txt
  4. +1
    -1
      requirements_pypi.txt

+ 5
- 0
Problems.md View File

@@ -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 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.


+ 1
- 1
README.md View File

@@ -18,7 +18,7 @@ A Python package for graph kernels, graph edit distances and graph pre-image pro
* tabulate>=0.8.2 * tabulate>=0.8.2
* tqdm>=4.26.0 * tqdm>=4.26.0
* control>=0.8.2 (for generalized random walk kernels only) * 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? ## How to use?




+ 1
- 1
requirements.txt View File

@@ -6,7 +6,7 @@ scikit-learn>=0.20.0
tabulate>=0.8.2 tabulate>=0.8.2
tqdm>=4.26.0 tqdm>=4.26.0
control>=0.8.2 # for generalized random walk kernels only. 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". 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. # -e https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz # for preimage.
cvxopt>=1.2.5 # for preimage. cvxopt>=1.2.5 # for preimage.


+ 1
- 1
requirements_pypi.txt View File

@@ -6,7 +6,7 @@ scikit-learn>=0.20.0
tabulate>=0.8.2 tabulate>=0.8.2
tqdm>=4.26.0 tqdm>=4.26.0
control>=0.8.2 # for generalized random walk kernels only. 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". # 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. # -e https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz # for preimage.
cvxopt>=1.2.5 # for preimage. cvxopt>=1.2.5 # for preimage.


Loading…
Cancel
Save