Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For Steps 10 - 12 --- On Mac Terminal

*Please note that you do not have to name your key as keyfile-private-file

Code Block
scicomp@MAC2024 ~ % 
scicomp@MAC2024 ~ % ls -ld ~/.ssh  #Confirm you have a .ssh directory - in this example we have a .ssh 
drwx------  10 scicomp  staff  320 Sep  4 14:38 /Users/scicomp/.ssh

#If you DO NOT have an output as above  mkdir ~/.ssh

scicomp@MAC2024 ~ % cd .ssh
scicomp@MAC2024 .ssh % vim keyfile-private-file
#other commands: touch keyfile-private-file or nano keyfile-private-file
scicomp@MAC2024 .ssh % ls -l
-rw-------  1 scicomp  staff    420 May  9  2024 keyfile-private-file

#permissions have been change. If you have not change permissions use chmod 600 ~/.ssh/keyfile-private-file
#Your login will fail if your permissons are not as stated above.


scicomp@MAC2024 ~ % ssh -i <keyfile-private-file> <cwid>@cayuga-login1.cac.cornell.edu

image-20240905-142736.png

image-20240905-142909.png

Hardware

  • Qty 1: A100 GPU node

Code Block
  * g0001: CPUs=128 Boards=1 SocketsPerBoard=2 CoresPerSocket=32 ThreadsPerCore=2 RealMemory=1024000
              GPU [0-3]: NVIDIA A100: 80GB PCIe
  • Qty 2: A40 GPU node

Code Block
  * g00[2-3]: CPUs=128 Boards=1 SocketsPerBoard=2 CoresPerSocket=32 ThreadsPerCore=2 RealMemory=1024000
              GPU [0-3]: NVIDIA A40: 48GB PCIe
  • Qty 21: CPU nodes (hyperthreading ON)

...

Config file

  • Add to or create a new file on your laptop to add the login nodes and all hosts ~/.ssh/config

...

Code Block
 Host cayuga-login1
   Hostname cayuga-login1.cac.cornell.edu
   IdentityFile ~/.ssh/your_cayuga_key
   User your_cwid
 Host c00*
   IdentityFile ~/.ssh/your_cayuga_key
   User your_cwid
   ProxyCommand ssh -i .ssh/[your_key_name] -W %h:%p cayuga-login1

In your chosen text editor you will save the file

...