User Tools

Site Tools


keller_and_evans_lab:cu_research_computing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
keller_and_evans_lab:cu_research_computing [2019/10/08 10:20]
matthew_keller
keller_and_evans_lab:cu_research_computing [2020/02/12 09:03] (current)
lessem [Don't save temporary files in /work/KellerLab]
Line 24: Line 24:
 ======= Overview of best practices ======= ======= Overview of best practices =======
  
-This was written by Richard Border on Oct 8, 2019: +[[https://docs.google.com/presentation/d/1yQToDgohYZIzwu9NL0Z5ORpmN-9qeY3cpT7RDusEg-w/edit?usp=sharing|Richard Border's slides]] from October 2019 (might be out of date) 
-{{file_example.jpg}}+
  
  
 ======= Logging in ======= ======= Logging in =======
  
-Put these settings in your ''~/.ssh/config'' file so you only have to enter your OTP once per session, instead of for every ssh connection you make+Put these settings in your ''~/.ssh/config'' file so you only have to enter your OTP once per session, instead of for every ssh connection you make. See the [[https://docs.google.com/presentation/d/1FMir2LDbBJffXZ5aMjIJhRA_7HO99xrxT__AFxmgU_c/edit?usp=sharing|slides]] describing this, and instructions to do the same on [[https://www.chiark.greenend.org.uk/~sgtatham/putty/|PuTTY]] and [[https://www.bitvise.com/ssh-client|Bitvise]].
      
   # These rules only apply for connections to login.rc.colorado.edu   # These rules only apply for connections to login.rc.colorado.edu
Line 38: Line 38:
   ControlMaster auto   ControlMaster auto
   ControlPath ~/.ssh/%r@%h:%p   ControlPath ~/.ssh/%r@%h:%p
 +  # Keep the ssh connection open, even when the last session closes
 +  ControlPersist yes
   # X forwarding. Remove this on a Mac if you   # X forwarding. Remove this on a Mac if you
   # don't want it to start X11 each time you   # don't want it to start X11 each time you
Line 49: Line 51:
  
  
-These settings should work from Mac and Linux. I'm not sure how to do the equivalent from Windows with Putty. On a Mac, those settings will cause X11 to start. If you don't want that to happen, then remove the ''ForwardX11 yes'' line.+These settings should work from Mac and Linux. For Windows, see the [[https://docs.google.com/presentation/d/1FMir2LDbBJffXZ5aMjIJhRA_7HO99xrxT__AFxmgU_c/edit?usp=sharing|slides]]. On a Mac, those settings will cause X11 to start. If you don't want that to happen, then remove the ''ForwardX11 yes'' line.
  
 For those with access to summit (ONLY!), here are the steps to using it: For those with access to summit (ONLY!), here are the steps to using it:
Line 67: Line 69:
  
  
-======= Don't save temporary files in /work/KellerLab =======+======= Don't save temporary files in /pl/active/KellerLab =======
  
-Everything you save to /work/KellerLab is backed up automatically by the system. This is generally good, unless you're saving files that you only need for the moment, or at most for a few days. We don't need these files long term and we don't need them backed up, but they will be backed up, and **they'll count against our total storage allocation for the next year**. The last thing we want is to pay for storage for a bunch of large temporary files that are also backed up.+Everything you save to /pl/active/KellerLab (and /pl/active/IBG) is backed up automatically by the system. This is generally good, unless you're saving files that you only need for the moment, or at most for a few days. We don't need these files long term and we don't need them backed up, but they will be backed up, and **they'll count against our total storage allocation for the next year**. The last thing we want is to pay for storage for a bunch of large temporary files that are also backed up.
  
 If the temporary files are deleted by you after they're automatically backed up, they live on for a year before they're finally removed entirely from the system. That's one year of paying for storage for unneeded files. If the temporary files are deleted by you after they're automatically backed up, they live on for a year before they're finally removed entirely from the system. That's one year of paying for storage for unneeded files.
keller_and_evans_lab/cu_research_computing.1570551610.txt.gz · Last modified: 2019/10/08 10:20 by matthew_keller