-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Narray build issue #174
Comments
Hi |
Hi, Yes That package. Thanks |
Thank you. @ajkotobi Workaround:.
The installation of the Ruby package for spack is described here. However, you can't install numo-narray in the following way. wget https://github.com/ruby-numo/numo-narray/archive/v0.9.1.8.tar.gz
tar -xvf v0.9.1.8.tar.gz
cd numo-narray-0.9.1.8/
gem build numo-narray.gemspec
gem install numo-narray-0.9.1.8.gem To generate
or use
ping @masa16 |
Link: spack/spack#19814 |
Thanks @kojix2. I've already tried using Using other methods out of Spack environment going to fail at the beginning as
I'm able to install other type of ruby based packages, but no luck with |
Sorry, it seems to be a narray issue, not a spack issue. The problem may be fixed if you could use the latest github master. |
Hi @kojix2, I'm reopening this issue for a question regarding compilation. As in previous comments mentioned, here is the error e.g. for
Thanks |
Hi @ajkotobi In conclusion, I checked by switching Ruby versions with rbenv and found that gem install numo-narray -v '0.9.0.9' # install specific version
# Ruby 2.4 : ○
# Ruby 2.5 : × But we can insatll gem install numo-narray -v '0.9.1.0' # install specific version
# Ruby 2.5 : ○ If you look at the commit logs prior to the The logs you presented show that you are using Ruby 2.6.2. So, it would be difficult to use v0.9.0.9 in the first place. I'm a bit curious about what workflows/applications are using numo-narray v0.9.0.9 . |
@masa16 |
@ajkotobi The installation process of Ruby packages in Spack is well documented. And the Python code to install the ruby package is as follows. Download source code wget https://github.com/ruby-numo/numo-narray/archive/v0.9.1.8.tar.gz
tar -xvf numo-narray-0.9.1.8.tar.gz
cd numo-narray-0.9.1.8 Then install it just like the way spack do. gem build numo-narray.gemspec # generate numo-narray-0.9.1.8.gem
gem install numo-narray-0.9.1.8.gem And get the same error!
So, it certainly can't be installed in the usual way... |
@kojix2
I did the manual steps but did get the upper error too. |
@ajkotobi https://github.com/masa16/narray Sorry to bother you, but could you confirm whether what your team really needs is the old version of NArray or the new version of numo-narray? If you need the old NArray, I think you can build it using the above repository. Good luck. git clone https://github.com/masa16/narray
cd narray
gem build narray.gemspec
gem install narray-0.6.1.2.gem irb NArray.int(10).indgen
# =>
# NArray.int(10):
# [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ] |
Hi @masa16,
I'm trying to build
narray
latest version and last previous 3 releases withbut all fails.
I've pasted build logs from Spack package manager
I assume it fails during
objs
creationAny ideas how to tackle this?
Thanks
The text was updated successfully, but these errors were encountered: