google-deepmind / google-deepmind/torch-hdf5

unable to locate HDF5 header file at hdf5.h

Open
#80 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
241
Forks
125
PR merge metrics
No merged PRs in 30d

Description

Hello:
I am using torch to run nerual talk2 , but when I run the eval.lua I got this error :

```
/home/dmt/torch/install/share/lua/5.1/trepl/init.lua:384: /home/dmt/torch/install/share/lua/5.1/trepl/init.lua:384: /home/dmt/torch/install/share/lua/5.1/hdf5/ffi.lua:42: Error: unable to locate HDF5 header file at hdf5.h
stack traceback:
[C]: in function 'error'
/home/dmt/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
eval.lua:8: in main chunk
[C]: in function 'dofile'
.../dmt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
```

I am using Ubuntu 14 and I have done follows as [https://github.com/deepmind/torch-hdf5/blob/master/doc/usage.md](url)

Ubuntu >= 13.04
sudo apt-get install libhdf5-serial-dev hdf5-tools
git clone git@github.com:deepmind/torch-hdf5.git
cd torch-hdf5
luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR="/usr/lib/x86_64-linux-gnu/"

I don't know what is the problem .

Contributor guide

Open the contributing guide

Research direction

Start with the reported failure at hdf5/ffi.lua:42 and compare the installation steps in doc/usage.md with the hdf5-0-0.rockspec command and its LIBHDF5_LIBDIR setting. Reproduce the eval.lua failure on the stated Ubuntu setup, then document the configuration or installation change that lets the HDF5 header be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, lua
Domain
build-system, data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.