User Tools

Site Tools


playground:playground

Differences

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

Link to this comparison view

Next revision
Previous revision
playground:playground [2025/10/01 10:03] – created lab access page isabelplayground:playground [2025/10/01 10:26] (current) isabel
Line 1: Line 1:
-= Lab Machine Overview =+====== Lab Machine Overview ====== 
 + 
 + 
 +==== Available Machines ==== 
 + 
 +These are the available lab machines:
  
-== Available Machines == 
-These are the lab machines you may connect to: 
   * ultra   * ultra
 +    * 16 cores
 +    * 125Gi RAM
 +    * NVIDIA GeForce RTX 3090
   * core   * core
 +    * 
   * cortex   * cortex
 +    * 4 cores
 +    * 7.6Gi RAM
 +    * No GPU
   * form   * form
 +    * 20 cores
 +    * 62Gi RAM
 +    * NVIDIA TITAN Xp
   * geometry   * geometry
 +    * 20 cores
 +    * 62Gi RAM
 +    * No GPU
 +
 +==== Proxy Jumps (Gateways) ====
  
-== Proxy Jumps (Gateways) == 
 When connecting from home or outside the CIM network, you may need to go through one of these gateway servers first: When connecting from home or outside the CIM network, you may need to go through one of these gateway servers first:
-'''barn''' + 
-'''cow''' +  * barn 
-'''pig'''+  * cow 
 +  * pig
  
 ---- ----
  
-== Remote Access Lab Machines ==+====== Remote Access Lab Machines ======
  
-=== Direct Access (inside the lab) === +==== Direct Access (inside the lab) ==== 
-Use XQuartz to enable graphical applications:+Use XQuartz to enable graphical applications, else use Terminal.
  
-<pre> +<code> ssh -X *yourusername*@*machinename*.cim.mcgill.ca 
-ssh -X *yourusername*@*machinename*.cim.mcgill.ca+
 # OR # OR
 ssh -Y *yourusername*@*machinename*.cim.mcgill.ca  # Admin access (more apps permitted) ssh -Y *yourusername*@*machinename*.cim.mcgill.ca  # Admin access (more apps permitted)
-</pre>+</code>
  
-=== Remote Access (outside the lab, from home) ===+==== Remote Access (outside the lab, from home) ====
 First connect through a proxy jump (example using barn): First connect through a proxy jump (example using barn):
  
-<pre>+<code>
 ssh -J *yourusername*@barn.cim.mcgill.ca *yourusername*@*machinename*.cim.mcgill.ca ssh -J *yourusername*@barn.cim.mcgill.ca *yourusername*@*machinename*.cim.mcgill.ca
-</pre>+</code>
  
 === General CIM Login === === General CIM Login ===
 To access the CIM system without going to a specific machine: To access the CIM system without going to a specific machine:
  
-<pre>+<code>
 ssh *yourusername*@barn.cim.mcgill.ca ssh *yourusername*@barn.cim.mcgill.ca
-</pre>+</code>
  
-=== Mount Local Directory on Remote Machine === 
  
-<pre> +====== Lab Machine Directory Structure ======
-sshfs -o ProxyJump=*yourusername*@barn.cim.mcgill.ca *yourusername*@*machinename*.cim.mcgill.ca:/home/leonardo/*yourusername*/src /Users/*yourusername*/Downloads/group2/01 +
-</pre>+
  
-=== Logout ===+When using one of the lab machines, your home directory will be mounted at:
  
-<pre+<code
-logout +/home/leonardo/*yourusername*/src 
-</pre>+</code>
  
-----+Your home directory shares resources across all lab machines (ultra, core, etc), which is very convenient. However, your home directory is very small and will fill up quickly, slowing down all lab machines and eventually stop allowing processes to run. Therefore, store large file in either: 
 + 
 +<code> 
 +/usr/local/data/*yourusername* 
 + 
 +OR 
 + 
 +/usr/local/faststorage/*yourusername* 
 +</code> 
 + 
 +These directories are not shared across lab machines but can support large files. 
 + 
 + ====== Moving Files with SCP ======
  
-== File Access ==+==== Copying Files ====
  
 === Copy File from Local → Remote === === Copy File from Local → Remote ===
  
-<pre+<code
-scp /Users/*yourusername*/Downloads/group2/01/01a_us_tal.mnc *yourusername*@*machinename*.cim.mcgill.ca:/home/leonardo/*yourusername*/src +scp /your/PC/path/to/file 
-</pre>+*yourusername*@*machinename*.cim.mcgill.ca:/home/leonardo/*yourusername*/src 
 +<code> 
 + 
 +=== Copy File with ProxyJump (ie: copying files when outside of the lab)=== 
 + 
 +<code> 
 +scp -o ProxyJump=*yourusername*@barn.cim.mcgill.ca ./MeanCurvature/Data/PreprocessedVolumes/resampledUS.nii *yourusername*@ultra.cim.mcgill.ca:/home/leonardo/*yourusername*/src/OBNLM 
 +</code> 
 + 
 + 
 +==== Copying Folders ==== 
 + 
  
 === Copy Folder from Local → Remote === === Copy Folder from Local → Remote ===
  
-<pre+<code
-scp -r ./Downloads/group2 *yourusername*@*machinename*.cim.mcgill.ca:/usr/local/*yourusername*/ +scp -r ./your/PC/path/to/folder *yourusername*@*machinename*.cim.mcgill.ca:/usr/local/data/*yourusername*/ 
-</pre>+</code>
  
-=== Copy File with ProxyJump === 
  
-<pre> 
-scp -o ProxyJump=*yourusername*@barn.cim.mcgill.ca ./MeanCurvature/Data/PreprocessedVolumes/resampledUS.nii *yourusername*@ultra.cim.mcgill.ca:/home/leonardo/*yourusername*/src/OBNLM 
-</pre> 
  
 === Copy Folder from Remote → Local === === Copy Folder from Remote → Local ===
  
-<pre>+<code>
 scp -r *yourusername*@*machinename*.cim.mcgill.ca:/path/to/server/folder /path/to/local/folder scp -r *yourusername*@*machinename*.cim.mcgill.ca:/path/to/server/folder /path/to/local/folder
-</pre>+</code> 
 + 
 + 
 + 
 +=== Mount Local Directory on Remote Machine === 
 + 
 +<code> 
 +sshfs -o ProxyJump=*yourusername*@barn.cim.mcgill.ca *yourusername*@*machinename*.cim.mcgill.ca:/home/leonardo/*yourusername*/src */your/PC/path </code> 
  
 ---- ----
  
-'''Tip:''' Always replace <code>*yourusername*</code> with your CIM login and <code>*machinename*</code> with the specific machine name (ultra, core, cortex, form, etc.).+''Tip:'' Always replace *yourusername* with your CIM login and *machinename* with the specific machine name (ultra, core, cortex, form, geometry, etc.)
 + 
 +To get your CIM login account details, email Olivier St-Martin Cormier.
  
playground/playground.1759327423.txt.gz · Last modified: by isabel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki