Open 0xdevalias opened 4 years ago
There appears to be some relatively recent discussion in #65
Just wanted to update this thread in 2023.
It seems the above PR got merged:
But at least according to this issue, hasn't been released to rubygems yet:
Originally posted by @0xdevalias in https://github.com/SciRuby/rb-gsl/issues/65#issuecomment-1409480673
The 'no ruby 3' note in the commit referenced above (https://github.com/gentoo/gentoo/commit/6671ec046db63c418936a7ddb04d4f264c125d88) linked to the following issues as reference:
These may also be of interest:
If you're coming to rb-gsl
for faster --lsi
support in Jekyll, you might want to check the following for a better supported modern alternative:
Support Numo Gem for performing SVD
It is recommended to install either Numo or GSL to speed up LSI classification by at least 10x.
Numo is a set of Numerical Module gems for Ruby that provide a Ruby interface to LAPACK. If classifier detects that the required Numo gems are installed, it will make use of them to perform LSI faster.
- Install LAPACKE
- Ubuntu:
apt-get install liblapacke-dev
- macOS:
brew install lapack
- Install OpenBLAS
- Ubuntu:
apt-get install libopenblas-dev
- macOS:
brew install openblas
- Install the Numo::NArray and Numo::Linalg gems. If you're using Bundler, add
numo-narray
andnumo-linalg
to your Gemfile. (If using Bundler on macOS, you should set the build config likebundle config set --global build.numo-linalg --with-openblas-dir=$(brew --prefix openblas) --with-lapack-lib="$(brew --prefix lapack)/lib"
.)
- Ubuntu:
gem install numo-narray numo-linalg
- macOS:
gem install numo-narray
,gem install numo-linalg -- --with-openblas-dir=$(brew --prefix openblas) --with-lapack-lib="$(brew --prefix lapack)/lib"
Since the last update appears to be in 2017, and it only claims support for gsl 2.1 in the README (with the latest version seeming to be v2.6), i'm wondering if this project is still active/maintained?
The version of narray that is referenced is outdated and no longer maintained, having since been replaced by
Numo::NArray
I also notice that there is a
Numo::GSL
project as well, which seems more active, and based on the maintained version ofNumo::NArray