This article provides a step-by-step guide on how to log into the SDSC Comet supercomputer and run a test job. By the end of this guide, you will understand the process of accessing Comet and executing a basic job to ensure your setup is correct.
Before logging into SDSC Comet, ensure you have:
Open Terminal:
Launch your terminal (Linux/Mac) or Command Prompt (Windows with SSH client installed).
your_username
with your actual SDSC username:
ssh your_username@comet.sdsc.edu
If prompted, enter your password.
cd ~
nano
, vim
, or vi
) to create a new job script. For example:
nano test_job.sh
#!/bin/bash
#SBATCH --job-name=test_job # Job name
#SBATCH --output=test_job.out # Output file
#SBATCH --time=00:01:00 # Time limit hrs:min:sec
#SBATCH --partition=compute # Partition name
echo "Hello World from Comet!"
Save and exit the editor.
sbatch
command to submit your job script:
sbatch test_job.sh
squeue
command to see your job in the queue:
squeue -u your_username
test_job.out
to see the results of your job execution:
cat test_job.out
In this guide, you have learned how to log into SDSC Comet, create a test job script, submit the job, and check the job’s status. For further assistance or inquiries, visit the following resources:
For any additional questions, you can contact UCR Research Computing at research-computing@ucr.edu.