Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submitting Jobs Quickbyte #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions submitting_jobs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Submitting jobs
There are two ways you can run your jobs, namely submitting a PBS script and running a job interactively. Either way, jobs are submitted to CARC by the command `qsub`. For more information on available options type `man qsub`
### Submitting the PBS Script to the Batch Scheduler
There are two ways you can run your jobs, namely submitting a slurm script and running a job interactively. Either way, jobs are submitted to CARC by the `sbatch` and `srun` commands respectively. More information about both commands can be found with

`man sbatch`

`man srun`

### Submitting the Slurm Script to the Batch Scheduler
In order to run our simple PBS script, we will need to submit it to the batch scheduler using the command `qsub` followed by the name of the script we would like to run. For more information please see our page on writing a [PBS batch script](www.carc.unm.edu/needtoaddlinkhere).
In the following example, we submit our simple `hello.pbs` script to the batch scheduler using `qsub`. Note that it returns the job identifier when the job is successfully submitted. You can use this job identifier to query the status of your job from your shell.
For example:
Expand Down