Difference between revisions of "How to connect Kronos HPC Lab Cluster"

(kronos)
(kk)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
−
=  '''<span style="font-size:14.0pt;color:#1F4E79">Step 1 - Download and Install PuTTY</span>''' =
+
'''<span style="font-size:14.0pt;color:#1F4E79">Step 1 - Download and Install PuTTY</span>'''  
 +
 
 
Go to the official PuTTY website: https://putty.org/index.html
 
Go to the official PuTTY website: https://putty.org/index.html
  
Line 7: Line 8:
 
Run the installer and follow the on-screen instructions to complete setup.
 
Run the installer and follow the on-screen instructions to complete setup.
  
 +
'''<span style="font-size:14.0pt;color:#1F4E79">Step 2 - Open PuTTY and Configure the Connection</span>'''
  
−
= '''<span style="font-size:14.0pt;color:#1F4E79">Step 2 - Open PuTTY and Configure the Connection</span>''' =
 
 
Launch PuTTY from the Windows Start menu.
 
Launch PuTTY from the Windows Start menu.
  
Line 36: Line 37:
  
 
[[File:How to connect Kronos HPC Lab Cluster 1783678812882.png|frameless]]
 
[[File:How to connect Kronos HPC Lab Cluster 1783678812882.png|frameless]]
−
 
−
[[File:login.1783677929230.jpg|left|frameless]]
 
−
 
−
 
−
 
−
 
  
  
 +
[[File:2wi.1784262342395.jpg|frameless]]
  
  
Line 56: Line 52:
 
Download WinSCP [https://winscp.net/eng/download.php https://winscp.net/eng/download.php,] choose the SFTP protocol, enter host kronos.snu.edu.in, port 22, and your Net ID and password. You can then drag and drop files between the two panels.
 
Download WinSCP [https://winscp.net/eng/download.php https://winscp.net/eng/download.php,] choose the SFTP protocol, enter host kronos.snu.edu.in, port 22, and your Net ID and password. You can then drag and drop files between the two panels.
  
−
 
+
'''Step 5- <span style="font-size:14.0pt;font-family:&quot;Calibri&quot;,sans-serif;
−
'''Step 5 -  How to Connect to Kronos from outside SNU Network.'''
 
−
 
 
−
To gain access to Kronos from outside the SNU network, a VPN connection is mandatory. To acquire VPN access Please email to '''ithelpdesk.snu.edu.in'''.
 
−
 
 
−
 
 
−
'''Step 6- <span style="font-size:14.0pt;font-family:&quot;Calibri&quot;,sans-serif;
 
 
mso-fareast-font-family:Calibri;color:#1F4E79;mso-ansi-language:EN-IN;
 
mso-fareast-font-family:Calibri;color:#1F4E79;mso-ansi-language:EN-IN;
−
mso-fareast-language:EN-IN;mso-bidi-language:AR-SA">Verify You Are Connected</span>'''
+
mso-fareast-language:EN-IN;mso-bidi-language:AR-SA">Verify You Are Connected(Optional)</span>'''
  
 
Run these commands to confirm you are on the cluster and logged in as yourself:
 
Run these commands to confirm you are on the cluster and logged in as yourself:
Line 74: Line 64:
 
pwd               # shows your home directory
 
pwd               # shows your home directory
  
−
= '''<span style="font-size:14.0pt;color:#1F4E79">Step 7- Some basic command ofe basic command on the Cluster</span>''' =
+
= '''<span style="font-size:14.0pt;color:#1F4E79">Step 6- Some basic command on the Cluster</span>''' =
  
 
== '''<span style="font-size:12.0pt;color:#2E75B6">Check available software modules</span>''' ==
 
== '''<span style="font-size:12.0pt;color:#2E75B6">Check available software modules</span>''' ==
Line 83: Line 73:
 
module list                  # show what you have loaded
 
module list                  # show what you have loaded
  
−
module purge           # Removes all previously loaded modules.
+
module purge               # Removes all previously loaded modules.
  
 
== '''<span style="font-size:12.0pt;color:#2E75B6">Check the job queue</span>''' ==
 
== '''<span style="font-size:12.0pt;color:#2E75B6">Check the job queue</span>''' ==
Line 98: Line 88:
 
scancel <jobid>              # cancel one of your jobs
 
scancel <jobid>              # cancel one of your jobs
  
−
= '''<span style="font-size:14.0pt;color:#1F4E79">Step 8- Ending Your Session</span>''' =
+
= '''<span style="font-size:14.0pt;color:#1F4E79">Step 7- Ending Your Session</span>''' =
 
Type exit and press Enter, or simply close the PuTTY window.
 
Type exit and press Enter, or simply close the PuTTY window.
  
 
Any jobs you submitted with sbatch will keep running after you disconnect — you do not need to stay logged in.
 
Any jobs you submitted with sbatch will keep running after you disconnect — you do not need to stay logged in.
 +
 +
 +
'''Note''':Kronos Cluster is accessible only from Campus Network. If you want to access the cluster outside SNU Campus, please request VPN Access.
 +
 +
__NOTOC__

Latest revision as of 04:26, 17 July 2026

Step 1 - Download and Install PuTTY

Go to the official PuTTY website: https://putty.org/index.html

Download the appropriate installer for your system (64-bit Windows in most cases).

Run the installer and follow the on-screen instructions to complete setup.

Step 2 - Open PuTTY and Configure the Connection

Launch PuTTY from the Windows Start menu.

In the Host Name field, enter: kronos.snu.edu.in

Set Port to 22.

Ensure Connection type is set to SSH (this is the default).

Optional but recommended: type a name such as “Kronos HPC” in the Saved Sessions box and click Save. Next time you can simply double-click the saved session.


putty.1783672259266.jpg


Step 3 - Log In to the Cluster

At the “login as:” prompt, type your Net ID and press Enter.

When prompted for your password, type your Net ID password and press Enter.

No characters will appear as you type — not even asterisks. This is normal PuTTY behaviour for security. Type the password and press Enter.

On success, the Linux command prompt appears. You are now connected to Kronos.

How to connect Kronos HPC Lab Cluster 1783678812882.png


2wi.1784262342395.jpg




Step 4 - Transferring Files

To copy files between your computer and Kronos, use WinSCP (graphical).

Download WinSCP https://winscp.net/eng/download.php, choose the SFTP protocol, enter host kronos.snu.edu.in, port 22, and your Net ID and password. You can then drag and drop files between the two panels.

Step 5- Verify You Are Connected(Optional)

Run these commands to confirm you are on the cluster and logged in as yourself:

hostname          # should show the Kronos login node

whoami            # should show your Net ID

pwd               # shows your home directory

Step 6- Some basic command on the Cluster

Check available software modules

module avail                 # list available software

module load <module-name>    # load a specific module

module list                  # show what you have loaded

module purge # Removes all previously loaded modules.

Check the job queue

sinfo                        # show cluster partitions and node states

squeue                       # show all jobs in the queue

squeue -u $USER              # show only your jobs

Submit a job

sbatch myjob.sh              # submit a batch job script

scancel <jobid>              # cancel one of your jobs

Step 7- Ending Your Session

Type exit and press Enter, or simply close the PuTTY window.

Any jobs you submitted with sbatch will keep running after you disconnect — you do not need to stay logged in.


Note:Kronos Cluster is accessible only from Campus Network. If you want to access the cluster outside SNU Campus, please request VPN Access.


No categories assignedEdit