GPU Compute facility Details
First Time Access
STEP 1: (for first time access only) visit the URL "https://gpu.iitg.ac.in/":
- click on "Forgot Password" to reset your password.
- For the input "Username or Email", type in your
(without the @iitg.ac.in) OR . - For the input "Captcha", type in the exact case sensitive string displayed.
- click on "Send OTP".
STEP 2: (only after STEP 1 was successfully completed):
- For the input "OTP Code", enter the OTP received on your IITG Email. OTP valid for 600 seconds only.
- For the input "Captcha", type in the exact case sensitive string displayed.
- Click on "Verify OTP".
STEP 3: (only after STEP 3 was successfully completed):
- For the input "Captcha", type in the exact case sensitive string displayed.
- For the input "New Password", type in the password of your choice.
- For the input "Confirm New Password", re-type the exact password chosen.
- Click on "Reset Password".
- Click "Ok" on the Password has been reset successfully, Alert.
STEP 4: (only after you have confirmed the availability of a valid credential to access the GPU Compute Facility)
- From within a Terminal Application (Linux Terminal, Windows cmd, putty, etc.) type the following:
- ssh <username>@gpu.iitg.ac.in
where, <username> will be your IITG Email ID (without the @iitg.ac.in) - Enter your password at the prompt.
If the entered credentials are correct, you will be presented with a similar prompt below:
<username>@gpu:~$
IIT Guwahati GPU Cluster User Manual
1. Introduction
This guide provides the basic steps required to access the IIT Guwahati GPU Cluster, prepare your working environment, submit GPU jobs using slurm, and monitor job execution.
2. Logging In
ssh <username>@gpu.iitg.ac.in
Use your assigned username and password. Windows users may use PuTTY; Linux and macOS users can use the built-in SSH client.
3. Password Management
To change or reset your password, visit https://gpu.iitg.ac.in, select the options available and follow the instructions.
4. Working Directories
Home directory (/home/<your_username>): Store source code, scripts, and small files only.
Scratch directory (/scratch/<your_username>): Should be used for input datasets, temporary files, and job execution.
Example:cd /scratch/<your_username> mkdir my_project cd my_project
5. Creating and Submitting a Job
Create a file "gpu_job.sh" with the contents below (provided as a template), in your <my_projects> folder
#!/bin/bash #SBATCH --job-name=gpu_test #SBATCH --partition=gpu_small #SBATCH --ntasks=1 #SBATCH --gres=gpu:1 #SBATCH --output=gpu_test_%j.out #SBATCH --error=gpu_test_%j.err #SBATCH --mail-user=your-email@example.com #SBATCH --mail-type=ALL echo "Job started at $(date)" hostname nvidia-smi # Add your application below ... echo "Finished at $(date)"
Submit from your scratch project directory
sbatch gpu_job.sh
6. Monitoring Jobs
Check Cluster StatussinfoView Jobs
squeue squeue -u $USER scancelNote: Output files (*.out and *.err) are created in the directory where the job was submitted.
7. Best Practices
- Always execute jobs from /scratch/<your_username>/.
- Do not run computational workloads on the login node.
- Request only the CPUs, memory, GPUs and Walltime required.
- Delete unnecessary files from your scratch partition periodically.
- Monitor jobs regularly using squeue.
- Cancel jobs that are no longer required.
8. Troubleshooting
Permission denied : Verify username/password and SSH access
Job pending : Requested resources may not yet be available
GPU not detected : Ensure you requested GPUs using --gres=gpu:1
Support
For account-related issues, password reset, quota, or job scheduling assistance, contact the GPU Cluster Administration Team (hpcadmin@iitg.ac.in).
