+1 !!!!!
I struggled with the same issue (I have no idea where Stephane got
his/her copy).
FWIW, here's (attached) what I came up with which includes
that fix and a cleanup of the duplicate libs.
Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected] http://hprc.tamu.edu
HPRC Helpdesk: [email protected]
On 03/14/2018 05:35 AM, Joachim Hein wrote:
Hi,
I am trying TensorFlow-1.5.0-goolfc-2017b-Python-3.6.3.eb . It is
looking for a file cudnn-9.0-linux-x64-v7.0.5.15.tgz , however I am
currently getting cudnn-9.0-linux-x64-v7.tgz from the Nvidea download
site. The sha256 sum of the file I just downloaded agrees with the
one in the EB-config. After renaming my download to the name expected
by EB, cuDNN builds.
Can the config be upgraded to handle both, old and new name? Is that
something EB supports? Otherwise we should leave a comment inside the
config, that renaming is a work around (one needs a manual download of
sources anyway).
Any comments?
Best wishes
Joachim
##
# This file is an EasyBuild reciPY as per
https://github.com/easybuilders/easybuild
#
# Author: Stephane Thiell <[email protected]>
##
easyblock = 'Tarball'
name = 'cuDNN'
version = '7.0.5'
homepage = 'https://developer.nvidia.com/cudnn'
description = """The NVIDIA CUDA Deep Neural Network library (cuDNN) is a
GPU-accelerated library of primitives for
deep neural networks."""
toolchain = {'name': 'goolfc', 'version': '2017b'}
# Nvidia developer registration required.
# Download link: https://developer.nvidia.com/rdp/cudnn-download
sources = ['%%(namelower)s-9.0-linux-x64-v%s.tgz' % version[0:1]]
checksums = [
'1a3e076447d5b9860c73d9bebe7087ffcb7b0c8814fd1e506096435a2ad9ab0e', #
cudnn-9.0-linux-x64-v7.tgz
]
postinstallcmds = [
# toss duplicates and create symlinks instead
'cd %%(installdir)s/lib64 && rm -vf libcudnn.so.%s libcudnn.so' %
(version[0:1]),
'cd %%(installdir)s/lib64 && ln -vs libcudnn.so.%s libcudnn.so' % (version),
'cd %%(installdir)s/lib64 && ln -vs libcudnn.so.%s libcudnn.so.%s' %
(version, version[0:1]),
'cd %%(installdir)s/lib64 && ln -vs libcudnn.so.%s libcudnn.so.%s' %
(version, version[0:3]),
]
sanity_check_paths = {
'files': ['include/cudnn.h', 'lib64/libcudnn_static.a'],
'dirs': ['include', 'lib64'],
}
moduleclass = 'numlib'