Request an account by submitting a helpdesk ticket at help.mst.edu. You may also have your advisor open a ticket to request an account on a research cluster dedicated to the department.
Using a terminal program (eg, PuTTy, secure shell, ssh for a terminal) connect to the host forge.mst.edu using your Missouri S&T SSO ID and password.
Using winscp, scp/sftp from the terminal or your secure shell application to upload any programs, scripts and data files you will need to run your code.
Create a text file that you will use to submit your job. You can upload this as in step 3 or create in place in the terminal with a text editor. An easy to use editor is nano. Here is a quick sample batch script for running a single job with a default resource allocation of 1 CPU running for 10 minutes.
#!/bin/bash #SBATCH --job-name=Change_ME #SBATCH --ntasks=1 #SBATCH --time=0-00:10:00 #SBATCH --mail-type=begin,end,fail,requeue #SBATCH --export=all #SBATCH --out=Forge-%j.out # %j will substitute to the job's id #Now run your executables just like you would in a shell script.
#Slurm will set the working directory as the directory the job was submitted from.
#e.g. if you submitted from /home/blspcy/softwaretesting your job would run in that directory.
#(executables) (options) (parameters) echo "this is a general submission script" echo "I've submitted my first batch job successfully"
For more detail visit the Forge Public Wiki Page.
Assuming you saved the above batch script to batch.sub in your home directory you can submit the job with sbatch like this:
You will see the job id for the job you just submitted and will receive an email when the job starts when it ends, and if it should fail for any reason.
You can check the status of your job in the queue using the squeue command.
squeue -u username