Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583068 - sci-libs/torch: remove obsolete
Summary: sci-libs/torch: remove obsolete
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 07:38 UTC by PetaMem R&D
Modified: 2016-06-26 15:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-05-15 07:38:06 UTC
torch-3.1 is obsolete and will most likely not work with any current version of CUDA.

If we take the cuda release history: https://developer.nvidia.com/cuda-toolkit-archive

And the availability date of torch-3.1 (2009) see e.g. https://www.rpmfind.net/linux/RPM/fedora/23/x86_64/t/torch-3.1-12.fc23.x86_64.html

Then torch-3.1 is in the very best compatible with cuda 2.3

Here's the thing: The current torch7 does support CUDA 6.5 and cuDNN 4. However, current version is CUDA 7.5 and cuDNN 5

While I managed to get it work under Gentoo, torch seems to have a hard time to keep up with the CUDA release pace.

The CUDA API changed significantly with CUDA 4, today torch is basically a lua-based API and not a C++ based API anymore.

I do not think it makes sense whatsoever to keep torch-3.1 except you expect to run a modern gentoo on historic (2009) CUDA setups.

Installing torch-3.1 and trying to compile any of the examples there yields

# make
Makefile:15: /data/soft/Makefile_options_Linux: No such file or directory
make: *** No rule to make target '/data/soft/Makefile_options_Linux'.  Stop.

# locate Makefile_options
#

or

# equery f sci-libs/torch | grep -i make
/usr/share/doc/torch-3.1/examples/decoder/Makefile.bz2
/usr/share/doc/torch-3.1/examples/discriminatives/Makefile.bz2
/usr/share/doc/torch-3.1/examples/generatives/Makefile.bz2
/usr/share/doc/torch-3.1/examples/speech/Makefile.bz2
/usr/share/doc/torch-3.1/html/mxMakeH.html
/usr/share/doc/torch-3.1/html/mxMakeHQ.html



I think it's dead and pointless.

Reproducible: Always




This ticket should go to sci@gentoo.org
Comment 1 David Seifert gentoo-dev 2016-05-15 09:11:59 UTC
Thanks for the pointer

commit 279425b411bd6a85cc56c86105fa2df1b65d89fe
Author: David Seifert <soap@gentoo.org>
Date:   Sun May 15 11:06:39 2016 +0200

    profiles/package.mask: mask sci-libs/torch for removal, bug #583068

# David Seifert <soap@gentoo.org> (15 May 2016)
# Masked for removal. Deprecated, relies on ancient CUDA APIs,
# does not build with current CUDA releases. See bug #583068.
sci-libs/torch
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-26 15:18:30 UTC
commit af5bd0ce8576e0ad533467aa9c7e2d3b8945121d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Sun Jun 26 17:13:13 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Jun 26 17:13:13 2016

    sci-libs/torch: Remove last rited packages