Friday, October 16, 2015

SSH without password from machine A to machine B (done)

Login on A. Then:
cat ~/.ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'

Reference: http://www.linuxproblem.org/art_9.html

Wednesday, October 14, 2015

Torch installation on Delta HPC cluster (in progress)

1) Use Oxford's Torch installation script, modified: https://bitbucket.org/dj1989/active_vis/src/5aeec61c09dd2ffeccf92e4944a2056037459c3e/misc/torch-install/install-torch.sh?at=panocon_torch&fileviewer=file-view-default

2) In ~/local/luajit-rocks/luajit-rocks/lua-5.1/CMakeLists.txt, comment out the lines searching for readline. Do the same in ~/local/luajit-rocks/luajit-rocks/luajit-2.0/CMakeLists.txt. (This avoids "undefined reference to PC" errors when linking to readline, but will build without readline support though)

3) install-script-delta script works for installation of luajit, sundown, cwrap, paths, but fails at torch installation, with cmake complaining: "Performing Test OpenMP_FLAG_DETECTED - Failed"
Possibly only an issue on the login machine. To try on actual delta cluster machine.