put files in your "optim" directory in my case it was /mhome/ilya/torchnew/install/share/lua/5.1/optim/