It seems that luarocks install rnn does not install Recurrent.lua
/home/tumh/torch/install/bin/luajit: simple-recurrent-network.lua:12: attempt to call field 'Recurrent' (a nil value)
stack traceback:
simple-recurrent-network.lua:12: in main chunk
[C]: in function 'dofile'
...tumh/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
It seems that
luarocks install rnn
does not installRecurrent.lua
it links to https://github.com/torch/rnn. see https://raw.githubusercontent.com/torch/rocks/master/rnn-scm-1.rockspec