Main Page: Difference between revisions
(→2022) |
|||
Line 155: | Line 155: | ||
Press escape, then input '':wq'' followed by enter to exit the editor. |
Press escape, then input '':wq'' followed by enter to exit the editor. |
||
You can now log straight into citadel with ''ssh citadel'' or straight into your machine with ''ssh machinename''. The last two commands stop the ssh being killed if you are idle for too long. The ''ServerAliveInterval'' is how many seconds to ping a null packet, and the ''ServerAliveCountMax'' are how many consecutive times it needs to fail for the ssh to be killed. |
You can now log straight into citadel with ''ssh citadel'' or straight into your machine with ''ssh machinename''. The last two commands stop the ssh being killed if you are idle for too long. The ''ServerAliveInterval'' is how many seconds to ping a null packet, and the ''ServerAliveCountMax'' are how many consecutive times it needs to fail for the ssh to be killed. |
||
'''Convenient File Transfer Protocol :''' |
|||
You may want to transfer files between department machines and your computer. The standard way is to ''scp'' via the terminal with commands : |
|||
UPLOAD scp -o ProxyCommand="ssh crsid@citadel.ch.cam.ac.uk nc machinename 22" LocalPath/FileName crsid@machinename.ch.cam.ac.uk:/RemotePath |
|||
DOWNLOAD scp -o ProxyCommand="ssh crsid@citadel.ch.cam.ac.uk nc machinename 22" crsid@machinename.ch.cam.ac.uk:/RemotePath/FileName LocalPath |
|||
However, a convenient tool ''FOR WINDOWS ONLY'' is the WinSCP software that allows to set up a File Transfer Protocol (FTP) between machines. It has a graphic user interface, where you can drag and drop files from the department machine to your computer. You can download it from https://winscp.net/eng/download.php . |
|||
Once installed, click ''New Session'', and choose ''SFTP'' protocol with : |
|||
Hostname = machinename |
|||
Port number = 22 |
|||
Username = crsid |
|||
Leave 'Password' entry empty. |
|||
Then click on ''Advanced...'', ''Tunnel'' tab, check the ''Connect through SSH tunnel'' tickbox and enter: |
|||
Hostname = citadel.ch.cam.ac.uk |
|||
Port number = 22 |
|||
Username = crsid |
|||
Leave 'Password' entry empty. |
|||
Click ''OK'' and click ''Save'', and finally ''Login''. Enter your admitto password twice. |
|||
You can now navigate in the directories of the remote machine on the right tab, and of your local computer on the left tab, and you can transfer files between the two with a drag and drop. Enjoy ! |
|||
= Useful Software = |
= Useful Software = |
Revision as of 15:30, 27 July 2022
# _________ # ___ ___ # ______ # ___ __ __ # # _______ # ______ # ______ # __ __ # ______ # #/________/\ #/__/\ /__/\ #/_____/\ #/__//_//_/\ # #/______/\ #/_____/\ #/_____/\ #/_/\/_/\ #/_____/\ # #\__.::.__\/ #\::\ \\ \ \ #\:::_ \ \ #\::\| \| \ \ # #\::::__\/__ #\:::_ \ \ #\:::_ \ \ #\:\ \:\ \ #\:::_ \ \ # # \::\ \ # \::\/_\ .\ \ # \:\ \ \ \ # \:. \ \ # # \:\ /____/\ # \:(_) ) )_ # \:\ \ \ \ # \:\ \:\ \ # \:(_) \ \ # # \::\ \ # \:: ___::\ \ # \:\ \ \ \ # \:.\-/\ \ \ # # \:\\_ _\/ # \: __ `\ \ # \:\ \ \ \ # \:\ \:\ \ # \: ___\/ # # \::\ \ # \: \ \\::\ \# \:\_\ \ \ # \. \ \ \ \# # \:\_\ \ \ # \ \ `\ \ \ # \:\_\ \ \ # \:\_\:\ \ # \ \ \ # # \__\/ # \__\/ \::\/# \_____\/ # \__\/ \__\/# # \_____\/ # \_\/ \_\/ # \_____\/ # \_____\/ # \_\/ # # # # # # # # # # # #
Hello, Guten Abend, and Bienvenue to the new Thom Group Wiki. (Apparently evenings are good times to read the Wiki.)
In this Wiki you can find various pieces of useful information, such as when group meetings are, who is going to bring cake, how to run a particular calculation or perform a certain computer trick, who's using which computer in the group, and so on. You can also see how fun we are as a group by looking at our various photos.
Group Calendar
Group Meetings
Past Group Meetings here.
Summer 2022
Date | Talk | Cake |
---|---|---|
25th July | WATOC Review & IPLU Discussion | |
8th August | Brian | |
29th August | Nick | |
12th September | Interns |
Journal Club
Date | Contributor | Paper |
---|---|---|
8 Oct 2021 | Kripa | Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm |
5 Nov 2021 | Brian | Neat, Simple and Wrong: Debunking Electrostatic Fallacies Regarding Noncovalent Interactions |
6 Dec 2021 | Kripa | Quantum Algorithm for Full Configuration Interaction Calculations without Controlled Time Evolutions |
11 Feb 2022 | Nick | Mapping the NFT revolution: market trends, trade networks, and visual features |
11 Mar 2022 | Andreea | Simulating physics with computers |
27 Apr 2022 | Fabio | Rethinking Superdeterminism |
25 May 2022 | Kripa | The experience of mathematical beauty and its neural correlates |
Summer 'Interns'
Past Summer Interns here.
2022
Name | Dates | Project | Machine |
---|---|---|---|
Douglas Russell | - | IPLU | hypatia |
Theo Hatcher | - | IPLU | chucksty |
Motoki Yamano | - | IPLU | hypatia |
King Lam | - | IPLU | chucksty |
Juan Fernandez Pottecher | - | Strong Correlation | hylas |
Max Howe | - | Singlet Fission | moonraker |
Group List
The full timeline of all current and past group members is available here. NB autogenerated by `ifs-thom/cbh31/groupwiki`
An up to date list of group members is also available here.
Front row, left to right: Anna Bui, Brian Zhao, Bang C. Huynh, Arta Safari, Maria-Andreea Filip
Back row, right to left: David Izuogu, Kripa Panchagnula, Zian Wang, Dr Alex Thom
Not in picture: Fabio Albertani, Nicholas Lee, Tarik Benyahia, César Feniou, Benjamin Mokhtar
Computing Resources
- Group computers available.
- Clusters available.
- Storage available.
Computing Setup Guide
Anaconda takes up a lot of space on /home so it's worth running
mv ~/.conda /scratch/$USER/.conda ln -s /scratch/$USER/.conda ~/.conda
Introduction to basic shell commands
- There are a number of tutorials available which document basic operations that are useful including:
- General bash commands
- Setting up cygwin
- Setting up ssh keys and general bash commands what are helpful
- Setting up ssh config files
- using GIT
- Useful cerebro queue commands
- Some vim tidbits
Currently undergoing construction.
How to connect to department machines
On Mac/WSL:
- Check you have an Admitto account and collect your password from https://www.ch.cam.ac.uk/computing/admitto-service
- In the terminal run the command ssh -X crsid@citadel.ch.cam.ac.uk
- When prompted input your Admitto username (crsid) and password
- Once this has worked run the command ssh -X crsid@machinename in the terminal to log into a particular machine
Set up logging in without a password:
- Generate an ssh key by running the command ssh-keygen in the terminal, as described in detail in the section "Introduction to basic shell commands"
- Use cd ~/.ssh to navigate to the directory holding the keys, and copy the text from the file "id_rsa.pub" beginning with ssh-rsa. This is your public ssh key
- Log into the department citadel machine, and create / navigate to a directory called .ssh
- Use chmod 700 .ssh to set permissions for the directory
- Input vi authorized_keys to open up the vi text editor. Press i, then paste in your public ssh key. Press escape, then type :wq and press enter to write and quit the editor
- Log into the particular machine you want to ssh to, and repeat steps 3 to 5
- Exit back to your machine and navigate to the home directory
- Input vi .ssh/config to open the vi text editor. Press i, then paste in the following, with your crsid and machine name in the places given:
Host citadel User crsid Hostname citadel.ch.cam.ac.uk ForwardAgent yes ProxyCommand none Host machinename Hostname machinename ProxyCommand ssh citadel -W %h:%p User crsid ForwardAgent yes ServerAliveInterval 60 ServerAliveCountMax 10
Press escape, then input :wq followed by enter to exit the editor.
You can now log straight into citadel with ssh citadel or straight into your machine with ssh machinename. The last two commands stop the ssh being killed if you are idle for too long. The ServerAliveInterval is how many seconds to ping a null packet, and the ServerAliveCountMax are how many consecutive times it needs to fail for the ssh to be killed.
Convenient File Transfer Protocol :
You may want to transfer files between department machines and your computer. The standard way is to scp via the terminal with commands : UPLOAD scp -o ProxyCommand="ssh crsid@citadel.ch.cam.ac.uk nc machinename 22" LocalPath/FileName crsid@machinename.ch.cam.ac.uk:/RemotePath DOWNLOAD scp -o ProxyCommand="ssh crsid@citadel.ch.cam.ac.uk nc machinename 22" crsid@machinename.ch.cam.ac.uk:/RemotePath/FileName LocalPath
However, a convenient tool FOR WINDOWS ONLY is the WinSCP software that allows to set up a File Transfer Protocol (FTP) between machines. It has a graphic user interface, where you can drag and drop files from the department machine to your computer. You can download it from https://winscp.net/eng/download.php . Once installed, click New Session, and choose SFTP protocol with :
Hostname = machinename Port number = 22 Username = crsid Leave 'Password' entry empty.
Then click on Advanced..., Tunnel tab, check the Connect through SSH tunnel tickbox and enter:
Hostname = citadel.ch.cam.ac.uk Port number = 22 Username = crsid Leave 'Password' entry empty.
Click OK and click Save, and finally Login. Enter your admitto password twice. You can now navigate in the directories of the remote machine on the right tab, and of your local computer on the left tab, and you can transfer files between the two with a drag and drop. Enjoy !
Useful Software
Useful Information
- Guidelines on Code Review
- How to do things relating to HANDE
- How to run PySCF or other Python software on Archer
- How to run QChem on darwin
- Where to get Travel Money
- Backed-up Storage
- How to get IQMol to run a local version of Q-Chem via SSH
- Slow ubuntu dash
- Persistent X sessions for remote working
- Paper submission
- Getting Started with cerebro
- Things to do before leaving
Archiving data for the university repository
To-do list for the Thom Group Website
Group Activities
To-do list for the Wiki
- A pretty picture
- A "How to:" page on setting up cygwin, ssh keys and general bash commands what are helpful
- A "How to:" page on using qchem
- A Pretty picture for the $wgLogo