Hello, have been following the torch rnn mac install tutorial found here:

  
      
      Jeff Thompson – 25 Mar 16
  
  
    

Torch-rnn: Mac Install 5

Update! For El Capitan and users of newer version of OS X, you may run into issues installing Torch or Lua packages. A fix is included now. Update number two! Zach in the comments offers a really h…


  
  
    
    
  
  


I am running the following command for step 7. (using -gpu -1 flag because CUDA isnt working)
th train.lua -input_h5 data/tiny_shakespeare.h5 -input_json data/tiny_shakespeare.json -gpu -1
however it spits out this:
/Users/matthewclark/torch/install/bin/lua: .../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:88: NYI
stack traceback:
[C]: in function '__concat'
.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:88: in function <.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:87>
[C]: in function 'tostring'
.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:39: in function '__init'
.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
[C]: in function 'HDF5Group'
...s/matthewclark/torch/install/share/lua/5.2/hdf5/init.lua:74: in function '_loadObject'
...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:19: in function '__init'
.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
[C]: in function 'HDF5File'
...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:148: in function <...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:145>
(...tail calls...)
./util/DataLoader.lua:17: in function '__init'
.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
[C]: in function 'DataLoader'
train.lua:76: in main chunk
[C]: in function 'dofile'
...lark/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?

Any help would be much appreciated, am pretty stuck here