User Tools

Site Tools


iridium_cluster:testnodes

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
Last revision Both sides next revision
iridium_cluster:testnodes [2014/05/09 09:42]
florido
iridium_cluster:testnodes [2015/01/21 13:15]
florido [Keeping your session alive and your work running even if you disconnect]
Line 1: Line 1:
-====== Iridium Cluster Testing nodes ======+====== ​Interactive access to the cluster: ​Iridium Cluster Testing nodes ======
  
 > **Q:** Why do I need this? > **Q:** Why do I need this?
Line 8: Line 8:
 ^ hostname ​                   ^ purpose ​                       ^ ^ hostname ​                   ^ purpose ​                       ^
 | **nptest**-iridium.lunarc.lu.se | test node for nuclear physics ​ | | **nptest**-iridium.lunarc.lu.se | test node for nuclear physics ​ |
-| **pptest**-iridium.lunarc.lu.se | test node for particle physics |+| **pptest**-iridium.lunarc.lu.se | test node for particle ​physics and theoretical ​physics |
  
-They can also be used from time to time to host courses.+They can also be used from time to time to host temporary ​courses.
  
 They are meant for **interactive** access to the cluster, as opposed to the ''​arc-iridium.lunarc.lu.se''​ batch interface that can be used for batch submission of jobs. (link and explanation will come) They are meant for **interactive** access to the cluster, as opposed to the ''​arc-iridium.lunarc.lu.se''​ batch interface that can be used for batch submission of jobs. (link and explanation will come)
Line 22: Line 22:
 <​code>​ssh myusername@pptest-iridium.lunarc.lu.se</​code>​ <​code>​ssh myusername@pptest-iridium.lunarc.lu.se</​code>​
  
-One can speed up access to the cluster by using the ssh ''​config''​ file (read [[:​it_tips:​ssh|here]] for detailed explanation). You can copy-paste the following into your ''​.ssh/​config''​ file **and modify it to your needs**:+One can speed up access to the cluster by using the ssh ''​config''​ file (read [[:​it_tips:​ssh#Speedup connection with the ssh config file|here]] for detailed explanation). You can copy-paste the following into your ''​.ssh/​config''​ file **and modify it to your needs**:
  
-**Particle physics:**+---- 
 + 
 +**Particle physics ​and Theoretical Physics:**
 <​code>​ <​code>​
 # access pptest-iridium # access pptest-iridium
Line 39: Line 41:
 </​code>​ </​code>​
  
 +**Example:​** My username is //​guest03//​. In the template above, I would change all the <​Username …> to //​guest03//,​ and //nX// to //n12//.
 +
 +then to login to n12 I will do:
 +
 +  ssh iridiumn12
 +
 +And I will have to input 2 passwords: one for pptest-iridium and one for the node. 
 +
 +The number of passwords can be reduced if one uses a [[_it_tips:​ssh#​Reduce passwords using a private/​public ssh key pair|private/​public ssh key pair.]]
 +
 +----
  
 **Nuclear physics:** **Nuclear physics:**
Line 55: Line 68:
 </​code>​ </​code>​
  
-==== setup the work environment ====+**Example:​** My username is //​guest03//​. In the template above, I would change all the <​Username …> to //​guest03//,​ and //nX// to //n12//. 
 + 
 +then to login to n12 I will do: 
 + 
 +  ssh iridiumn12 
 + 
 +And I will have to input 2 passwords: one for nptest-iridium and one for the node.  
 + 
 +The number of passwords can be reduced if one uses a [[_it_tips:​ssh#​Reduce passwords using a private/​public ssh key pair|private/​public ssh key pair.]] 
 + 
 +---- 
 + 
 +==== Setup the work environment ====
  
 Administrators provided scripts for quick setup of your work enviroment. Administrators provided scripts for quick setup of your work enviroment.
-Just execute the command in the column //Script to run// at the shell prompt, or add it to your ''​.bashrc''​ or ''​.bash_profile''​ file so that is executed every time you login.+Just execute the command in the column //Script to run// at the shell prompt, or add it to your ''​.bash_profile''​ file so that is executed every time you login
 + 
 +:​!:​**NOTE:​** do NOT add these scripts to ''​.bashrc''​ as suggested previously or you will not be able to rsync/scp. Contents of ''​.bashrc''​ are NOT supposed to generate output, but unfortunately some of these scripts do.
  
 The following are active now: The following are active now:
 ^ Environment | Script to run | Description | ^ Environment | Script to run | Description |
-^ ATLAS Experiment environment | ''​setupATLAS''​ | Will setup all the neeeded ​environment variables for ATLAS experiment, and present a selection of other environments that the user can setup. |+^ ATLAS Experiment environment | ''​setupATLAS''​ | Will setup all the needed ​environment variables for ATLAS experiment, and present a selection of other environments that the user can setup. | 
 +^ Various other environments through //module// | <​code>​module avail</​code>​ | Will show a list of available environments. To enable one, execute the command <​code>​module load <name of environment></​code>​ More info on modules on http://​modules.sourceforge.net/​ | 
 + 
 +==== Keeping your session alive and your work running even if you disconnect ==== 
 + 
 +The cluster offers you various tools, among these [[:​it_tips:​screen|Screen]] and the usual ''​nohup''​ command to detach from terminal output. 
 + 
 +However, I personally suggest a tool called byobu, that is essentially Screen or Tmux on steroids. 
 +You can read about it here: 
 +https://​help.ubuntu.com/​community/​Byobu
  
 ==== Local disk space on the test nodes ==== ==== Local disk space on the test nodes ====
  
-Every node has a local ''/​tmp''​ temporary disk space that can be used for computations. The contents of such space will be deleted regularly. Users can put any sort of data there.+Every node has a local ''/​tmp''​ temporary disk space that can be used for computations. The contents of such space will be deleted regularly. Users can put any sort of data there. ​Currently the space available is 300GB. 
 + 
  
iridium_cluster/testnodes.txt · Last modified: 2015/09/25 08:42 by florido